CVE-2026-44713
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedpam_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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidencepam_usb before 0.8.7 has a command injection vulnerability in src/tmux.c. The $TMUX environment variable is read, split on commas, and the socket-path component is directly interpolated into a shell command passed to popen() without sanitization. Since the value is placed inside double-quotes, a malicious value containing a double-quote character can escape the quoted string and inject arbitrary shell syntax. Because popen() executes inside the PAM stack, this runs as root, enabling privilege escalation.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- Low
- Privileges
- 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
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify if pam_usb PAM module is installedSearch for the pam_usb shared object in common PAM module directories (e.g., ls /lib/security/pam_usb.so, /lib64/security/pam_usb.so, or check your distribution's PAM module path)Affected if The pam_usb.so file exists in the PAM module directory
-
Determine installed pam_usb versionRun 'pam_usb --version' or check the package manager (dpkg -l | grep pam-usb, rpm -q pam-usb, etc.) to retrieve the version numberAffected if The installed version is earlier than 0.8.7 (e.g., 0.8.6, 0.8.5, etc.)
-
Check if TMUX environment variable is presentInspect environment variables for TMUX by running 'echo $TMUX' in user sessions or checking process environments of services using PAM authentication (e.g., login, sshd, sudo)Affected if The TMUX environment variable is set and contains a value that could be controlled by a user
-
Verify pam_usb is loaded in PAM configurationExamine PAM configuration files (e.g., /etc/pam.d/common-auth, /etc/pam.d/system-auth, or service-specific files like /etc/pam.d/sshd) for lines containing 'pam_usb'Affected if pam_usb is configured as an authentication module in any PAM stack that handles privileged operations
A user is affected if pam_usb earlier than version 0.8.7 is installed, loaded in a PAM stack, and the TMUX environment variable is present in contexts where that PAM stack is invoked, allowing command injection as root.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to pam_usb version 0.8.7 or later. As a workaround, unset or strictly control the TMUX environment variable for processes using PAM authentication until the upgrade is applied.
0.8.7
- 1. Identify the currently installed pam_usb version using your system's package manager (e.g., dpkg -l | grep pam-usb, rpm -qa | grep pam-usb, or check source code version)
- 2. Obtain pam_usb version 0.8.7 or later from the official source (GitHub releases or distribution package repository)
- 3. Back up the current pam_usb configuration files (typically in /etc/pam_usb/ or as specified in your setup)
- 4. Upgrade pam_usb to version 0.8.7 using your package manager or by compiling from source
- 5. Verify the upgrade was successful by checking the installed version matches 0.8.7 or later
- 6. Test that the PAM authentication still functions correctly with your hardware token
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation3.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,040.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-44713 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-44713 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data