{"id":"CVE-2026-48983","aliases":["CVE-2026-48983"],"related":[],"kind":"vulnerability","state":"published","title":"pam_usb: TOCTOU race condition in pad directory creation allows symlink substitution","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"pam_usb proporciona autenticación de hardware para Linux utilizando medios extraíbles ordinarios. En versiones anteriores a la 0.9.2, existe una condición de carrera de enlace simbólico en la creación de directorios de pad por dispositivo y por usuario. pam_usb utiliza un patrón de verificar y luego actuar: llama a lstat() para comprobar la existencia y luego llama a mkdir() por separado para crear el directorio. Un atacante local puede ganar la carrera entre estas llamadas reemplazando la ruta de destino con un enlace simbólico a un directorio que controla. Si tiene éxito, los archivos de pad de un solo uso pueden escribirse en una ubicación controlada por el atacante, exponiendo potencialmente valores de pad futuros antes de su uso o interrumpiendo la autenticación. Este problema ha sido corregido en la versión 0.9.2.","source":"nvd"}],"published":"2026-06-18T19:07:56.198Z","modified":"2026-10-26T11:10:00.157Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L","score":5.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L","score":5.8,"rating":"MEDIUM"}],"cwes":["CWE-367"],"affected":[{"ranges":[{"version":"< 0.9.2","status":"affected"}],"vendor":"mcdope","product":"pam_usb","source":"cvelist"}],"references":[{"url":"https://github.com/mcdope/pam_usb/security/advisories/GHSA-4j8q-67fq-3xc3","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mcdope/pam_usb/releases/tag/0.9.2","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-22T12:41:19.864Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-48983","url":"https://www.cve.org/CVERecord?id=CVE-2026-48983","licence":"CVE Terms of Use","modified":"2026-06-22T12:41:34.711Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-48983","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48983","licence":"Public domain","modified":"2026-10-26T11:10:00.157Z"}],"updatedAt":"2026-11-25T22:59:25.172Z","epss":{"score":0.00084,"percentile":0.00264,"date":"2026-12-01T12:00:22.000Z"}}