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

Published Jun 18, 2026
·
Updated

pamusb provides hardware authentication for Linux using removable media. In versions prior to 0.9.2, getenv() environment variables XRDPSESSION, 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.

Affected Software

1 affected component
pam_usb pam_usb<0.9.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pam_usb to a version that resolves this vulnerability.

    Fixed in 0.9.2

Event History

Jun 18, 2026
CVE Published
via MITRE·07:26 PM
Data Sourced
via MITRE·07:26 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-48980?

The severity of CVE-2026-48980 is medium with a CVSS score of 6.3.

2

How do I fix CVE-2026-48980?

To fix CVE-2026-48980, upgrade to pam_usb version 0.9.2 or later.

3

What components are affected by CVE-2026-48980?

CVE-2026-48980 affects pam_usb versions prior to 0.9.2.

4

What does CVE-2026-48980 exploit?

CVE-2026-48980 exploits the use of getenv() in PAM context, allowing environment variable injection.

5

What are the implications of CVE-2026-48980 on system security?

CVE-2026-48980 can lead to unauthorized access to local sessions due to environment variable manipulation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203