CVE-2026-64666
CVE-2026-64666 — pam_usb: getenv() in pusb_local_login bypasses XRDP deny via env-var unset
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.
Published Updated Sources: mcdope (CNA), GitHub, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Public exploit
exploit code published, no use observed
EPSS
0%
ahead of 0% of scored CVEs
CVSS base
7.1
high
Remediation
The vendor's own words where we have them.
Upgrade Pam Usb to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Mcdope | pam usb | < 0.9.3 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
None
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Local
Privileges Req
Low
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.1 | CVSS 3.1 | high | n/a | n/a | mcdope (CNA) |
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-807 · Reliance on Untrusted Inputs in a Security Decision
- Bypass Protection Mechanism
- Gain Privileges or Assume Identity
- Varies by Context
Mitigation: Store state information and sensitive data on the server side only. Ensure that the system definitively and unambiguously keeps track of its own state and user state and has rules defined for legitimate state transitions. Do not allow any application user to affect state directly in any way other than through legitimate actions leading to state transitions. If information must be stored on the client, do not do so without encryption and integrity checking, or otherwise having a mechanism on the server side to catch tampering. Use a message authentication code (MAC) algorithm, such as Hash Message Authentication Code (HMAC) [REF-529]. Apply this against the state or sensitive data that you has to be exposed, which can guarantee the integrity of the data - i.e., that the data has not been modified. Ensure that a strong hash function is used (CWE-328).
Weakness & attack patterns
- CWE-807
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
1
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /local.c.
- Monitor for scanner or exploit-pattern traffic after 1 public PoC repositories were reported.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 7.1 (AV:L)
Nov 11, 2026 · NVD
Initial · CVE published
Nov 11, 2026 · NVD
CVE published by MITRE.
Nov 11, 2026 · SOCRadar CTI
References
5 on the record
- github.com/mcdope/pam_usb/security/advisories/GHSA-ffx6-xjp6-x33g
Exploit, Third Party Advisory, Mitre
- github.com/mcdope/pam_usb/issues/410
Exploit, Third Party Advisory, Mitre
- github.com/mcdope/pam_usb/pull/417
Exploit, Third Party Advisory, Mitre
- github.com/mcdope/pam_usb/commit/0b179ed679d6522c6a571c5a8ae9bdc7edbad31f
Exploit, Third Party Advisory, Mitre
- github.com/mcdope/pam_usb/releases/tag/0.9.3
Exploit, Third Party Advisory, Mitre
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-21514 Microsoft Word Security Feature Bypass VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2026-21509 Microsoft Office Security Feature Bypass VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2026-34486 Apache Tomcat: Fix for CVE-2026-29146 allowed bypass of EncryptInterceptorCVSS 7.5 · CISA KEV
- CVE-2026-59103 MONEO ERP unauthenticated session forging via the public Ping JSON-RPC methodCVSS 9.8
- CVE-2026-13059 Improper Validation of Client-Supplied Command Parameters Allowing Role-Based Access Control BypassCVSS 8.1
- CVE-2026-107561 Contact point test endpoint exposes stored credentials to users without protected-field accessCVSS 7.7
Elsewhere on this site
- Mcdopeevery CVE for this vendor
- Unclassifiedsame class
- CWE-807other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-64666 is pam_usb: getenv() in pusb_local_login bypasses XRDP deny via env-var unset, a high vulnerability affecting Pam Usb from Mcdope. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-64666. Public exploit evidence is: 1 public PoC repositories reported; 0 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 7.1 describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.