{"id":"CVE-2026-47273","state":"PUBLISHED","title":"pam_usb: XPath injection via PAM-supplied identifiers in pam_usb configuration queries","description":"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.","publishedAt":"2026-05-27T20:03:39.297Z","updatedAt":"2026-05-28T13:26:13.079Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["mcdope pam_usb"],"affected":[{"vendor":"mcdope","product":"pam_usb","versions":[{"version":"< 0.9.0","status":"affected"}]}],"references":["https://github.com/mcdope/pam_usb/security/advisories/GHSA-vfj3-5h5v-6g93","https://github.com/mcdope/pam_usb/pull/311","https://github.com/mcdope/pam_usb/commit/721fed08a3596cb5b4671ad702f8fdc12dcc7420"],"weaknesses":["CWE-91"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/47xxx/CVE-2026-47273.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-47273","state":"PUBLISHED","datePublished":"2026-05-27T20:03:39.297Z","dateUpdated":"2026-05-28T13:26:13.079Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-18T23:03:37.230Z"},"containers":{"cna":{"title":"pam_usb: XPath injection via PAM-supplied identifiers in pam_usb configuration queries","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"mcdope","product":"pam_usb","versions":[{"version":"< 0.9.0","status":"affected"}]}],"references":[{"url":"https://github.com/mcdope/pam_usb/security/advisories/GHSA-vfj3-5h5v-6g93","name":"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","name":"https://github.com/mcdope/pam_usb/pull/311","tags":["x_refsource_MISC"]},{"url":"https://github.com/mcdope/pam_usb/commit/721fed08a3596cb5b4671ad702f8fdc12dcc7420","name":"https://github.com/mcdope/pam_usb/commit/721fed08a3596cb5b4671ad702f8fdc12dcc7420","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-91","lang":"en","description":"CWE-91: XML Injection (aka Blind XPath Injection)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-27T20:03:39.297Z"},"source":{"advisory":"GHSA-vfj3-5h5v-6g93","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-28T13:26:03.390650Z","id":"CVE-2026-47273","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-28T13:26:13.079Z"}}]}}}