CVE-2026-48980

MEDIUM

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

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
X_Refsource_Misc x_refsource_misc
https://github.com/mcdope/pam_usb/releases/tag/0.9.2

Scores

CVSS v3 6.3
EPSS 0.0018
EPSS Percentile 7.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-454 CWE-807
Status published
Products (1)
mcdope/pam_usb < 0.9.2
Published Jun 18, 2026
Tracked Since Jun 19, 2026