CVE-2026-123025

OS Command Injection in OPNsense os‑acme‑client Allows Root Execution via Google Cloud DNS Validation

Published Nov 5, 2026 CVSS 4.0 · 9.4 Critical EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

An OS Command Injection flaw was found in the Google Cloud DNS validation path of the OPNsense os‑acme‑client plugin through version 4.17. The code string fields gcloud_account and gcloud_project are decoded and placed directly into a shell command that is then executed by proc_open() without validation or escaping. When triggered, the flaw permits a user who can issue or renew certificates via the WebGUI/API to run arbitrary commands with root privileges, compromising the entire system. This bug represents a high‑severity full control over the host.

Affected Systems

Vulnerable versions are the OPNsense os‑acme‑client plugin as distributed with OPNsense up to and including 4.17. Affected users are those who employ the Google Cloud DNS validation method in their certificate automation workflow.

Risk and Exploitability

The CVSS score of 9.4 classifies this as critical, and while the EPSS score is currently unavailable, the flaw remains a high‑risk target for exploitation. It is not yet listed in CISA’s KEV catalog. Attackers require authenticated access to the WebGUI or API with permissions to issue or renew certificates, after which they can execute arbitrary shell commands as root. The attack vector is thus remote, authenticated, and depends on administrative credentials rather than needing open network ports or unauthenticated access.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the OPNsense os‑acme‑client plugin to version 4.18 or later.
  • Revoke or remove the Google Cloud DNS validation method from certificates that are being issued or renewed, and manually issue certificates if immediate patching is impossible.
  • Limit the privileges of any user accounts that are allowed to trigger certificate issuance or renewal through the WebGUI/API so that they cannot access the vulnerable functionality until a patch is applied.

Generated by OpenCVE AI on November 5, 2026 at 07:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Opnsense
Opnsense os-acme-client
Vendors & Products Opnsense
Opnsense os-acme-client
Type Values Removed Values Added
Title OS Command Injection in OPNsense os‑acme‑client Allows Root Execution via Google Cloud DNS Validation
Type Values Removed Values Added
Description 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.
Weaknesses CWE-78
References
Metrics cvssV4_0

{'score': 9.4, 'vector': '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'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Nov 10, 2026, 1:55 PM
Reserved
Nov 5, 2026, 6:29 AM
Status
Awaiting Analysis
Published
Nov 5, 2026, 7:17 AM
Modified
Nov 12, 2026, 10:09 PM