Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid user credentials
-
DeliveryConnect over compressed IPv6 address
-
ExploitStart remote tmux session
-
Executiondeny_remote regex fails to detect session
-
Impactpam_usb authenticates as if local
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization verification
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the optional deny_remote feature be explicitly enabled in the pam_usb configuration (it is not a default-on control), that the target run an affected version (0.8.0 through 0.9.2), and that the attacker already hold valid credentials for the account being authenticated. The attacker must establish a remote tmux session originating from an IPv6 address in compressed notation (loopback ::1, link-local fe80::1, or global unicast such as 2001:db8::1) - the bypass does not apply to IPv4 or to fully-expanded IPv6 addresses, so an IPv4-only environment is not affected. Limiting factors: the control is config-dependent and non-default, valid credentials are needed, and the system must be reachable over IPv6; these narrow realistic risk well below what the raw 7.4 score implies. |
| Impact | This is a genuine but bounded authentication-bypass flaw (CWE-285/CWE-693) in a niche product. The input CVSS of 7.4 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N) rates it High, but the signals pull in different directions and should be read carefully. No EPSS score, no CISA KEV listing, and no PoC/exploit reference are present in the input, so this is: no public exploit identified at time of analysis, and there is no evidence of active exploitation. The vuln.today Decision label is 'this_week', i.e. prioritize but not emergency. A key conflict: the CVSS vector asserts PR:N (unauthenticated), yet the GHSA advisory states the attacker must be 'an attacker with valid credentials who establishes a remote tmux session' - that implies privileges are required, so PR:N likely overstates the attack and PR:L is more defensible (verify with vendor). Also, the deny_remote control that is bypassed is an optional, non-default feature, which further narrows real-world exposure beyond what AV:N/PR:N suggests. Net: a real control-bypass worth patching on a normal cycle, not a mass-exploitation emergency; its reach is limited by product rarity and by the requirement that deny_remote be configured. |
| Exploit ScenarioDerived | An administrator deploys pam_usb (0.8.0-0.9.2) with the deny_remote feature enabled to block authentication from remote sessions. A user with valid credentials opens a remote tmux session over any compressed-notation IPv6 address (e.g. ::1, fe80::1, or 2001:db8::1); the detection regex fails to match, so pam_usb reports 'no remote clients' and grants authentication as if the session were local. No public exploit code is identified, but the trigger is fully documented in the advisory and is trivially reproducible since compressed IPv6 is the default representation on modern operating systems. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 11, 2026
pam_usb versions 0.8.0 through 0.9.2 fail to recognize compressed-notation IPv6 addresses when evaluating the optional deny_remote tmux control, so an authenticated user who opens a remote tmux session from an address such as ::1, fe80::1 or 2001:db8::1 is treated as having no remote session at all and the module grants access. Exploitation requires the deny_remote feature to be explicitly enabled (it is not default-on), an affected build, IPv6 reachability to the host, and valid credentials for the account being authenticated - conditions that narrow real-world exposure well below the raw 7.4 base score. Upstream addressed the flaw in 0.9.3; no public exploit code was identified at time of analysis and the issue is not in CISA KEV.
RemediationAI
Vendor-released patch: upgrade to pam_usb 0.9.3, which is the first release containing the corrected matching logic from PR #423 / commit a62513f (release notes at https://github.com/mcdope/pam_usb/releases/tag/0.9.3, advisory at https://github.com/mcdope/pam_usb/security/advisories/GHSA-gc4c-v52c-2v34). The fixed code matches all RFC 5952 compressed IPv6 forms plus IPv4-mapped addresses, anchors the match to the FROM column to avoid idle-time false positives, rejects NULL or over-length usernames, and fails closed when the w invocation errors - so patched hosts also stop silently allowing access on command failure, which can change behavior on systems where w is missing or broken (those logins will now be denied and the missing utility must be restored). The advisory documents no interim workaround for the flaw itself; organizations that cannot upgrade immediately should weigh disabling the optional deny_remote control, which removes the affected check entirely rather than fixing it, against constraining the host's IPv6 reachability to trusted networks so that remote tmux clients cannot originate from compressed-notation addresses - a measure that trades coverage for reduced exposure and does not protect against local or trusted-segment attackers. Verify after upgrade that deny_remote is still configured as intended and that only 0.9.3 or later remains installed on PAM-enabled systems.
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
pam_usb is a PAM module that provides hardware-assisted authentication on Linux via removable media. Its optional deny_remote feature shells out to /usr/bin/w -i and parses the output in pusb_tmux_has_remote_clients() (src/tmux.c) to decide whether the authenticating user already has a remote tmux client connected; if so, authentication should be refused. The detection relied on POSIX extended regular expressions, and the IPv6 pattern required exactly four colon-separated groups of one to four hex digits, which is the fully expanded form only. Because RFC 5952 compressed notation collapses runs of zero groups into ::, the overwhelmingly common representations - ::1, fe80::1, 2001:db8::1 - never matched, and the function silently returned "no remote clients", a CWE-285 improper authorization outcome compounded by a CWE-693 protection-mechanism failure. The original leading (.+) was also unanchored and could span field boundaries, so a local session's HH:MM:SS idle-time column could be misread as an address (a false-positive risk in the opposite direction). The upstream fix replaces the pattern with (([0-9A-Fa-f]{0,4}:){2,7}[0-9A-Fa-f]{0,4}) anchored to the FROM column via whitespace field-boundary groups, adds a separate pattern for IPv4-mapped IPv6 (::ffff:a.b.c.d) that would otherwise slip between the v4 and v6 rules, absorbs zone indices such as %eth0, rejects NULL or over-length usernames to prevent regex truncation, and fails closed when w exits non-zero or the pclose result is -1. The affected package range is >= 0.8.0, <= 0.9.2 (CPE cpe:2.3:a:mcdope:pam_usb), with 0.9.3 as the first fixed release.
Know when Pam Usb 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
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
PR:L because the advisory requires valid credentials to establish the session; AC:L because compressed IPv6 is the standard default representation; C/I:H as the control bypass grants account access, A:N.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
pam_usb provides hardware authentication for Linux using removable media. From version 0.8.0 to before version 0.9.3, the deny_remote feature in pam_usb uses /usr/bin/w -i to detect whether the authenticating user has an active remote tmux session. In pusb_tmux_has_remote_clients() (src/tmux.c), the IPv6 detection regex required exactly four explicit colon-separated groups of 1-4 hex digits (e.g. 2001:0db8:85a3:0000). Any IPv6 address in compressed notation - including loopback (::1), link-local (fe80::1), and global unicast addresses (2001:db8::1) - did not match this pattern. As a result the remote-client check silently returned "no remote clients" even when a remote tmux client was connected from such an address. This issue has been patched in version 0.9.3.
Technical POC Analysis
CWE-285 (Improper Authorization), with the advisory also tagging CWE-693 (Protection Mechanism Failure).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity flaw in pam_usb (versions 0.8.0-0.9.2) can allow authenticated users to bypass the optional deny_remote tmux control when accessing from compressed-notation IPv6 addresses. Only organizations that have explicitly enabled this non-default feature on affected builds are exposed, but for them the issue weakens session access controls and could facilitate unauthorized remote sessions. Leadership should ensure that any use of deny_remote is reconciled against the availability of the vendor's fix in version 0.9.3.
Vendor-released patch: 0.9.3
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Related Vulnerabilities in pam_usb Remote Detection and Memory Flaws
View all 4Authentication bypass in pam_usb before 0.9.1 allows remote unauthenticated attackers to reach the USB hardware-authenti
Authentication bypass in pam_usb prior to 0.9.0 lets a local user defeat the USB hardware-authentication factor by delet
XXE injection in pam_usb prior to 0.9.2 enables an attacker with write access to the root-owned configuration file to tr
Heap buffer overflow in pam_usb prior to 0.9.1 allows a local attacker with high privileges to corrupt heap memory on 32
XPath injection in pam_usb prior to 0.9.0 allows unauthenticated remote attackers to manipulate device-verification quer
Environment variable injection in pam_usb prior to version 0.9.2 allows a local authenticated user to bypass hardware US
PATH hijacking in pam_usb helper tools prior to version 0.9.0 allows a local low-privileged attacker who can manipulate
Non-atomic one-time pad file creation in pam_usb prior to 0.9.2 exposes the core replay-prevention mechanism to a local
Symlink race condition in pam_usb prior to 0.9.2 allows a local attacker to redirect one-time pad files to an attacker-c
Concurrent PAM invocations in pam_usb prior to 0.9.1 expose a process-wide static pointer race condition in src/log.c, w
EUVD-2026-123133
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB