CVE-2026-58395
published medium CVSS 3.1 · 4.3OPNsense: XPath injection in MVC safe-delete
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| opnsense | — | core< 26.1.11 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| opnsense | core | < 26.1.11 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-643 CWE-643: Improper Neutralization of Data within XPath Expressions ('XPath Injection')
References
4Provider assertions
2GitHub_M · cna
OPNsense: XPath injection in MVC safe-delete
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f612cefffe33ef0cd8ba97eebd100b16b056ab8432d20074c9bf392a8533910d
- Ingested
- 15 Oct 2026, 20:29:31 UTC
- Source record
- Official CVE record