Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to OPNsense WebGUI/API with cert privileges
-
DeliveryInject shell metacharacters into gcloud_account/gcloud_project field
-
ExploitTrigger certificate issuance or renewal
-
ExecutionUnescaped string interpolated into gcloud command via proc_open()
-
ImpactArbitrary code execution as root
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the OPNsense os-acme-client plugin (through 4.17) be configured to use the Google Cloud DNS validation method (DNS-01 via gcloud), and that the attacker be a remote authenticated user holding WebGUI/API privileges to issue or renew certificates (CVSS PR:L). The injectable surface is specifically the gcloud_account and gcloud_project string fields of the dns_gcloud_key model, which DnsGcloud::prepare() interpolates unescaped into a shell command; execution occurs when a certificate issuance or renewal runs. Limiting factors: authentication with certificate privileges is mandatory, and the Google Cloud DNS validation path must be enabled and exercised - environments using other DNS providers or validation methods are not reached by this specific code path. No user interaction beyond the attacker's own configuration/renewal action is required. |
| Impact | This is a genuine high-priority issue, not a CVSS-inflated one. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) with full high impact to both the vulnerable system (VC:H/VI:H/VA:H) and subsequent systems (SC:H/SI:H/SA:H) is consistent with the description: a remote, low-privileged but authenticated WebGUI/API user gains arbitrary code execution as root on a firewall appliance. The vuln.today Decision label is act_now, reinforcing urgency. However, the signals are mixed on breadth of exploitation: there is no CISA KEV listing (no active exploitation confirmed), no EPSS probability was supplied, and no public exploit or PoC reference is present - the only reference is the vendor fix PR itself. The one meaningful limiting factor is PR:L: the attacker must already hold authenticated accounts/certificate privileges in the OPNsense ACME client, and the Google Cloud DNS (DNS-01) validation method must be in use for the injectable gcloud_account/gcloud_project fields to reach the shell. So the realistic risk is high impact (root on a security appliance) but gated behind an authenticated, specific-configuration prerequisite rather than default remote-unauthenticated exposure. Absence of EPSS/KEV data means the likelihood dimension cannot be fully quantified from the provided inputs. |
| Exploit ScenarioDerived | An authenticated OPNsense user with certificate issue/renew privileges who uses the Google Cloud DNS (DNS-01) validation method sets a malicious value containing shell metacharacters in the gcloud_account or gcloud_project field of the ACME account configuration. When a certificate is subsequently issued or renewed, DnsGcloud::prepare() decodes the key and interpolates these strings unescaped into a gcloud command executed via proc_open()/LeUtils::run_shell_command(), running attacker-controlled commands as root. Given AV:N/AC:L, triggering is straightforward once the attacker has the required account access; no public PoC or exploit code was identified in the provided data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
Authenticated command injection in the OPNsense os-acme-client plugin (through 4.17) lets a user who can issue or renew certificates through the WebGUI/API run arbitrary commands as root on the firewall. The DnsGcloud::prepare() method takes the gcloud_account and gcloud_project values from the dns_gcloud_key model and interpolates them unescaped into gcloud shell commands executed via proc_open(), so crafted field contents execute when a Google Cloud DNS (DNS-01) validation run starts. Reaching the flaw requires the Google Cloud DNS validation method to be configured and the attacker to hold certificate-management privileges; the recent plugin release 4.18 replaces the raw interpolation with Shell::exec_safe(), and no public exploit code was identified at time of analysis. The vendor fix is available and the prioritizing decision is act_now.
RemediationAI
Upgrade the os-acme-client plugin to version 4.18, which replaces the unescaped interpolation in DnsGcloud::prepare() with Shell::exec_safe() calls and makes the formerly required field optional (see https://github.com/opnsense/plugins/pull/5873); the advisory text in the same PR records the fix for the Google Cloud DNS command injection. Note that 4.18 also carries a breaking change for the Selfhost DNS API, where credentials must be re-entered after the switch to API-key authentication, so schedule the update with that in mind. Where an immediate upgrade is not possible, remove or stop using the Google Cloud DNS validation method on any certificate entry and switch that certificate to a different DNS provider or to another validation method, which eliminates the injectable path at the cost of changing how the certificate is validated. Additionally restrict WebGUI and API access with certificate issuance/renewal privileges to trusted administrators, since the flaw requires authenticated access with those rights.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
os-acme-client is the OPNsense plugin that wraps acme.sh to automate ACME certificate issuance and renewal, including DNS-01 validation through many DNS providers. Its validation classes extend a common LeValidation base; DnsGcloud implements the Google Cloud DNS path by invoking /usr/local/bin/gcloud with subcommands that create and activate a named configuration, activate a service account key file, and set the account and project. In versions through 4.17 those command strings were assembled by direct PHP string interpolation and handed to LeUtils::run_shell_command(), which ultimately uses proc_open() to spawn a shell, so any shell metacharacters in the model fields were interpreted by the shell. The vulnerability is CWE-78 (OS Command Injection), and because the plugin runs as root in the OPNsense WebGUI context, injected commands inherit root privileges. The fix in plugin 4.18 routes every gcloud invocation through OPNsense\Core\Shell::exec_safe() with %s placeholders, letting the framework shell-escape each argument instead of concatenating raw strings. The same release also makes the affected model field optional (model version 4.5.0) and carries unrelated DNS provider additions and a breaking Selfhost API-key change. The trigger path is confirmed by the upstream diff; any residual uncertainty concerns only which deployments have the Google Cloud DNS validation method enabled.
Know when Opnsense gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Remote, authenticated low-priv WebGUI/API user (PR:L) with no added complexity (AC:L); code runs as root beyond the web app's authorization scope (S:C) with full C/I/A loss.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
An OS Command Injection vulnerability was discovered in the Google Cloud DNS validation module of the OPNsense os-acme-client plugin through 4.17. The DnsGcloud::prepare() method decodes the dns_gcloud_key model field and directly interpolates the string fields gcloud_account and gcloud_project into a shell command passed to proc_open() via LeUtils::run_shell_command() without any validation or escaping. A remote authenticated user with privileges to issue or renew certificates through the WebGUI/API can achieve arbitrary code execution as root.
Executive ViewAI
A critical vulnerability in the OPNsense os-acme-client plugin (through 4.17) enables users with certificate management privileges to execute arbitrary commands as root on the firewall. Although exploitation requires authenticated access with specific configuration, the potential for full system compromise makes this a high-priority issue for security leadership.
Apply vendor patch (upgrade to os-acme-client 4.18 or later). If unable to patch immediately, disable the Google Cloud DNS validation method and restrict certificate management privileges to trusted users only.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Insecure permissions in the configuration directory (/conf/) of OPNsense Community Edition before 23.7 and Business Edit
DECISO OPNsense 23.1 does not impose rate limits for authentication, allowing attackers to perform a brute-force attack
A command injection vulnerability in the component /api/cron/settings/setJob/ of OPNsense Community Edition before 23.7
A command injection vulnerability in the component diag_backup.php of OPNsense Community Edition before 23.7 and Busines
/ui/cron/item/open in the Cron component of OPNsense Community Edition before 23.7 and Business Edition before 23.4.2 al
OPNsense Community Edition before 23.7 and Business Edition before 23.4.2 was discovered to contain insecure permissions
Insecure permissions exist for configd.socket in OPNsense Community Edition before 23.7 and Business Edition before 23.4
A directory traversal vulnerability in the Captive Portal templates of OPNsense Community Edition before 23.7 and Busine
A Cross-Site Request Forgery (CSRF) in the System Halt API (/system/halt) of OPNsense Community Edition before 23.7 and
OPNsense 19.1 contains a stored cross-site scripting vulnerability that allows authenticated attackers to inject malicio
OPNsense 19.1 contains a stored cross-site scripting vulnerability in the system_advanced_sysctl.php endpoint that allow
OPNsense 19.1 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to inject ma
EUVD-2026-117385
GHSA-g9hg-38vq-jvh9
NVD
CVE.org
EPSS
VulDB
Exploit-DB