Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 95%

CVE-2026-44713: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in mcdope pam_usb

0
High
VulnerabilityCVE-2026-44713cvecve-2026-44713cwe-78cwe-116
Published: 05/27/2026 (05/27/2026, 20:13:13 UTC)
Source: CVE Database V5
Vendor/Project: mcdope
Product: pam_usb

Description

pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.8.7, src/tmux.c reads the user's $TMUX environment variable, splits it on commas, and interpolates the socket-path component directly into a shell command passed to popen(). Because the value is placed inside double-quotes without sanitisation, any value containing " terminates the quoted string and injects arbitrary shell syntax.popen() runs as root inside the PAM stack. This vulnerability is fixed in 0.8.7.

CVSS v3.1

Score 8.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
mcdope/pam_usb
pkg:github/mcdope/pam_usb
Affected versions
<0.8.7

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/04/2026, 20:49:09 UTC

Technical Analysis

The vulnerability in pam_usb (before version 0.8.7) involves improper neutralization of special elements in the $TMUX environment variable. Specifically, the code in src/tmux.c reads $TMUX, splits it on commas, and interpolates the socket-path component directly into a shell command passed to popen(). Because the value is enclosed in double quotes without sanitization, an attacker can terminate the quoted string and inject arbitrary shell syntax. Since popen() runs as root within the PAM authentication stack, this leads to a high-severity OS command injection vulnerability. The vulnerability is addressed by sanitizing input or changing the handling of $TMUX in version 0.8.7.

Potential Impact

Successful exploitation allows a local attacker with limited privileges to execute arbitrary commands as root during the PAM authentication process. This can lead to full system compromise, including confidentiality, integrity, and availability impacts. The CVSS score of 8.8 reflects the high impact on confidentiality, integrity, and availability with low attack complexity but requiring local privileges.

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 update accordingly. Until upgraded, restrict access to environments where $TMUX can be manipulated by untrusted users. Patch status is not explicitly confirmed by a vendor advisory, so check for official updates or vendor communications for the latest remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 6a175c27e29bf47b50eb6092

Added to database: 05/27/2026, 21:03:35 UTC

Last enriched: 06/04/2026, 20:49:09 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 64

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses