Skip to main content
← All vulnerabilities
CVE-2026-48980

pam_usb: getenv() used in PAM context allows environment variable injection into local-check logic

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.9.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • mcdope pam_usb

    fixed in 0.9.2

References 2

GitHub · mcdope/pam_usb