CWE-367Weakness · CWE-367

CVE-2026-48983

MEDIUM · 5.8 CVSS v3.1 Published 2026-06-18
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
60/100
Remediation priority · Elevated
Zero-click

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 · unedited
pam_usb provides hardware authentication for Linux using ordinary removable media. In versions prior to 0.9.2, a symlink race condition exists in per-device and per-user pad directory creation. pam_usb uses a check-then-act pattern: it calls lstat() to test for existence and then calls mkdir() separately to create the directory. A local attacker can win the race between these calls by replacing the target path with a symlink to a directory they control. If successful, one-time pad files may be written to an attacker-controlled location, potentially exposing future pad values before use or disrupting authentication. This issue has been fixed in version 0.9.2.

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 confidence

pam_usb versions prior to 0.9.2 contain a time-of-check-to-time-of-use (TOCTOU) race condition in per-device and per-user pad directory creation. The code uses lstat() to check for directory existence followed by a separate mkdir() call, allowing a local attacker to win the race window by replacing the target path with a symlink to a directory they control. Successful exploitation enables writing one-time pad files to attacker-controlled locations, potentially exposing future pad values or disrupting authentication.

MitigationUpgrade pam_usb to version 0.9.2 or later, which addresses the race condition by using atomic directory creation operations.

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
High
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
Low

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L

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 checks

Work through these to decide whether this CVE applies to you.

  1. Check if pam_usb is installed
    Query package manager (dpkg -l pam-usb, rpm -q pam-usb, pacman -Qs pam-usb) or search for library file /lib/security/pam_usb.so or /usr/lib/security/pam_usb.so
    Affected if pam_usb package or shared library file exists on the system
  2. Determine installed version
    Run package manager query for version (dpkg -l | grep pam-usb, rpm -q pam-usb --qf '%{VERSION}') or check library version with strings/ldd
    Affected if Installed version is identified and is below 0.9.2
  3. Identify active pam_usb PAM configuration
    Search PAM configuration files in /etc/pam.d/ for lines containing 'pam_usb' or check /etc/pam.conf for pam_usb entries
    Affected if pam_usb is configured as an authentication module in any PAM service
  4. Locate configured pad directories
    Examine pam_usb configuration file (commonly /etc/pam_usb.conf) for device and user pad directory paths; check default locations such as /var/spool/pam_usb/, /etc/pam_usb/devices/, or ~/.pam_usb/
    Affected if Pad directories are defined in configuration or exist on filesystem and pam_usb version is vulnerable
  5. Verify parent directory permissions
    Check ownership and permissions on parent directories where pad directories would be created (ls -la on paths like /var/spool/, /etc/, user home directories)
    Affected if Parent directories are writable by non-root users, allowing symlink race exploitation

User is affected if pam_usb version is below 0.9.2 AND pam_usb is configured in PAM AND pad directory creation paths exist with writable parent directories.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade pam_usb to version 0.9.2 or later, which addresses the race condition by using atomic directory creation operations.

Recommended fix High confidence

pam_usb version 0.9.2

  1. 1. Check the currently installed version of pam_usb (e.g., using package manager or reviewing installed files)
  2. 2. Upgrade pam_usb to version 0.9.2 or later using the appropriate package manager or by compiling from source
  3. 3. Verify the upgrade was successful by checking the installed version

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation3.0 h
  • Implementation6.0 h
  • Testing4.0 h
  • Review / QA2.0 h
15.0 hours of engineering $2,640
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,224.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-48983 — 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-48983 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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