Skip to main content

pam_usb CVE-2026-64668

| EUVDEUVD-2026-123130 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
    Gain LAN/link-local IPv6 adjacency to target
  2. Delivery
    Connect using zone-indexed address (fe80::1%eth0)
  3. Exploit
    w -i reports address with %ifname suffix
  4. Execution
    deny_remote regex fails to match remote session
  5. Impact
    Session treated as local, pam_usb authentication granted

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 ALL of: (1) pam_usb version in the 0.8.0-0.9.2 range with the deny_remote feature explicitly enabled in the pam_usb configuration; (2) the attacker authenticating from a host reachable to the target over a link-local IPv6 segment (fe80::/10) on a multi-homed interface, so that w -i appends a zone index (e.g. %eth0) to the address - a standard setup on directly-connected, isolated management, or embedded/IoT networks; and (3) the relevant user having an active remote tmux session that w would otherwise report. Limiting factors that reduce real-world risk: the bypass does not apply where deny_remote is not configured, where connections do not carry a zone-indexed link-local IPv6 address (plain global/IPv4 sessions are still detected), or on versions outside 0.8.0-0.9.2. Updating to 0.9.3 is the fix; per the advisory the correction also hardens the FROM-field anchoring and v4-mapped IPv6 (::ffff:x.x.x.x) handling.

Impact

This is an authorization/authentication-control bypass (CWE-285/CWE-693): the deny_remote safeguard in pam_usb silently fails open, treating a remote session as local and granting access. The provided CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N, 7.4 High) rates it network, high-complexity, no privileges. The signals temper the raw severity: AC:H and the advisory's own words confine the trigger to LAN-adjacent hosts on a link-local IPv6 (fe80::/10) segment with zone-indexed addresses (e.g. fe80::1%eth0), plus the victim must have an active remote tmux session and the operator must have enabled deny_remote - so this is NOT internet-wide remote exploitation and AV:N arguably overstates reach (the condition is adjacent/link-local; verify AV:A vs AV:N with the vendor). No KEV listing and no EPSS score are present in the input, and exploitation status is: no public exploit identified at time of analysis (the four references are the advisory, PR #423, the fix commit, and the 0.9.3 release - all remediation artifacts, not exploit code). The vuln.today decision label is 'this_week', consistent with a real but non-emergency control-bypass in a niche product rather than a mass-exploitation priority. Net: a genuine but conditional security-control bypass, meaningful on isolated management/IoT networks where SSH over link-local is standard, but low urgency where IPv6 link-local adjacency or deny_remote are not in play.

Exploit ScenarioDerived

On an isolated management or embedded/LAN segment, an attacker (or an unauthorized user) SSHes to the target over a link-local IPv6 address such as fe80::1%eth0 and starts or holds a remote tmux session; because w -i reports the zone-indexed address, pam_usb's deny_remote regex fails to match and the session is judged local. The attacker then completes pam_usb authentication that the deny_remote policy was meant to refuse. No public exploit code was identified; the flaw is a single-character regex gap and is trivially reproducible from the advisory, but exploitation needs the specific link-local/multi-homed topology (AC:H).

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

The deny_remote safeguard in pam_usb fails open on link-local IPv6 sessions, causing a remote login to be classified as local and authentication to succeed even though the administrator configured pam_usb to reject remote sessions. Installations running versions 0.8.0 through 0.9.2 with deny_remote enabled on multi-homed hosts are affected; the trigger requires the authenticating session to arrive over a fe80::/10 address that /usr/bin/w -i renders with a zone index such as %eth0, which the IPv6 pattern in pusb_tmux_has_remote_clients() could not match, plus an active remote tmux session for that user. No public exploit identified at time of analysis; the flaw is fixed in pam_usb 0.9.3.

RemediationAI

Upgrade to pam_usb 0.9.3, the release that contains the fix (https://github.com/mcdope/pam_usb/releases/tag/0.9.3), or backport commit a62513f3da871d6576d751de3482eb80b9ac79f3 from PR #423 (https://github.com/mcdope/pam_usb/pull/423) if the distribution package cannot be updated immediately; the patch both absorbs IPv6 zone indexes in the deny_remote regex and fail-closes on a non-zero exit from w, so partial backports should include the regex change at minimum. No interim configuration workaround is described in the advisory - removing or disabling deny_remote would eliminate the very control being bypassed and leave remote-session enforcement entirely absent, and the bypass only manifests when that option is enabled, so the practical alternatives are upgrading/backporting or accepting the residual risk on the specific links where zone-indexed link-local IPv6 sessions occur. Verified against the vendor advisory GHSA-7583-9cqv-j9rf.

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 implements hardware-assisted authentication for Linux PAM by requiring a registered removable USB device; its optional deny_remote feature refuses logins that originate remotely by shelling out to LC_ALL=C; /usr/bin/w -i and scanning the output with POSIX extended regular expressions (regcomp/regexec) compiled per username in src/tmux.c. The root cause is CWE-285 (improper authorization) compounding CWE-693 (protection mechanism failure): the IPv6 template terminated the address capture group immediately with a whitespace class, so any non-whitespace character between the address and the next field broke the match. On Linux, w -i appends an interface zone/scope identifier to link-local addresses (fe80::1%eth0), so the %eth0 suffix defeated the match, pusb_tmux_has_remote_clients() returned 'no remote clients', and the deny_remote gate granted access. The upstream fix in PR #423 appends [^[:space:]]* after the IPv6 group to absorb the zone index, and additionally anchors all patterns to the FROM field to stop username-prefix false positives, adds a fourth-pattern-equivalent case for IPv4-mapped IPv6 addresses (::ffff:x.x.x.x), rejects NULL or over-255-character usernames to prevent silent regex truncation, and fails closed when the w subprocess exits non-zero. Link-local addressing is automatic on every IPv6-capable interface, making the malformed input reachable in ordinary directly-connected, isolated management, and embedded/IoT deployments rather than only exotic configurations.

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 6.8 MEDIUM

Trigger needs LAN-adjacent link-local IPv6 plus a multi-homed/zone-index condition and enabled deny_remote, so AV:A and AC:H; no prior auth, PR:N; control bypass yields account access, C:H/I:H, no availability impact.

3.1 AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:A/AC:H/AT:N/PR:N/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:50 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 pattern matched the address group and then immediately expected whitespace. On Linux systems with multi-homed network interfaces, w -i appends a zone index (scope identifier) to link-local IPv6 addresses - e.g. fe80::1%eth0. The %eth0 suffix appeared between the address and the next whitespace field, causing the regex match to fail even for an otherwise-matching remote session. The function returned "no remote clients" and granted access. 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 through 0.9.2 causes the deny_remote safeguard to fail open on link-local IPv6 sessions, allowing remote logins to be treated as local and authenticated when administrators intended to block them. This undermines a key access control for multi-homed hosts, potentially enabling unauthorized access to sensitive systems and data.

Business Impact: High
Compensating Controls

Apply vendor patch: upgrade to pam_usb 0.9.3. If patching is delayed, disable deny_remote and implement network-level controls to block or monitor link-local IPv6 sessions on multi-homed hosts, and restrict tmux usage for remote users.

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Low
niche open-source USB-based PAM auth module, limited enterprise footprint
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
High

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