Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-58395— OPNsense: XPath injection in MVC safe-delete

Quick assessment

Affected
opnsense core
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

OPNsense 是一个基于 FreeBSD 的防火墙和路由平台。在 26.1.11 版本之前,通过 方法触发的 safe-delete(安全删除)路径,会在确认令牌为有效标识符之前,将来自请求 URL 的未经验证的 safe-delete 令牌插值到对 执行的 XPath 表达式中。拥有任一受影响模块权限的用户可以发送精心构造的令牌至 21 个受影响的删除端点之一,这些端点涵盖 Traffic Shaper(流量整形器)、DHCP 中继、Dnsmasq、防火墙类别或 Kea DHCP。这会导致 XPath 匹配跨

CVSS 4.3 · Medium EPSS 0.36% · P28

Affected Version Matrix 1

VendorProduct Version RangeStatus
opnsense core < 26.1.11 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-58395

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
OPNsense: XPath injection in MVC safe-delete
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
XPath表达式中数据转义处理不恰当(XPath注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
opnsense core < 26.1.11 -

II. Public POCs for CVE-2026-58395

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-58395

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-58395 (2)

Vendor Advisories for CVE-2026-58395 (1)

Security Blog Posts for CVE-2026-58395 (1)

Same Patch Batch · opnsense · 2026-10-15 · 10 CVEs total

CVE-2026-57155 9.9 CRITICAL OPNsense: Root RCE via Arbitrary File Write in GeoIP Alias Importer
CVE-2026-63442 8.1 HIGH OPNsense: Log Forgery via Login Username CRLF in WebGUI Authentication → Pf Table IP Block
CVE-2026-58390 8.0 HIGH OPNsense: Stored XSS to root RCE via OpenVPN client common_name in status views
CVE-2026-53582 7.1 HIGH OPNsense: XPATH Injection can disclose any secret in config.xml
CVE-2026-71490 7.1 HIGH OPNsense: Direct comma-separated user privileges bypass OPNsense MVC read-only write prote
CVE-2026-58393 5.9 MEDIUM OPNsense: OpenVPN Client Specific Override common_name allows path traversal in generated
CVE-2026-58391 5.4 MEDIUM OPNsense: Stored XSS in Firewall Rules/NAT pages via a HTML-attribute breakout
CVE-2026-58392 5.4 MEDIUM OPNsense: Stored XSS in Services: NTP GPS
CVE-2026-58394 5.2 MEDIUM OPNsense: Stored XSS in Administration Settings via Certificate Description

IV. Related Vulnerabilities

V. Comments for CVE-2026-58395

No comments yet


Leave a comment