CVE-2026-58395 Details
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.
A vulnerability allowing XPath injection has been identified in OPNsense, a FreeBSD-based firewall and routing platform, prior to version 26.1.11. The issue arises in the 'safe-delete' functionality of the API, where an unvalidated delete token from the request URL is interpolated into an XPath expression without proper validation. This flaw is present in 21 different delete endpoints related to Traffic Shaper, DHCP relay, Dnsmasq, Firewall Categories, and Kea DHCP. Exploiting this vulnerability allows a low-privileged user to access and extract configuration data from modules they do not have direct access to, without making any actual changes to the configuration.
Users can update to OPNsense version 26.1.11 or 26.4.1p1, both of which include the necessary fix for this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 15, 2026CISA-ADP
Assessed Oct 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/opnsense/core/security/advisories/GHSA-98h6-479q-9q3w | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/opnsense/core/commit/631e14721b311badc1d3c0d29321e4d42585156b | [email protected] | Source CodeVendor |
| https://github.com/opnsense/core/commit/d7054cef69f72588feac1091254960835be19dfe | [email protected] | Source CodeVendor |
| https://github.com/opnsense/core/security/advisories/GHSA-98h6-479q-9q3w | [email protected] | AdvisoryExploitRemedyVendor |
| https://hackerask.com/posts/opnsense | [email protected] | BundleExploitRemedyTechnical Analysis |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-643 | Improper Neutralization of Data within XPath Expressions ('XPath Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| OPNsense | <= 26.1.10 (semver) <= 26.4.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Oct 15, 2026 | New CVE Received | [email protected] |
Volerion