CVE-2026-64666

High

Description

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.

SeverityHigh
CVSS7.1
Exploit probability—
ProductMcdope Pam Usb
PublishedNov 11, 2026
First seenNov 11, 2026
Weakness typeCWE-807CWE-807

How to fix

Update
  • mcdope pam_usb0.9.3 or later

Affected products

ProductAffected versionsFixed in
mcdope pam_usbv < 0.9.30.9.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.