CVE-2026-102371

wsl-pro-service: Ubuntu Pro token exposed via process command-line arguments

Published Sep 29, 2026 CVSS 4.0 · 5.7 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The v0.1.19ubuntu3 release of wsl‑pro‑service contains a flaw where the installation token is passed to the pro client as a plain command‑line argument. Because the service runs with root privileges inside WSL and the default /proc exposure settings allow all users to view process command lines, any local, non‑privileged user can read the token while the attach process is executing. With the token, an attacker can attach arbitrary systems to the victim’s Ubuntu Pro subscription, gaining unauthorized access to Ubuntu Pro services.

Affected Systems

Canonical’s Ubuntu Pro for WSL, specifically versions prior to 0.1.19ubuntu3. The vulnerability exists in the service component that runs as root within each WSL instance.

Risk and Exploitability

The vulnerability carries a CVSS score of 5.7, indicating moderate severity, and does not appear in the CISA KEV catalog. EPSS data is not available, but the exploit requires only local access to the same WSL instance and a suitable /proc mount. Attackers need to observe a command line for a short window while the attach operation is in progress. Once the token is obtained, the attacker can use it to first‑party attach any machine to the Ubuntu Pro subscription.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update wsl-pro-service to version 0.1.19ubuntu3 or later, which removes the token from the command line.
  • If an update is not immediately possible, configure the /proc filesystem to hide process command lines by adding the option "hidepid=2" to the mount options to prevent unprivileged users from reading cmdline.
  • As a temporary mitigation, stop or disable wsl-pro-service when it is not needed, ensuring that the token is never passed in a running command line or persisted in memory.

Generated by OpenCVE AI on September 30, 2026 at 02:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8892-1 Ubuntu Pro for WSL vulnerability
History
Type Values Removed Values Added
First Time appeared Canonical
Canonical ubuntu Pro For Wsl
Vendors & Products Canonical
Canonical ubuntu Pro For Wsl
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title wsl-pro-service: Ubuntu Pro token exposed via process command-line arguments
Weaknesses CWE-214
References
Metrics cvssV4_0

{'score': 5.7, 'vector': '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'}

Weaknesses
  • CWE-214

    Invocation of Process Using Visible Sensitive Information

Sources

Status
PUBLISHED
Assigner
canonical
Published
Updated
Sep 30, 2026, 3:28 PM
Reserved
Sep 28, 2026, 11:44 PM
Status
Awaiting Analysis
Published
Sep 29, 2026, 3:17 PM
Modified
Sep 30, 2026, 4:17 PM