CVE-2026-48983
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. 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 confidencepam_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.
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 checksWork through these to decide whether this CVE applies to you.
-
Check if pam_usb is installedQuery 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.soAffected if pam_usb package or shared library file exists on the system
-
Determine installed versionRun package manager query for version (dpkg -l | grep pam-usb, rpm -q pam-usb --qf '%{VERSION}') or check library version with strings/lddAffected if Installed version is identified and is below 0.9.2
-
Identify active pam_usb PAM configurationSearch PAM configuration files in /etc/pam.d/ for lines containing 'pam_usb' or check /etc/pam.conf for pam_usb entriesAffected if pam_usb is configured as an authentication module in any PAM service
-
Locate configured pad directoriesExamine 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
-
Verify parent directory permissionsCheck 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.
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 pam_usb to version 0.9.2 or later, which addresses the race condition by using atomic directory creation operations.
pam_usb version 0.9.2
- 1. Check the currently installed version of pam_usb (e.g., using package manager or reviewing installed files)
- 2. Upgrade pam_usb to version 0.9.2 or later using the appropriate package manager or by compiling from source
- 3. Verify the upgrade was successful by checking the installed version
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.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 $4,224.
Scan for this in your stack
Free · runs locallyCheck 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 sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-48983 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