{"id":"CVE-2026-44712","state":"PUBLISHED","title":"pam_usb: Shell injection via device UUID and username in pamusb-conf and pamusb-agent","description":"pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.8.7, a crafted UUID such as $(id>/tmp/rce) in the config causes root RCE when pamusb-conf --reset-pads is run. A USB device with a crafted filesystem UUID (some controllers allow this) can inject the payload at --add-device time. Also, userName from the XML config is passed to os.system() in pamusb-agent, which invokes a shell. This vulnerability is fixed in 0.8.7.","publishedAt":"2026-05-27T20:24:23.131Z","updatedAt":"2026-05-28T13:17:14.622Z","severity":{"score":8.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["mcdope pam_usb"],"affected":[{"vendor":"mcdope","product":"pam_usb","versions":[{"version":"< 0.8.7","status":"affected"}]}],"references":["https://github.com/mcdope/pam_usb/security/advisories/GHSA-jgv5-w6rm-7wxg"],"weaknesses":["CWE-78","CWE-88"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/44xxx/CVE-2026-44712.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-44712","state":"PUBLISHED","datePublished":"2026-05-27T20:24:23.131Z","dateUpdated":"2026-05-28T13:17:14.622Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-07T17:07:09.318Z"},"containers":{"cna":{"title":"pam_usb: Shell injection via device UUID and username in pamusb-conf and pamusb-agent","descriptions":[{"lang":"en","value":"pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.8.7, a crafted UUID such as $(id>/tmp/rce) in the config causes root RCE when pamusb-conf --reset-pads is run. A USB device with a crafted filesystem UUID (some controllers allow this) can inject the payload at --add-device time. Also, userName from the XML config is passed to os.system() in pamusb-agent, which invokes a shell. This vulnerability is fixed in 0.8.7."}],"affected":[{"vendor":"mcdope","product":"pam_usb","versions":[{"version":"< 0.8.7","status":"affected"}]}],"references":[{"url":"https://github.com/mcdope/pam_usb/security/advisories/GHSA-jgv5-w6rm-7wxg","name":"https://github.com/mcdope/pam_usb/security/advisories/GHSA-jgv5-w6rm-7wxg","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":8.2,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-88","lang":"en","description":"CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-27T20:24:23.131Z"},"source":{"advisory":"GHSA-jgv5-w6rm-7wxg","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-28T13:16:06.876396Z","id":"CVE-2026-44712","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-28T13:17:14.622Z"}}]}}}