CVE 6.3 MEDIUM

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

6.3 / 10
MEDIUM
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

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.

Basic Information

ID CVE-2026-48980
Source GitHub_M
Published Jun 18, 2026 at 19:26
Modified Jun 18, 2026 at 20:25

Affected Product

Vendor mcdope
Product pam_usb
Version < 0.9.2
Affected Versions mcdope pam_usb < 0.9.2

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.