InfraRunBook
    Back to articles

    CVE-2026-123025: OPNsense os-acme-client OS command injection (Google Cloud DNS) - affected versions and fix

    CVE Advisories
    Published: Nov 5, 2026
    Updated: Nov 5, 2026

    CVE-2026-123025 is an OS command injection in the Google Cloud DNS validation module of the OPNsense os-acme-client plugin, versions through 4.17.0. An authenticated user who can issue or renew certificates can run arbitrary code as root.

    CVE-2026-123025: OPNsense os-acme-client OS command injection (Google Cloud DNS) - affected versions and fix

    At a glance

    • CVE ID(s): CVE-2026-123025
    • Severity: CVSS v4.0 score 9.4, CRITICAL. 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
    • Vendor / product: OPNsense / os-acme-client plugin (FreeBSD)
    • Affected versions: Up to and including 4.17.0 (the record lists the range as 0 through 4.17.0)
    • Fixed / patched versions: Not stated in the advisory - check the vendor page
    • Exploited in the wild: No known exploitation
    • Attack vector: Network. Authentication needed (low privileges: the ability to issue or renew certificates through the WebGUI/API). No user interaction.
    • Published by: mitre, 2026-11-05
    • Official advisory: https://github.com/opnsense/plugins/pull/5873

    What is this vulnerability?

    The os-acme-client plugin adds ACME certificate management (such as Let's Encrypt) to OPNsense. It supports several DNS validation methods. One of them is Google Cloud DNS.

    The flaw is an OS command injection (CWE-78) in that Google Cloud DNS module. The method

    DnsGcloud::prepare()
    decodes the
    dns_gcloud_key
    model field. It then takes two string fields from it,
    gcloud_account
    and
    gcloud_project
    , and places them directly into a shell command. That command is passed to
    proc_open()
    through
    LeUtils::run_shell_command()
    .

    The values are not validated and not escaped. Shell syntax in those fields is therefore interpreted by the shell instead of being treated as plain data.

    How does it affect you?

    A remote, authenticated user who is allowed to issue or renew certificates through the WebGUI or API can run arbitrary code as root on the firewall. The CVSS vector rates confidentiality, integrity and availability impact as high, for both the vulnerable system and subsequent systems.

    A firewall sits at the edge of your network. Root on it means an attacker can read configuration, keys and certificates, change rules, intercept traffic and pivot inward.

    Realistic risk depends on who holds accounts on your firewall. The attacker needs a valid login with certificate privileges. That is a low bar if you have delegated ACME management to several staff or automation accounts. It is a higher bar if only a single trusted admin exists and the management interface is not exposed. Stolen or reused credentials would close that gap.

    The advisory data does not report exploitation in the wild. The issue is newly published, so treat it as urgent anyway.

    Who is affected?

    • Anyone running the os-acme-client plugin at version 4.17.0 or earlier on OPNsense.
    • Risk is highest where the Google Cloud DNS validation method is configured or can be configured.
    • Risk is highest where non-admin users or API keys hold certificate issue/renew privileges.

    The record does not say whether the flaw is reachable when the Google Cloud DNS method is unused. Assume an affected plugin version is at risk until you know otherwise.

    How to check if you are vulnerable

    1. Open the OPNsense web interface and go to the firmware/plugins area. Check whether os-acme-client is installed and note its version.
    2. If the version is 4.17.0 or lower, you are in the affected range.
    3. Open the ACME client's validation methods and check whether any use Google Cloud DNS.
    4. Review which users and API keys hold privileges to issue or renew certificates.
    5. Check the linked pull request for the current state of the fix.

    How to fix and recover

    Fixed versions are not stated in the advisory - check the vendor page. The only reference in the record is the plugins pull request. Look there and in the OPNsense plugin release notes for a release that includes the change. Then update the plugin through the normal OPNsense firmware and plugin update process.

    After updating:

    • Confirm the installed os-acme-client version is higher than 4.17.0 and matches a release the vendor names as fixed.
    • Confirm certificate issuance and renewal still work.

    If you suspect someone abused this flaw, treat the firewall as compromised:

    • Review the system and web/API logs for certificate issue or renew actions from unexpected accounts or addresses.
    • Inspect the Google Cloud DNS account and project values in the ACME settings for unusual content, such as shell characters.
    • Rotate admin passwords, API keys and secrets stored on the firewall, including DNS provider credentials and ACME account keys.
    • Reissue certificates whose private keys were on the device.
    • Check for unexpected users, scheduled tasks and changed firewall rules.
    • If you cannot establish a clean state, restore a known-good configuration backup on a freshly installed system.

    Workarounds and mitigations

    The advisory lists no workarounds. These general steps reduce exposure until you can update:

    • Limit certificate issue/renew privileges to the fewest trusted accounts. Remove them from everyone else.
    • Revoke or rotate API keys that do not need ACME access.
    • Restrict WebGUI and API access to a management network or VPN. Do not expose it to the internet.
    • Require strong passwords and multi-factor authentication where available.
    • If you do not use the Google Cloud DNS method, remove any such configured entries. This may not fully remove the risk, since the record does not describe reachability.
    • If you do not need the plugin, uninstall it.

    What to monitor

    • Logins and API calls to the ACME client from unusual accounts or source addresses.
    • Changes to the Google Cloud DNS account or project fields, especially odd characters or unusually long values.
    • Unexpected processes started by the web service, and outbound connections from the firewall that you do not recognise.
    • New users, API keys, cron jobs or changed firewall rules.
    • Certificate issuance or renewal events you did not request.
    • Updates to the linked pull request and OPNsense release notes, so you learn the fixed version quickly.

    References

    Frequently Asked Questions

    Is CVE-2026-123025 exploited in the wild?

    No known exploitation. The record does not list it as exploited, and it is not marked as being in CISA's KEV catalog.

    Which os-acme-client versions are affected?

    Versions up to and including 4.17.0.

    What is the fixed version?

    Not stated in the advisory - check the vendor page. The only reference is the OPNsense plugins pull request 5873.

    Do I need to be logged in to exploit it?

    Yes. The attacker needs an account with privileges to issue or renew certificates through the WebGUI or API. No user interaction is required.

    What is the impact?

    Arbitrary code execution as root on the firewall, rated CVSS 9.4 (critical).

    Related Articles

    CVE-2026-123903: VMware vCenter Server authentication bypass - affected versions and fix

    CVE-2026-123903 is a critical (CVSS 9.8) authentication bypass in the VMware Directory Service used by VMware vCenter Server. Broadcom lists fixed releases for vCenter 9.1, 9.0 and 8.0, VMware Cloud Foundation 5.x and the Telco Cloud products.

    CVE-2026-123910, CVE-2026-123911, CVE-2026-123912: VMware ESX critical I/O filter and XHCI flaws - affected versions and fix

    Broadcom disclosed three critical VMware ESX flaws: two in the I/O filter service (CVSS 9.8, network-reachable, no authentication) and one in the XHCI USB controller (CVSS 9.3). Fixed builds are available for ESX 9.1, 9.0 and 8.0, VCF 5.x and Telco Cloud Platform.

    CVE-2026-136412: OpenResty stream-lua-nginx-module use-after-free via receiveuntil() - affected versions and fix

    CVE-2026-136412 is a use-after-free in OpenResty stream-lua-nginx-module before 0.0.20rc4. A garbage-collected receiveuntil() iterator can leave a stale pointer that crashes or corrupts the nginx worker. Upgrade to 0.0.20rc4 or later.

    CVE-2026-123172: SolarWinds Serv-U privilege escalation to root on Linux - affected versions and fix

    CVE-2026-123172 is a privilege escalation flaw in SolarWinds Serv-U 2026.3 and earlier. It can lead to root on Linux installs, and the risk is lower on Windows. SolarWinds fixed it in Serv-U 2026.4.

    CVE-2026-82321 and 7 more: SolarWinds Serv-U privilege escalation flaws - affected 2026.3 and below, fixed in 2026.4

    SolarWinds disclosed eight privilege escalation flaws in Serv-U 2026.3 and earlier. Each lets a domain administrator or higher gain more access. SolarWinds fixed all eight in Serv-U 2026.4. No exploitation is known.

    CVE-2026-134624: N-able MailAssure (SpamExperts) SSRF in relay LDAP sync check - affected versions and fix

    CVE-2026-134624 is a server-side request forgery flaw in N-able MailAssure (SpamExperts) before 20261121.1943. An authenticated API user can make the server probe internal hosts and ports and send crafted data to internal services. It is listed in CISA KEV.

    CVE-2026-123025: OPNsense os-acme-client OS command injection