What’s Vulnerable › Vulnerabilities
CVE-2026-48980: pam_usb: getenv() used in PAM context allows environment variable injection into local-check logic
- Severity: medium (CVSS 6.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-18 · updated 2026-10-25
- Weakness: CWE-454
Description
pam_usb provides hardware authentication for Linux using removable media. In versions prior to 0.9.2, getenv() environment variables XRDP_SESSION, DISPLAY and TMUX allow environment variable injection into local-check logic. These environment variables influence whether a current session is local or remote, and a PAM module that runs in the context of setuid binaries (sudo, su), getenv() returns attacker-controlled values whenever the process environment has been manipulated by a local user. This issue has been fixed in version 0.9.2.
Affected products
- mcdope pam_usb: before 0.9.2
References
- https://github.com/mcdope/pam_usb/releases/tag/0.9.2
- https://github.com/mcdope/pam_usb/security/advisories/GHSA-qr83-mf3h-fvqr
Get alerted when CVE-2026-48980 or the next vulnerability affects your stack