{"id":"CVE-2026-48980","published":"2026-06-18T19:26:05Z","modified":"2026-06-18T20:25:31Z","title":"pam_usb: getenv() used in PAM context allows environment variable injection into local-check logic","vendor":"mcdope","product":"pam_usb","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00175,"percentile":0.07232,"provenance":"source"},"cwes":[{"id":"CWE-454","name":"External Initialization of Trusted Variables or Data Stores"},{"id":"CWE-807","name":"Reliance on Untrusted Inputs in a Security Decision"}],"references":[{"url":"https://github.com/mcdope/pam_usb/security/advisories/GHSA-qr83-mf3h-fvqr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mcdope/pam_usb/releases/tag/0.9.2","tags":["x_refsource_MISC"]}],"priority":{"score":5.9,"factors":[{"name":"EPSS percentile","points":1.45},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"mcdope","affectedVersions":[{"vendor":"mcdope","product":"pam_usb","versions":["< 0.9.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-06-18T20:25:21.713697Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-37937","exploited":false,"provenance":"source"}}