Read the docs

deny_remote bypass in pam_usb via IPv6 zone-indexed addresses

Priority LOW 35CWE-285Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-285.

Summary

pam_usb versions from 0.8.0 before 0.9.3 use /usr/bin/w -i to decide whether a user has an active remote tmux session for the deny_remote setting. The IPv6 pattern in pusb_tmux_has_remote_clients() expects whitespace right after the address, so a zone index such as %eth0 on a link-local address like fe80::1%eth0 breaks the match. The function then reports no remote clients and grants access. An attacker with a remote tmux session for the targeted user can authenticate despite deny_remote, and the flaw is tied to CWE-285 and CWE-693.

Written with Claude Haiku 5.5 from the sources below · 2026-11-11

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00384 33rd percentileScored 2026-11-16
Fix Fixed pam_usb (mcdope): 0.9.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
mcdopepam_usb0.8.0 to before 0.9.30.9.3Patch availableCNA
  • pam_usb Vendormcdope Affected 0.8.0 to before 0.9.3 Fixed in 0.9.3 Patch available CNA

Remediation

Upgrade pam_usb to version 0.9.3, which fixes the issue.

Written with Claude Haiku 5.5 from the sources below · 2026-11-11

  • Fix · CNA pam_usb (mcdope) Fixed in 0.9.3

Timeline

  1. 2026-11-11 Threatist record created from CVE-2026-64668
  2. 2026-11-12 Priority changed: MEDIUM → LOW
  3. 2026-11-12 CISA SSVC decision points changed

References

  • TI-2026-35505 pam_usb: PAM_RHOST check skipped when deny_remote=false allows XDMCP authentication bypass CVSS 3.1HIGH 8.1
  • TI-2026-32598 pam_usb: Symlink attacks on pad directory and pad files enable authentication bypass and root file corruption CVSS 3.1HIGH 7.9
  • TI-2026-32596 pam_usb: PINENTRY_FALLBACK_APP environment variable allows arbitrary command execution CVSS 3.1HIGH 7.8
  • TI-2026-32600 pam_usb: Command injection via $TMUX environment variable leads to RCE as root CVSS 3.1HIGH 8.8
  • TI-2026-32599 pam_usb: Shell injection via device UUID and username in pamusb-conf and pamusb-agent CVSS 3.1HIGH 8.2
  • TI-2026-89569 pam_usb deny_remote bypassed by compressed IPv6 addresses CVSS 3.1HIGH 7.4
See all 25 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences