CVE-2026-53582: OPNsense: XPATH Injection can disclose any secret in config.xml

CVE-2026-53582 affects 236 listed versions of OPNsense in the Dawnsentry catalogue.

7.1CVSS high
None knownexploitation
under 1%EPSS (next 30 days)
15 October 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

OPNsense

236 of 250 listed versions are affected. Fixed in 26.1.10. The newest release, 26.7.10, is not affected.

26.1.9 26.1.8 26.1.7 26.1.6 26.1.5 26.1.4 26.1.3 26.1.2 26.1.1 26.1 25.7.11 25.7.10 25.7.9 25.7.8 25.7.7 25.7.6 25.7.5 25.7.4 25.7.3 25.7.2 25.7.1 25.7 25.1.12 25.1.11 25.1.10 25.1.9 25.1.8 25.1.7 25.1.6 25.1.5 25.1.4 25.1.3 25.1.2 25.1.1 25.1 24.7.12 24.7.11 24.7.10 24.7.9 24.7.8 24.7.7 24.7.6 24.7.5 24.7.4 24.7.3 24.7.2 24.7.1 24.7 24.1.10 24.1.9 24.1.8 24.1.7 24.1.6 24.1.5 24.1.4 24.1.3 24.1.2 24.1.1 24.1 23.7.12 and 176 more

What it is

OPNsense is a FreeBSD based firewall and routing platform. Prior to version 26.1.10, the Trust module stores attacker-controlled certificate authority and certificate refid values and interpolates them into XPath expressions in src/opnsense/mvc/app/models/OPNsense/Trust/FieldTypes/CAsField.php and src/opnsense/mvc/app/models/OPNsense/Trust/FieldTypes/CertificatesField.php. A user with CA Manager or Certificate Manager privileges can submit a crafted refid and repeatedly retrieve the object to obtain a boolean refcount oracle, allowing values in config.xml to be recovered character by character. Exposed values can include password hashes, API credentials, certificate private keys, VPN key material, and high-availability credentials, enabling privilege escalation and compromise of other security domains. This issue is fixed in version 26.1.10.

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:L (GitHub)

Published by GitHub on 15 October 2026. Last changed 16 October 2026.

Sources

Check one version you run: look CVE-2026-53582 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.