CVE-2026-47274
JSON

6.3medium

pam_usb: Uncontrolled search path in pam_usb tools allows privilege escalation via PATH manipulation

Severity
6.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.18% (higher than 4% of CVEs)
Published
Last changed
Assigned by
GitHub_M

Description

pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.9.0, multiple pam_usb helper tools resolved external binaries through the PATH environment variable rather than using absolute paths. An attacker who can influence the process environment during PAM authentication or tool execution could substitute malicious binaries. The affected tools are pamusb-check (src/tmux.c), pamusb-conf (tools/pamusb-conf), and pamusb-keyring-unlock-gnome (tools/pamusb-keyring-unlock-gnome). This vulnerability is fixed in 0.9.0.

Affected

Product or packageVersionsReported by
mcdope pam_usb< 0.9.0CVE List

Classification

CWE-427

SSVC (CISA-ADP): exploitation none, 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.9.0, multiple pam_usb helper tools resolved external binaries through the PATH environment variable rather than using absolute paths. An attacker who can influence the process environment during PAM authentication or tool execution could substitute malicious binaries. The affected tools are pamusb-check (src/tmux.c), pamusb-conf (tools/pamusb-conf), and pamusb-keyring-unlock-gnome (tools/pamusb-keyring-unlock-gnome). This vulnerability is fixed in 0.9.0.

NVD (es)

pam_usb proporciona autenticación de hardware para Linux utilizando medios extraíbles ordinarios. Antes de 0.9.0, múltiples herramientas auxiliares de pam_usb resolvían binarios externos a través de la variable de entorno PATH en lugar de utilizar rutas absolutas. Un atacante que puede influir en el entorno del proceso durante la autenticación PAM o la ejecución de la herramienta podría sustituir binarios maliciosos. Las herramientas afectadas son pamusb-check (src/tmux.c), pamusb-conf (tools/pamusb-conf) y pamusb-keyring-unlock-gnome (tools/pamusb-keyring-unlock-gnome). Esta vulnerabilidad está corregida en 0.9.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-47274 changed 2026-05-30CVE Terms of Use
NVDCVE-2026-47274 changed 2026-10-26Public domain