OPNsense: Stored XSS to root RCE via OpenVPN client common_name in status views
CVSS score
8.0
EPSS probability
—
Risk score
0.8
Published
15 h ago
Resmî kaynaklarda yeterli kanıt bulunamadı. Bu sonuç “yama yok” anlamına gelmez.
Impact on My Inventory
Only the personal products you have added to your account are assessed; an organisation's inventory does not appear here.
Checking session…
Vulnerability description
CVE AI research
DayBreach AI Explanation
Verified against sourcesSources read
2
Source agreement
Tam uyum
Evidence confidence
%63
Short explanation
Prior to Omissions core version 26.1.11, a stored XSS vulnerability exists in OpenVPN status views because client common_name values are placed into data-common-name attributes without quote-safe encoding. This flaw can allow an authenticated user to execute scripts in an administrator session and achieve root command execution.
This vulnerability allows attackers to compromise an administrator session via an OpenVPN client common name, read config.xml, invoke privileged APIs, and obtain root command execution.
What should be done?
- Follow the vendor advisory to apply necessary updates.
- Upgrade the software version to the fixed release.
Chain of evidence and sources
OPNsense çekirdek sürüm 26.1.11 öncesinde, OpenVPN durum görünümlerindeki ortak ad öznitelikleri tırnak güvenli kodlama içermez.
Sömürü, RADIUS veya LDAP kimlik doğrulaması ile yapılandırılmış bir OpenVPN sunucusu ve tırnak içeren kullanıcı adı gerektirir.
Enjekte edilen betik, yöneticinin sayfayı açması ve olayın tetiklenmesiyle config.xml dosyasını okuyabilir ve root yetkileri elde edebilir.
Show the technical text from the sources
OPNsense is a FreeBSD based firewall and routing platform. Prior to version 26.1.11, the OpenVPN connection-status dashboard widget in src/opnsense/www/js/widgets/OpenVPNClients.js and the connection-status view place a client common_name into data-common-name attributes without quote-safe encoding. Exploitation requires an OpenVPN server configured with username-as-common-name and RADIUS or LDAP authentication, plus the ability to provision or self-register a valid backend username containing a double quote; deployments where the same administrator controls both the identity backend and firewall do not cross a separate trust boundary. An authenticated client using that username can close the attribute and add an event handler, while the local user database is not affected because its username validator rejects quotes. Script executes in an administrator's session when the administrator opens the dashboard or connection-status page and the injected event is triggered; the demonstrated payload used pointer movement over the client row rather than unconditional page-load execution. The advisory demonstrates that the script can read config.xml, invoke privileged APIs, reset the root password, and obtain root command execution. This issue is fixed in version 26.1.11.
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
CWE: CWE-79
Explanation produced with the local gemini-flash-lite-latest model. Numerical metrics and the KEV, patch and exploit statuses are not determined by AI.
IMPACT: Affected Products and Software
Affected Products
The following products are affected by CVE-2026-58390 vulnerability. Where our threat engine knows the exact affected versions, they are listed below.
| ID | VENDOR | PRODUCT | ACTION |
|---|---|---|---|
| 1 | opnsense | core | View |
RED HAT CSAF/VEX: Product Impact Check
SCORING: CVSS from Multiple Sources
CVSS Scores
The Common Vulnerability Scoring System is a standardised framework for assessing the severity of vulnerabilities in software and systems. We collect and display CVSS scores from several sources for each CVE.
| SCORE | VERSION | SEVERITY | VECTOR | SOURCE |
|---|---|---|---|---|
| 8.0 | CVSS V31 | HIGH | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H | NVD |
| 8.0 | CVSS V3_1 | HIGH | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H | CVE CNA |
Patch and Remediation Guide
Solution & Remediation Advisory
İncelenen resmî kaynaklarda yama durumu doğrulanamadı. Bu sonuç “yama yok” anlamına gelmez.
Public exploit and active exploitation status
Verified exploit intelligence
No verified public PoC, exploit repository or Metasploit module has been found for this CVE yet.
Weakness Classification and Attack Patterns (CWE & CAPEC)
CWE - Common Weakness Enumeration
While CVE identifies specific instances of vulnerabilities, CWE categorises the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-58390 is associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-58390 weaknesses.
Attack Vector and Accessibility
Official Sources and Advisories
Similar Vulnerabilities
OPNsense: Root RCE via Arbitrary File Write in GeoIP Alias Importer
OPNsense: Log Forgery via Login Username CRLF in WebGUI Authentication → Pf Table IP Blocking
OPNsense: Direct comma-separated user privileges bypass OPNsense MVC read-only write protection
OPNsense: XPATH Injection can disclose any secret in config.xml
OPNsense: OpenVPN Client Specific Override common_name allows path traversal in generated CSO files
OPNsense: Stored XSS in Services: NTP GPS
Get this vulnerability through the API
Affected products, version ranges, exploitation status and patch information in a single request, with a free key.
curl -H "x-api-key: $DAYBREACH_API_KEY" \ "https://api.daybreach.dev/api/v1/intel/cves/CVE-2026-58390"