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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-58393— OPNsense: OpenVPN Client Specific Override common_name allows path traversal in generated CSO files

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 版本之前,OpenVPN 客户端特定覆盖(Client Specific Override)配置中的 common_name 字段会接受路径遍历序列,而函数 openvpn_csc_conf_write() 会未经规范化或未进行 basename 检查,直接将该值拼接到路径 /var/etc/openvpn-csc/<vpnid>/<common_name> 中。受影响的代码位置包括 client_connect.php 和 us

CVSS 5.9 · Medium

Possible ATT&CK Techniques 1 AI

T1564 · Hide Artifacts

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-58393

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: OpenVPN Client Specific Override common_name allows path traversal in generated CSO files
Source: CVE Program / CVE List V5
Vulnerability Description
OPNsense is a FreeBSD based firewall and routing platform. Prior to version 26.1.11, the OpenVPN Client Specific Override common_name field accepts path traversal sequences and openvpn_csc_conf_write() concatenates the value into /var/etc/openvpn-csc/<vpnid>/<common_name> without normalization or a basename check. The affected event handlers are client_connect.php and user_pass_verify.php. An authenticated user with Client Specific Override privileges can store the traversal value, and a matching OpenVPN client-connect or authentication event causes a generated CSO file to be written outside the intended directory. The file content is generated OpenVPN configuration rather than arbitrary bytes, and practical exploitation requires the attacker to cause a matching common name or username to be processed. This issue is fixed in version 26.1.11.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
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-58393

# 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-58393

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

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

Vendor Advisories for CVE-2026-58393 (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-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
CVE-2026-58395 4.3 MEDIUM OPNsense: XPath injection in MVC safe-delete

IV. Related Vulnerabilities

V. Comments for CVE-2026-58393

No comments yet


Leave a comment