CVE-2026-48981: pam_usb: xmlReadFile flags=0 permits XXE network entity fetching in conf.c

Published Jun 18, 2026
·
Updated

pamusb provides hardware authentication for Linux using ordinary removable media. In versions prior to 0.9.2, pamusb calls xmlReadFile() with flags=0 when loading the configuration file, allowing libxml2 to process external entity references (XXE), potentially making outbound network connections or local file reads at XML parse time from the context of the authenticating process. The vulnerability requires the configuration file to contain crafted XML entity references. Since pamusb.conf is root-owned, direct exploitation requires prior write access to the config, but the defence-in-depth impact is significant given that pamusb.so runs in setuid contexts (sudo, su). This issue has been fixed in version 0.9.2.

Affected Software

1 affected component
pam_usb pam_usb<0.9.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pam_usb to a version that resolves this vulnerability.

    Fixed in 0.9.2

Event History

Jun 18, 2026
CVE Published
via MITRE·06:55 PM
Data Sourced
via MITRE·06:55 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-48981?

The severity of CVE-2026-48981 is rated as medium with a score of 6.7.

2

How do I fix CVE-2026-48981?

To fix CVE-2026-48981, upgrade to pam_usb version 0.9.2 or later where the vulnerability is addressed.

3

What does CVE-2026-48981 affect?

CVE-2026-48981 affects pam_usb, which provides hardware authentication for Linux using removable media.

4

What type of attack does CVE-2026-48981 allow?

CVE-2026-48981 allows for XML External Entity (XXE) attacks, which can lead to outbound network connections.

5

What are the potential consequences of CVE-2026-48981?

The potential consequences of CVE-2026-48981 include data exposure and unauthorized access via XML parsing.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203