llamaCVEVulnerability Intelligence
/
pam_usb

CVE-2026-64666

pam_usb security check bypass in XRDP session deny rule

A local user already logged in can clear an environment variable to bypass a block on XRDP remote sessions.

Specific setups onlyParche disponiblesecurity check bypass
Descargar PNG JSON
CVSS 3.1
7.1
Alta
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión0.9.3
Exposición8 dDesde la divulgación, 10 nov 2026, 10:51 p. m.
Detección10 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Sin explotación conocida, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada +1
Fuente: OSV +1
Verificada
11 nov 26
12 nov 26
13 nov 26
16 nov 26
19 nov 26
11 nov 26
13 nov 26
15 nov 26
17 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-64666 divulgada · CVSS 7.1 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 10 nov 2026

pam_usb, a hardware authentication module for Linux that uses removable media, has a flaw where it reads the XRDP_SESSION environment variable with plain getenv instead of secure_getenv, so a local user who is already logged in can clear that variable before the module runs and get past its rule that denies logins from XRDP remote sessions. The attacker needs only low-privilege local access and no user interaction, and the flaw is fixed in a later release.

Affects pam_usb 0.9.2 and earlier releases that include the XRDP env-var deny block, when pam_usb.so loads into a setuid PAM host. Fixed in 0.9.3.

¿Qué significa?A local user can clear XRDP_SESSION before invoking a setuid PAM host. This bypasses the explicit XRDP-deny rule, so pam_usb authentication proceeds in a remote session.
¿Quién está afectado?Affected are pam_usb releases 0.9.2 and earlier that include the XRDP env-var deny block, where pam_usb.so is loaded into a setuid PAM host and the calling user controls the environment. To check, look at the installed pam_usb version.
¿Qué hacer?Upgrade pam_usb to 0.9.3, the fixed version.
Descripción original del registro (GitHub_M)

pam_usb provides hardware authentication for Linux using removable media. Prior to version 0.9.3, src/local.c reads XRDP_SESSION with plain getenv(3) at the head of pusb_local_login while every other env consumer in the same function uses secure_getenv(3). When pam_usb.so loads into a setuid PAM host, the calling user controls the environment passed in. Clearing XRDP_SESSION before invoking the host bypasses the explicit XRDP-deny rule. Other remote-detection signals (rmsvc, evdev, loginctl, utmp) may still catch the session, but the env-based detection alone is defeated. This issue has been patched in version 0.9.3.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Affects pam_usb releases that include the XRDP env-var deny block (affected versions are 0.9.2 and earlier).“Affects all releases that include the XRDP env-var deny block.”
02
pam_usb.so is loaded into a setuid PAM host.“When pam_usb.so loads into a setuid PAM host, the calling user controls the environment passed in.”
¿Quién debe revisar?Teams running pam_usb 0.9.2 or earlier as a PAM module, especially on hosts with setuid PAM programs, that rely on the XRDP deny rule for remote sessions.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:L
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
pam_usb< 0.9.3
0.9.3
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pam_usb
Corregida 0.9.3 — —
Versiones corregidas0.9.3
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/mcdope/pam_usb/security/advisories/GHSA-ffx6-xjp6-x33g
Otrahttps://github.com/mcdope/pam_usb/issues/410
Otrahttps://github.com/mcdope/pam_usb/pull/417
Otrahttps://github.com/mcdope/pam_usb/commit/0b179ed679d6522c6a571c5a8ae9bdc7edbad31f
Otrahttps://github.com/mcdope/pam_usb/releases/tag/0.9.3

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.