7.8high
pam_usb: PINENTRY_FALLBACK_APP environment variable allows arbitrary command execution
- Severity
- 7.8high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| mcdope pam_usb | < 0.8.7 | CVE List |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
pam_usb proporciona autenticación de hardware para Linux utilizando medios extraíbles ordinarios. Antes de 0.8.7, pamusb-pinentry lee la variable de entorno PINENTRY_FALLBACK_APP y la ejecuta directamente sin ninguna validación. Cualquier proceso que pueda establecer variables de entorno antes de que se invoque pamusb-pinentry puede apuntar PINENTRY_FALLBACK_APP a un binario o script arbitrario y hacer que se ejecute con los privilegios de la cadena de herramientas de pam_usb. Esta vulnerabilidad está corregida en 0.8.7.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-44709 changed 2026-06-02 | CVE Terms of Use |
| NVD | CVE-2026-44709 changed 2026-10-25 | Public domain |