Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain unprivileged shell in WSL instance
-
DeliveryPoll /proc/<pid>/cmdline for pro attach process
-
ExploitRead plaintext token during attach race window
-
ExecutionReuse token to attach attacker machines
-
ImpactGain unauthorized Ubuntu Pro service access
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | Requires a pre-existing unprivileged local account or process inside the same WSL instance running wsl-pro-service before 0.1.19ubuntu3, AND the /proc filesystem mounted without process-hiding (no hidepid) - which is the WSL default. The attacker must also hit the timing window while the root service is executing 'pro attach <token> --format=json', since the token is only exposed on the command line for the lifetime of that transient process (reflected in AT:P / AC:H). Limiting factors: no remote reachability (local only), prior authenticated foothold in the WSL instance needed, and the race-dependent, short-lived exposure window; enabling hidepid on /proc or upgrading to the patched version (which uses a 0600 temp config file) eliminates the exposure. |
| Impact | This is a genuine but modest-priority local information-disclosure flaw, not a high-severity remote issue. The vendor CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N) scores 5.7 (Medium) and is internally consistent with the description: exploitation is local (AV:L), requires an already-present unprivileged local account inside the WSL instance (PR:L), and depends on a timing race - the attacker can only read /proc/<pid>/cmdline while the transient 'pro attach' process is running (AT:P). Impact is confidentiality-only (VC:H, VI:N/VA:N) because the leaked Ubuntu Pro token grants access to a subscription but does not directly compromise integrity or availability of the host. No EPSS score, no CISA KEV listing, and no public exploit code were provided; per policy this is 'no public exploit identified at time of analysis'. The signals are not conflicting: local-only vector, race-window requirement, and prior local access all point to low real-world exploitability, so despite the sensitive nature of the token this is a lower-priority hardening fix rather than an urgent emergency. Patch availability is confirmed (Canonical PR #1816 / commit 11c164a3), which is the strongest mitigation signal. |
| Exploit ScenarioDerived | An unprivileged local user or process already running inside a WSL instance repeatedly polls /proc/<pid>/cmdline for the wsl-pro-service child process; when the root service invokes 'pro attach <token> --format=json' during Ubuntu Pro enrollment, the full command line - including the plaintext token - is briefly world-readable because WSL mounts /proc without hidepid by default. The attacker captures the token and reuses it to attach attacker-controlled machines to the victim's Ubuntu Pro subscription. No public exploit code was identified, and success depends on winning the race against the short-lived attach process. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 29, 2026
Local information disclosure in the wsl-pro-service component of Ubuntu Pro for WSL (versions before 0.1.19ubuntu3) lets any unprivileged user or process sharing a WSL instance read the Ubuntu Pro attach token while the root-run service executes pro attach <token> --format=json; the token sits in cleartext in /proc/<pid>/cmdline, which remains world-readable in WSL because /proc is mounted without hidepid. Because the token is a bearer credential for the subscription, an attacker who wins the short race window can attach their own machines to the victim's Ubuntu Pro subscription and consume its entitlements and services. Exploitation requires a pre-existing local account inside the WSL instance, the WSL-default (non-hardened) /proc mount, and precise timing against a transient process - no public exploit identified at time of analysis, and no evidence of active exploitation.
RemediationAI
Vendor-released patch: upgrade wsl-pro-service to 0.1.19ubuntu3 or later, which is the version that removes the token from the command line by passing it through a 0600 temporary YAML file to pro attach --attach-config (see https://ubuntu.com/security/CVE-2026-102371 and PR https://github.com/canonical/ubuntu-pro-for-wsl/pull/1816, commit 11c164a37b806bcf2a2304beb0d65e406739778b); refresh the package inside each WSL instance and restart the wsl-pro service. Verify that the shipped systemd unit retains PrivateTmp=yes, since the fix depends on /tmp being namespaced - if a local override disables it, the temp file becomes readable by other users on the instance and the upgrade alone does not fully close the exposure. Where upgrading is not immediately possible, mount /proc with hidepid=2 (or hidepid=invisible for older kernels) inside the WSL instance so unprivileged users cannot read other processes' cmdline; this blocks the read but breaks peer-process introspection used by tools such as ps/top for other UIDs and by some monitoring or debugging agents, and it must be reapplied after the WSL /proc mount is re-created. Additionally, restrict the number of unprivileged accounts in affected instances and treat any token that may have been exposed during an attach as compromised - detach and re-attach with a freshly issued token after patching, since a leaked token remains valid for the subscription until revoked.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is an instance of CWE-214 (Invocation of Process Using Visible Sensitive Information): wsl-pro-service, running as root inside each WSL instance, attached the instance to Ubuntu Pro by spawning the pro client with the secret token as a command-line argument. On Linux, argv contents of every running process are exposed at /proc/<pid>/cmdline, and visibility is governed by the /proc mount options - unless hidepid=1/2 (or an equivalent process-hiding mitigation) is set, any local UID can read that file for any process. WSL mounts /proc without hidepid by default, so the token was readable for the lifetime of the transient pro attach process. The assessed vector (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N, matching the published CVSS 4.0 AT:P/AC:L with VC:H only) reflects that confidentiality of the subscription credential is fully compromised once the race is won, while integrity and availability of the local system are not affected. The upstream fix (PR canonical/ubuntu-pro-for-wsl#1816, commit 11c164a3) stops passing the token on the command line: it serializes the token into an ephemeral YAML document, writes it to a 0600 file created with os.CreateTemp under /tmp (proAttachTmpDir), passes that path via pro attach --attach-config <file> --format=json, and removes the file afterward; the design further relies on the systemd PrivateTmp=yes setting configured for wsl-pro.service so that /tmp lives in a private mount namespace invisible to other users of the instance.
Know when Ubuntu Pro For Wsl gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Local access with a pre-existing unprivileged account (AV:L/PR:L); AC:H reflects the race against the short-lived attach process; token disclosure is confidentiality-only (C:H, I/A:N).
Primary rating from Vendor (canonical).
CVSS VectorVendor: canonical
DescriptionCVE.org
In wsl-pro-service before 0.1.19ubuntu3, the service component which runs as root inside each WSL instance attaches the instance to Ubuntu Pro by executing the pro client with the Ubuntu Pro token passed as a command-line argument (pro attach <token>). On systems where /proc is mounted without process-hiding mitigations (such as hidepid), which is the default in WSL, an unprivileged local user or process in the same WSL instance can read the token from /proc/<pid>/cmdline while the attach process is running. The leaked token could then be used to attach other machines to the victim's Ubuntu Pro subscription and gain unauthorized access to Ubuntu Pro services.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
EUVD-2026-88962
GHSA-j32v-fr72-w8fv
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB