CVE-2026-44709: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in mcdope pam_usb
pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.8.7, pamusb-pinentry reads the PINENTRY_FALLBACK_APP environment variable and executes it directly without any validation. Any process that can set environment variables before pamusb-pinentry is invoked can point PINENTRY_FALLBACK_APP at an arbitrary binary or script and have it executed with the privileges of the pam_usb tool chain. This vulnerability is fixed in 0.8.7.
AI Analysis
Technical Summary
The pam_usb tool provides hardware authentication for Linux systems using removable media. In versions before 0.8.7, the pamusb-pinentry component unsafely executes the binary or script specified by the PINENTRY_FALLBACK_APP environment variable without validating its content. This improper neutralization of special elements (CWE-78) allows an attacker with the ability to set environment variables prior to pamusb-pinentry execution to run arbitrary commands with the privileges of the pam_usb process. The vulnerability is resolved in version 0.8.7.
Potential Impact
Successful exploitation allows an attacker with limited privileges (local user) to execute arbitrary code with the privileges of the pam_usb tool chain, potentially leading to full system compromise. The CVSS vector indicates local attack vector, low attack complexity, low privileges required, no user interaction, unchanged scope, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade pam_usb to version 0.8.7 or later, where this vulnerability is fixed. Since no official patch link or advisory is provided, users should verify the version in use and apply the update accordingly. Until upgraded, restrict the ability to set environment variables affecting pamusb-pinentry execution to trusted users only.
CVE-2026-44709: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in mcdope pam_usb
Description
pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.8.7, pamusb-pinentry reads the PINENTRY_FALLBACK_APP environment variable and executes it directly without any validation. Any process that can set environment variables before pamusb-pinentry is invoked can point PINENTRY_FALLBACK_APP at an arbitrary binary or script and have it executed with the privileges of the pam_usb tool chain. This vulnerability is fixed in 0.8.7.
CVSS v3.1
Score 7.8high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The pam_usb tool provides hardware authentication for Linux systems using removable media. In versions before 0.8.7, the pamusb-pinentry component unsafely executes the binary or script specified by the PINENTRY_FALLBACK_APP environment variable without validating its content. This improper neutralization of special elements (CWE-78) allows an attacker with the ability to set environment variables prior to pamusb-pinentry execution to run arbitrary commands with the privileges of the pam_usb process. The vulnerability is resolved in version 0.8.7.
Potential Impact
Successful exploitation allows an attacker with limited privileges (local user) to execute arbitrary code with the privileges of the pam_usb tool chain, potentially leading to full system compromise. The CVSS vector indicates local attack vector, low attack complexity, low privileges required, no user interaction, unchanged scope, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade pam_usb to version 0.8.7 or later, where this vulnerability is fixed. Since no official patch link or advisory is provided, users should verify the version in use and apply the update accordingly. Until upgraded, restrict the ability to set environment variables affecting pamusb-pinentry execution to trusted users only.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-07T17:07:09.318Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a175c27e29bf47b50eb6085
Added to database: 05/27/2026, 21:03:35 UTC
Last enriched: 06/04/2026, 20:21:45 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 49
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.