EN
FREN
CVE-2026-58390, OPNsense: Stored XSS to root RCE via OpenVPN client common_name in status views
8.0High

CVE-2026-58390 : core · high

CVE-2026-58390 · published on October 15, 2026 at 15:21 · updated on October 20, 2026 at 02:44 · CVSS 3.1, read on November 26, 2026

8.0CVSS score
138sites exposed in our estate
42days since publication
core

The CVSS score measures technical severity, not your exposure. Here: attack remote, with an account, under precise conditions, provided a victim clicks. A high score on software you do not use does not concern you, and a medium score on exposed software still needs fixing.

What this vulnerability allows, plainly. Remote code execution, with an account, from the internet. The attacker runs their own commands on the server.

In practice, for a business:

  • full takeover of the site, content and customer accounts included
  • a backdoor planted that survives the update
  • hosting bills and brand reputation damaged

This software is not part of the general network we measure: it lives on workstations, internal servers or appliances that are not reachable from the internet, unless their port is publicly exposed. That is exactly when exposure becomes real, and it is what we check as soon as a version is readable from outside.

What is the CVE-2026-58390 vulnerability ?

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.

Just before this one, two listings for the same software were published: CVE-2026-134286 (2026-11-21), then CVE-2026-134287 (2026-11-21).

A version range is read like an interval, with the lower bound included and the upper bound excluded, unless the publisher states otherwise. Comparing two version numbers is not comparing two numbers. Each part is read separately, from strongest to weakest, and a maintenance release can fix a vulnerability without changing the major number. This is why a site that announces it is "up to date" can still be vulnerable if its version is earlier than the fix bound. The only way to decide is to read the number actually published by the site, then compare it to the bound. When a site publishes no number, no conclusion is possible, and we record "not assessable" rather than assume a version. A flattering assumption is more dangerous than no answer, because it puts people to sleep. Also beware of branches maintained in parallel. A publisher can fix the same vulnerability on three different branches, with three different numbers, and the published bound applies only to the branch it names.

Which software and version are affected by the CVE-2026-58390 vulnerability ?

  • opnsense core, jusqu'à la version 26.1.11 incluse

The software named above is the one the advisory identifies as vulnerable, along with the affected version range. A range is read as an interval, lower bound included and upper bound excluded, unless the vendor states otherwise. The version published by a site is read from its served files, not from its administration interface, because that is what an attacker sees. A site that declares itself up to date can therefore remain vulnerable if its version is earlier than the fix threshold. Conversely, a backported patch closes the flaw without changing the major number. We therefore never conclude on the sole number displayed by a vendor. When a site publishes no version, we write "not assessable" rather than assume.

Are French sites affected by the CVE-2026-58390 vulnerability ?

The CVE-2026-58390 vulnerability affects Core up to version 26.1.11 inclusive. In the estate we measure, 145 domains expose a readable version of Core, and 138 of them, or 95,2 %, still run a vulnerable version. The other 7 are on a version above the vulnerable bound. The flaw was published on 15 October 2026. It was updated on 20 October 2026. The version reading is dated 26 November 2026. To fix it, Core must be updated beyond version 26.1.11: any later version is not affected by this flaw. A site that stays below that bound keeps the door open, even if the rest of its components is up to date. The catalogue lists 201 flaws on this software since the census began, 147 of them in 2026, the oldest dating from 19 July 2018. The estate figures come from our own reading of the versions the sites serve, not from an estimate: a domain that hides its version is not counted, which makes the total lower than the number of sites that use Core.

≤26.1.111381.01.51.192.52.62.9382.102.11544.34.44.9

How to fix the CVE-2026-58390 vulnerability ?

Fixing is done in a specific order, and that order matters as much as the fix itself. First, identify the version in place, without relying on the administration display, because a number is read in the served files and that is what an attacker sees. Then back up, then update to a version later than the threshold indicated by the publisher. If a direct update is not possible, apply the security patch published for your branch, which closes the flaw without changing major version. Finally verify, by re-reading the number after the operation and confirming that the page that caused the problem still responds. An unverified update is a presumed update. If the software is no longer maintained, the only solid answer is replacement, because an isolated patch on an abandoned branch will not hold against the next flaw. Also consider what surrounds the software. Extensions, modules and themes follow their own schedule, and a core update does not fix a faulty module. Finally, note the date of your fix. It will serve later to prove that the flaw was closed before being exploited.

  1. Identify the installed version of the affected software.
  2. Apply the update that goes beyond the fixed limit published above.
  3. If the update is not possible, disable the component or remove the exposed feature.
  4. Check afterwards that the installed version is well beyond the threshold, using the same command that was used to read it.

Where to find the fix and the proofs for the CVE-2026-58390 vulnerability ?

No public evidence recorded to date. Its absence does not mean nobody exploits it: a successful attack is not published. 3 references published for this flaw, 3 of them shown here. The list starts with what fixes it (commit, patched release, affected code), then the vendor advisory, then public evidence. Each link opens the original source in a new tab.

Other vulnerabilities in the same module

Continue