CVE-2026-48980
published medium CVSS 3.1 · 6.3pam_usb: getenv() used in PAM context allows environment variable injection into local-check logic
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mcdope | — | pam_usb< 0.9.2 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mcdope | pam_usb | < 0.9.2 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-454 CWE-454: External Initialization of Trusted Variables or Data Stores
- CWE-807 CWE-807: Reliance on Untrusted Inputs in a Security Decision
References
2Provider assertions
2GitHub_M · cna
pam_usb: getenv() used in PAM context allows environment variable injection into local-check logic
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 541aebca47d5b6559c76eea00304331b728fd76f749cfe3fa91ba20fdba19ca2
- Ingested
- 23 Sep 2026, 09:17:37 UTC
- Source record
- Official CVE record