{"id":"CVE-2026-48792","summary":"pam_usb: pusb_has_virtual_input_device() silently discards EACCES, disabling remote desktop detection under non-root execution","details":"pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.9.1, src/evdev.c silently ignores EACCES errors when opening /dev/input/event* nodes, causing pusb_has_virtual_input_device() to return 0 (no virtual devices found) even when every open() call failed due to insufficient permissions. The caller in src/local.c cannot distinguish a clean absence of virtual devices from a permission-denied scan, and acts on the false negative by continuing authentication without denying. This vulnerability is fixed in 0.9.1.","aliases":["GHSA-pvrg-chgw-x42c"],"modified":"2026-08-12T16:25:29.714341Z","published":"2026-05-27T19:55:46.392Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-390","CWE-693"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48792.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48792.json"},{"type":"ADVISORY","url":"https://github.com/mcdope/pam_usb/security/advisories/GHSA-pvrg-chgw-x42c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48792"},{"type":"REPORT","url":"https://github.com/mcdope/pam_usb/issues/351"},{"type":"REPORT","url":"https://github.com/mcdope/pam_usb/issues/55"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mcdope/pam_usb","events":[{"introduced":"0"},{"fixed":"e2f30b22cd0715fcde0fc62d6ee3e1ca6370b8a9"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"0.9.1"}],"source":"AFFECTED_FIELD"}}],"versions":["0.9.0","0.8.7","0.8.4","0.8.3","v0.8.0","0.7.3","0.7.2","0.7.1","v0.7.0","0.5.0"],"database_specific":{"vanir_signatures":[{"digest":{"line_hashes":["32897324108646938673138056869665931337"],"threshold":0.9},"id":"CVE-2026-48792-b792a2ae","signature_type":"Line","signature_version":"v1","source":"https://github.com/mcdope/pam_usb/commit/e2f30b22cd0715fcde0fc62d6ee3e1ca6370b8a9","target":{"file":"src/version.h"},"deprecated":false}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-48792.json","vanir_signatures_modified":"2026-08-12T16:25:29Z"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"}]}