Skip to main content

CVE-2026-58395: CWE-643: Improper Neutralization of Data within XPath Expressions ('XPath Injection') in opnsense core

0
Medium
VulnerabilityCVE-2026-58395cvecve-2026-58395cwe-643
Published: 10/15/2026 (10/15/2026, 15:16:49 UTC)
Source: CVE Database V5
Vendor/Project: opnsense
Product: core

Description

CVE-2026-58395 is an XPath Injection vulnerability in OPNsense core prior to version 26.1.11. It allows a user with certain module privileges to send crafted tokens to delete endpoints, causing XPath queries to expose configuration data across multiple modules. The vulnerability does not allow modification or deletion of configuration but leaks sensitive configuration details. This issue is fixed in version 26.1.11.

CVSS v3.1

Score 4.3medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected software

opnsense

core

Affected versions
<26.1.11
GitHub Actionsmore threats →ai
opnsense/core
pkg:github/opnsense/core
Affected versions
<26.1.11

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/15/2026, 15:48:27 UTC

Technical Analysis

OPNsense core versions before 26.1.11 contain an XPath Injection vulnerability (CWE-643) in the safe-delete path accessed via ApiMutableModelControllerBase::delBase(). An unvalidated safe-delete token from the request URL is interpolated into an XPath expression over config.xml before validation, allowing a user with any one affected module privilege to craft tokens that cause the XPath to match configuration data across 21 affected delete endpoints. These endpoints cover modules such as Traffic Shaper, DHCP relay, Dnsmasq, Firewall Category, and Kea DHCP. The vulnerability results in error responses that expose configuration item names, descriptions, reference paths, and UUIDs, effectively providing an XPath substring-presence oracle, including for modules the user cannot otherwise access. No configuration changes or deletions occur. The vulnerability is resolved in version 26.1.11.

Potential Impact

An attacker with limited privileges in any one affected module can exploit this vulnerability to gain read-only access to sensitive configuration data across multiple modules, including those they do not have access to. This exposure includes configuration item names, descriptions, reference paths, and UUIDs. There is no impact on configuration integrity or availability, as no modifications or deletions are performed.

Mitigation Recommendations

This vulnerability is fixed in OPNsense core version 26.1.11. Users should upgrade to version 26.1.11 or later to remediate this issue. No other mitigation is required as the fix addresses the root cause.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-30T18:19:58.378Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ad0f2722cdf04f65640952c

Added to database: 10/15/2026, 15:34:11 UTC

Last enriched: 10/15/2026, 15:48:27 UTC

Last updated: 10/15/2026, 15:48:27 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses