CVE-2026-64666

published 11 Nov 2026 · updated 13 Nov 2026

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

7.1HighCVSS 7.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
mcdope<0.9.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-64666 severity on Zeptric[![CVE-2026-64666](https://zeptric.io/badge/cve/CVE-2026-64666.svg)](https://zeptric.io/cve/CVE-2026-64666)