CVE-2026-58395 PUBLISHED

OPNsense: XPath injection in MVC safe-delete

Assigner: GitHub_M
Reserved: 30.06.2026 Published: 15.10.2026 Updated: 15.10.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CVSS Score: 4.3

Product Status

Vendor opnsense
Product core
Versions
  • Version < 26.1.11 is affected

References

Problem Types

  • CWE-643: Improper Neutralization of Data within XPath Expressions ('XPath Injection') CWE