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.
References
Configurations
No configuration.
History
11 Nov 2026, 05:19
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-11-11 05:19
Updated : 2026-11-13 17:17
NVD link : CVE-2026-64666
Mitre link : CVE-2026-64666
CVE.ORG link : CVE-2026-64666
JSON object : View
Products Affected
No product.
CWE
CWE-807
Reliance on Untrusted Inputs in a Security Decision
