XPath Injection in Opnsense Core
CVE-2026-58395
OPNsense is a FreeBSD based firewall and routing platform. Prior to version 26.1.11, the safe-delete path reached through ApiMutableModelControllerBase::delBase() interpolates an unvalidated safe-delete token from the request URL into an XPath expression over config.xml before confirming that the token is a valid identifier. A user holding any one affected module privilege can send a crafted token to one of 21 affected delete endpoints covering Traffic Shaper, DHCP relay, Dnsmasq, Firewall Category, or Kea DHCP, causing the XPath to match configuration data across modules. The resulting error response exposes configuration item names, descriptions, reference paths, and UUIDs and provides an XPath substring-presence oracle, including for modules the user cannot otherwise access. The request does not modify configuration or perform a deletion. This issue is fixed in version 26.1.11.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
- Opnsense Core — versions < 26.1.11
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-58395?
- CVE-2026-58395 is a medium-severity vulnerability in Opnsense Core, classified under Improper Neutralization of Data within XPath Expressions (XPath Injection). CVSS score: 4.3/10. Published 2026-10-15.
- How severe is CVE-2026-58395?
- Medium severity. CVSS v3 base score is 4.3 out of 10.