Skip to main content

pam_usb CVE-2026-64669

| EUVDEUVD-2026-123133 HIGH
Improper Authorization (CWE-285)
2026-11-11 GitHub_M
7.4
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid user credentials
  2. Delivery
    Connect over compressed IPv6 address
  3. Exploit
    Start remote tmux session
  4. Execution
    deny_remote regex fails to detect session
  5. Impact
    pam_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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

pam_usb 0.8.0, < 0.9.3

Affected Packages

euvd pam_usb fix: 0.9.3

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

Vendor (GitHub_M) PRIMARY 7.4 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 8.1 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Nov 11, 2026 - 05:31 EUVD
CVE Published
Nov 11, 2026 - 03:52 cve.org
HIGH 7.4

DescriptionCVE.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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Vendor-released patch: 0.9.3

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Low
niche open-source PAM USB-auth module, limited enterprise deployment
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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 4
CVE-2026-48064 HIGH
8.1 May 27

Authentication bypass in pam_usb before 0.9.1 allows remote unauthenticated attackers to reach the USB hardware-authenti

CVE-2026-47272 HIGH
7.1 May 27

Authentication bypass in pam_usb prior to 0.9.0 lets a local user defeat the USB hardware-authentication factor by delet

CVE-2026-48981 MEDIUM
6.7 Jun 18

XXE injection in pam_usb prior to 0.9.2 enables an attacker with write access to the root-owned configuration file to tr

CVE-2026-48065 MEDIUM
6.7 May 27

Heap buffer overflow in pam_usb prior to 0.9.1 allows a local attacker with high privileges to corrupt heap memory on 32

CVE-2026-47273 MEDIUM
6.5 May 27

XPath injection in pam_usb prior to 0.9.0 allows unauthenticated remote attackers to manipulate device-verification quer

CVE-2026-48980 MEDIUM
6.3 Jun 18

Environment variable injection in pam_usb prior to version 0.9.2 allows a local authenticated user to bypass hardware US

CVE-2026-47274 MEDIUM
6.3 May 27

PATH hijacking in pam_usb helper tools prior to version 0.9.0 allows a local low-privileged attacker who can manipulate

CVE-2026-48982 MEDIUM
5.8 Jun 18

Non-atomic one-time pad file creation in pam_usb prior to 0.9.2 exposes the core replay-prevention mechanism to a local

CVE-2026-48983 MEDIUM
5.8 Jun 18

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

CVE-2026-48066 MEDIUM
5.7 May 27

Concurrent PAM invocations in pam_usb prior to 0.9.1 expose a process-wide static pointer race condition in src/log.c, w

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy