External risk intelligence

OPNsense os-acme-client OS Command Injection Vulnerability

CVE advisorySeverity: CRITICAL (CVSS 9.4)

CVE-2026-123025

The vulnerability exists in a plugin for OPNsense, which is a firewall and routing appliance typically deployed at the edge of a network. The affected functionality is accessible via the WebGUI or API used to manage these edge services, making it a commonly reachable surface for those with authorized access to the administrative interface.

OS Command Injection

Halo Surface Signal: 4 out of 5 — likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

An OS command injection vulnerability has been identified in the Google Cloud DNS validation module within the OPNsense os-acme-client plugin. This issue allows a remote, authenticated user with privileges to manage certificates to execute arbitrary code as root on the affected system. The vulnerability stems from improper validation of user-supplied input before it is used in shell commands.

  • Command injection flaw in DNS validation.
  • Affects remote certificate management.
  • Confirm plugin relevance and exposure.

Attack Path

How an attacker could exploit the issue

An attacker can exploit this vulnerability by leveraging their authenticated access to the OPNsense WebGUI or API, specifically within the os-acme-client plugin. By manipulating the 'dns_gcloud_key' field, an attacker can inject malicious commands that are directly executed by the system through unescaped interpolation into a shell command, leading to root-level code execution.

  • Requires authenticated access to the WebGUI/API.
  • Triggered by crafting specific input for the 'dns\_gcloud\_key'.
  • Allows arbitrary code execution as root.

Live Threat

Current exploitation, exposure, and threat context

This vulnerability could allow a remote authenticated user with privileges to manage certificates to execute arbitrary code as root on the affected system. This is possible because the system directly interpolates sensitive fields into a shell command without proper validation or escaping, when supported by the advisory.

  • Root code execution.
  • Authenticated user actions.
  • Compromise of the system.

Operational Fix

Recommended remediation, mitigation, and detection steps

This critical OS command injection vulnerability in the OPNsense os-acme-client plugin impacts organizations using OPNsense for firewall and routing. Responsibility likely falls to the platform or infrastructure team managing OPNsense, in coordination with the security team for exposure assessment and the vendor-management team if the plugin is obtained from a third party. The immediate priority is to identify all OPNsense instances running the affected plugin, confirm administrative access, and then plan remediation, potentially involving vendor coordination or temporary risk reduction measures based on business criticality and exposure.

  • Platform/infrastructure teams own remediation.
  • Verify OPNsense instances and administrative access.
  • Plan risk-based remediation, including vendor coordination.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is the OPNsense os-acme-client plugin?

The os-acme-client is an OPNsense plugin used to automate SSL/TLS certificate management. By integrating with various DNS providers, including Google Cloud DNS, it allows firewall and routing appliances to automatically issue and renew certificates via the Let's Encrypt service.

What does OS command injection mean for CVE-2026-123025?

This vulnerability is classified as CWE-78, which involves improper neutralization of special elements used in an OS command. In this case, the plugin fails to sanitize user input in the Google Cloud DNS configuration fields. Because these fields are inserted directly into shell commands, the system accidentally executes any malicious commands provided by an authenticated user, granting them total control as root.

How is this vulnerability triggered in the plugin?

An attacker triggers this flaw by manipulating the dns_gcloud_key model field within the plugin's configuration via the WebGUI or API. The bug occurs because the system processes these specific fields without validation. It is important to note that this requires valid authentication to access the management interface; the bug is not triggered by public traffic hitting the firewall's WAN interface.

Is my OPNsense instance at risk?

According to Halo Surface Signal, this risk is relevant if you use the os-acme-client with Google Cloud DNS. Because OPNsense is often deployed at the network edge, the administrative WebGUI or API interface is a primary surface for this issue. If your management interface is reachable over the network, authorized users—or potentially unauthorized users who have compromised an account—could exploit this to gain root access.

How should I respond to this threat?

If you use the affected plugin, identify all OPNsense instances currently running it. Prioritize reviewing the configuration of your Google Cloud DNS settings. Because this is a critical vulnerability allowing root-level execution, coordinate with your infrastructure team to assess if the plugin is strictly necessary and consider disabling it or restricting access to the management interface until you can apply official updates.

References