Description
pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.9.1, when a PAM service is configured with deny_remote=false in pam_usb (commonly done for display managers such as gdm-password or lightdm to bypass process/TTY heuristics for local sessions), the PAM_RHOST check in pusb_do_auth() is also skipped. PAM_RHOST is set by remote daemons (sshd, XDMCP servers) to identify the remote client address. Because the check is gated inside if (opts.deny_remote), a genuine remote XDMCP connection reaches the USB device authentication step instead of being rejected. This vulnerability is fixed in 0.9.1.
Published: 2026-05-27
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

pam_usb is a PAM module that authenticates users using removable USB media. The vulnerability resides in a missing check of the remote host field (PAM_RHOST). When the configuration option deny_remote is set to false—a common practice for display managers like gdm-password or lightdm—the PAM_RHOST value supplied by remote daemons such as SSH or XDMCP is ignored. This omission, categorized as CWE‑863, permits a remote XDMCP session to reach the USB authentication step without the module rejecting the connection, thereby enabling an attacker to bypass the usual remote host verification and potentially gain authenticated access to the system.

Affected Systems

The affected product is pam_usb released by mcdope. All versions prior to 0.9.1 are vulnerable. Systems that use pam_usb with deny_remote set to false (for example, Linux installations running gdm-password or lightdm) are impacted.

Risk and Exploitability

The CVSS score of 8.1 indicates high severity. EPSS data is not available, so exploitation frequency cannot be quantified, but the flaw exists in every pre‑0.9.1 release and remote XDMCP is a widely deployed protocol, providing a clear attack vector. The vulnerability is not yet listed in the CISA KEV catalog, suggesting no publicly known exploits yet, but the straightforward bypass path could be leveraged by an attacker with access to a remote XDMCP session.

Generated by OpenCVE AI on May 27, 2026 at 21:46 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade pam_usb to version 0.9.1 or newer.
  • If an immediate upgrade is not possible, configure deny_remote=true in the pam_usb configuration to re‑enable remote host checks.
  • Disable XDMCP or other remote desktop protocols so that remote clients cannot reach the authentication step.

Generated by OpenCVE AI on May 27, 2026 at 21:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 02 Jun 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 29 May 2026 16:00:00 +0000

Type Values Removed Values Added
First Time appeared Mcdope
Mcdope pam Usb
Vendors & Products Mcdope
Mcdope pam Usb

Wed, 27 May 2026 20:15:00 +0000

Type Values Removed Values Added
Description pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.9.1, when a PAM service is configured with deny_remote=false in pam_usb (commonly done for display managers such as gdm-password or lightdm to bypass process/TTY heuristics for local sessions), the PAM_RHOST check in pusb_do_auth() is also skipped. PAM_RHOST is set by remote daemons (sshd, XDMCP servers) to identify the remote client address. Because the check is gated inside if (opts.deny_remote), a genuine remote XDMCP connection reaches the USB device authentication step instead of being rejected. This vulnerability is fixed in 0.9.1.
Title pam_usb: PAM_RHOST check skipped when deny_remote=false allows XDMCP authentication bypass
Weaknesses CWE-863
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-02T17:40:46.535Z

Reserved: 2026-05-20T18:25:25.707Z

Link: CVE-2026-48064

cve-icon Vulnrichment

Updated: 2026-06-02T17:39:29.152Z

cve-icon NVD

Status : Deferred

Published: 2026-05-27T20:16:40.230

Modified: 2026-06-02T20:16:38.090

Link: CVE-2026-48064

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-29T15:50:10Z

Weaknesses