CVE-2026-44709
JSON

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 packageVersionsReported by
mcdope pam_usb< 0.8.7CVE List

Classification

CWE-78

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

SourceRecordLicence
CVE ListCVE-2026-44709 changed 2026-06-02CVE Terms of Use
NVDCVE-2026-44709 changed 2026-10-25Public domain