{"id":"CVE-2026-47273","published":"2026-05-27T20:03:39Z","modified":"2026-05-28T13:26:13Z","title":"pam_usb: XPath injection via PAM-supplied identifiers in pam_usb configuration queries","vendor":"mcdope","product":"pam_usb","tier":"tail","description":{"text":"pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.9.0, pam_usb builds XPath expressions from user-supplied identifiers (PAM username, service name) and device-supplied identifiers (USB device serial, model, vendor) to query /etc/pamusb.conf. These identifiers were not validated for XPath metacharacters, allowing injection of arbitrary XPath predicates. This vulnerability is fixed in 0.9.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00273,"percentile":0.20079,"provenance":"source"},"cwes":[{"id":"CWE-91","name":"XML Injection"}],"references":[{"url":"https://github.com/mcdope/pam_usb/security/advisories/GHSA-vfj3-5h5v-6g93","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mcdope/pam_usb/pull/311","tags":["x_refsource_MISC"]},{"url":"https://github.com/mcdope/pam_usb/commit/721fed08a3596cb5b4671ad702f8fdc12dcc7420","tags":["x_refsource_MISC"]}],"priority":{"score":8.6,"factors":[{"name":"EPSS percentile","points":4.02},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"mcdope","affectedVersions":[{"vendor":"mcdope","product":"pam_usb","versions":["< 0.9.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-28T13:26:03.390650Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-32652","exploited":false,"provenance":"source"}}