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_keymodel field. It then takes two string fields from it,
gcloud_accountand
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
- Open the OPNsense web interface and go to the firmware/plugins area. Check whether os-acme-client is installed and note its version.
- If the version is 4.17.0 or lower, you are in the affected range.
- Open the ACME client's validation methods and check whether any use Google Cloud DNS.
- Review which users and API keys hold privileges to issue or renew certificates.
- 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.
