What’s Vulnerable › Vulnerabilities
CVE-2026-53582: OPNsense: XPATH Injection can disclose any secret in config.xml
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-15 · updated 2026-10-16
- Weakness: CWE-91
Description
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.
Affected products
- opnsense core: before 26.1.10
References
- https://github.com/opnsense/core/commit/e2cd067343511252fb0d391a17d82d3ecceece45
- https://github.com/opnsense/core/commit/fc2f0d745c17855d2027b192fd4e3fa913e26859
- https://github.com/opnsense/core/security/advisories/GHSA-xww7-76m6-mh2r
- http://seclists.org/fulldisclosure/2026/Jul/18
Get alerted when CVE-2026-53582 or the next vulnerability affects your stack