CVE-2026-53582

OPNsense: XPATH Injection can disclose any secret in config.xml

State
Published
Severity
7.1 High
Published
Oct 15, 2026
Updated
Oct 16, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:LGitHub_M

Weaknesses

  • CWE-91 XML Injection (aka Blind XPath Injection)
  • CWE-643 Improper Neutralization of Data within XPath Expressions ('XPath Injection')

Affected Products

ProductVersions
coreopnsense
  • < 26.1.10Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.