{"id":"CVE-2026-48980","aliases":["CVE-2026-48980"],"related":[],"kind":"vulnerability","state":"published","title":"pam_usb: getenv() used in PAM context allows environment variable injection into local-check logic","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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"pam_usb proporciona autenticación de hardware para Linux utilizando medios extraíbles. En versiones anteriores a la 0.9.2, las variables de entorno getenv() XRDP_SESSION, DISPLAY y TMUX permiten la inyección de variables de entorno en la lógica de verificación local. Estas variables de entorno influyen en si una sesión actual es local o remota, y un módulo PAM que se ejecuta en el contexto de binarios setuid (sudo, su), getenv() devuelve valores controlados por el atacante siempre que el entorno del proceso haya sido manipulado por un usuario local. Este problema ha sido solucionado en la versión 0.9.2.","source":"nvd"}],"published":"2026-06-18T19:26:05.340Z","modified":"2026-10-25T23:10:00.167Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","score":6.3,"rating":"MEDIUM"}],"cwes":["CWE-454","CWE-807"],"affected":[{"ranges":[{"version":"< 0.9.2","status":"affected"}],"vendor":"mcdope","product":"pam_usb","source":"cvelist"}],"references":[{"url":"https://github.com/mcdope/pam_usb/security/advisories/GHSA-qr83-mf3h-fvqr","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mcdope/pam_usb/releases/tag/0.9.2","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-06-18T20:25:21.713Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-48980","url":"https://www.cve.org/CVERecord?id=CVE-2026-48980","licence":"CVE Terms of Use","modified":"2026-06-18T20:25:31.988Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-48980","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48980","licence":"Public domain","modified":"2026-10-25T23:10:00.167Z"}],"updatedAt":"2026-11-25T22:59:25.171Z","epss":{"score":0.00127,"percentile":0.02546,"date":"2026-12-02T12:00:21.000Z"}}