๐Ÿ” CVE Alert

CVE-2026-64666

HIGH 7.1

pam_usb: getenv() in pusb_local_login bypasses XRDP deny via env-var unset

CVSS Score
7.1
EPSS Score
0.0%
EPSS Percentile
0th

pam_usb provides hardware authentication for Linux using removable media. Prior to version 0.9.3, src/local.c reads XRDP_SESSION with plain getenv(3) at the head of pusb_local_login while every other env consumer in the same function uses secure_getenv(3). When pam_usb.so loads into a setuid PAM host, the calling user controls the environment passed in. Clearing XRDP_SESSION before invoking the host bypasses the explicit XRDP-deny rule. Other remote-detection signals (rmsvc, evdev, loginctl, utmp) may still catch the session, but the env-based detection alone is defeated. This issue has been patched in version 0.9.3.

CWE CWE-807
Vendor mcdope
Product pam_usb
Published Nov 11, 2026
Stay Ahead of the Next One

Get instant alerts for mcdope pam_usb

Be the first to know when new high vulnerabilities affecting mcdope pam_usb are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Affected Versions

mcdope / pam_usb
< 0.9.3

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/mcdope/pam_usb/security/advisories/GHSA-ffx6-xjp6-x33g github.com: https://github.com/mcdope/pam_usb/issues/410 github.com: https://github.com/mcdope/pam_usb/pull/417 github.com: https://github.com/mcdope/pam_usb/commit/0b179ed679d6522c6a571c5a8ae9bdc7edbad31f github.com: https://github.com/mcdope/pam_usb/releases/tag/0.9.3