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

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Published: 2026-10-15T15:08:46.374Z
- Modified: 2026-10-16T18:17:58.227Z
- Weaknesses: CWE-91, CWE-643
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- opnsense core: < 26.1.10

## References

- <https://github.com/opnsense/core/security/advisories/GHSA-xww7-76m6-mh2r>
- <https://github.com/opnsense/core/commit/e2cd067343511252fb0d391a17d82d3ecceece45>
- <https://github.com/opnsense/core/commit/fc2f0d745c17855d2027b192fd4e3fa913e26859>
- <http://seclists.org/fulldisclosure/2026/Jul/18>

## Sources

- CVE List: [CVE-2026-53582](https://www.cve.org/CVERecord?id=CVE-2026-53582), CVE Terms of Use, modified 2026-10-16
- NVD: [CVE-2026-53582](https://nvd.nist.gov/vuln/detail/CVE-2026-53582), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-53582 · Whole record: https://cve.day/CVE-2026-53582.json · Rebuilt by cve.day 2026-11-25T22:59:44.899Z
