# CVE-2026-47273: pam_usb: XPath injection via PAM-supplied identifiers in pam_usb configuration queries

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-02)
- Published: 2026-05-27T20:03:39.297Z
- Modified: 2026-10-26T11:10:00.157Z
- Weaknesses: CWE-91
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- mcdope pam_usb: < 0.9.0

## 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>

## Sources

- CVE List: [CVE-2026-47273](https://www.cve.org/CVERecord?id=CVE-2026-47273), CVE Terms of Use, modified 2026-05-28
- NVD: [CVE-2026-47273](https://nvd.nist.gov/vuln/detail/CVE-2026-47273), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-47273 · Whole record: https://cve.day/CVE-2026-47273.json · Rebuilt by cve.day 2026-11-25T22:59:22.674Z
