CVE-2026-44709
Deferred Deferred - Pending Action
Command Injection in pam_usb via PINENTRY_FALLBACK_APP

Publication date: 2026-05-27

Last updated on: 2026-06-02

Assigner: GitHub, Inc.

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 Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-27
Last Modified
2026-06-02
Generated
2026-06-17
AI Q&A
2026-05-28
EPSS Evaluated
2026-06-15
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
mcdope pam_usb to 0.8.7 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

The vulnerability exists in pam_usb versions prior to 0.8.7, specifically in the pamusb-pinentry component. It reads the environment variable PINENTRY_FALLBACK_APP and executes it directly without validating its content. This means that any process able to set environment variables before pamusb-pinentry runs can make it execute an arbitrary binary or script with the privileges of the pam_usb tool chain.

Impact Analysis

This vulnerability can lead to privilege escalation because an attacker who can control environment variables can execute arbitrary code with the privileges of the pam_usb tool chain. This can compromise system security by allowing unauthorized actions, potentially leading to full system compromise.

Mitigation Strategies

To mitigate this vulnerability, upgrade pam_usb to version 0.8.7 or later where the issue is fixed.

Compliance Impact

The vulnerability in pam_usb allows arbitrary code execution with elevated privileges and local disclosure of sensitive authentication information, such as the GNOME Keyring unlock password. This can lead to unauthorized access and compromise of confidential data.

Such unauthorized access and potential data exposure can negatively impact compliance with common standards and regulations like GDPR and HIPAA, which require protection of sensitive personal and health information against unauthorized access and breaches.

Detection Guidance

To detect the CVE-2026-44709 vulnerability on your system, you should first identify if you are running pam_usb software versions prior to 0.8.7, as these versions are affected.

You can check the installed version of pam_usb by running a command like:

  • pamusb-pinentry --version

or if the above command is not available, check the package version via your package manager, for example on Debian-based systems:

  • dpkg -l | grep pam_usb

To detect if the environment variable PINENTRY_FALLBACK_APP is being set or exploited, you can search for processes or scripts that set this variable before invoking pamusb-pinentry.

For example, you can check running processes for suspicious environment variables with:

  • ps eww -C pamusb-pinentry

This command shows environment variables of running pamusb-pinentry processes, allowing you to see if PINENTRY_FALLBACK_APP is set to an unexpected or arbitrary binary.

Additionally, you can search your system scripts or user profiles for occurrences of PINENTRY_FALLBACK_APP being set:

  • grep -r PINENTRY_FALLBACK_APP /etc /home

Monitoring for unexpected executions or modifications related to pamusb-pinentry can also help detect exploitation attempts.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-44709. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart