{"id":"CVE-2026-64666","aliases":[],"cve":{"records":[{"id":"CVE-2026-64666","source":"GitHub_M","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-07-20T17:12:12.891Z","published":"2026-11-11T03:51:12.232Z","modified":"2026-11-13T17:04:04.444Z"}],"publishers":[{"name":"GitHub_M","role":"CNA","organizationId":"a0819718-46f1-4df5-94e2-005712e83aaa","modified":"2026-11-11T03:51:12.232Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-11-13T17:04:04.444Z"}],"references":[{"url":"https://github.com/mcdope/pam_usb/security/advisories/GHSA-ffx6-xjp6-x33g","tags":["x_refsource_CONFIRM"],"source":"GitHub_M"},{"url":"https://github.com/mcdope/pam_usb/issues/410","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/mcdope/pam_usb/pull/417","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/mcdope/pam_usb/commit/0b179ed679d6522c6a571c5a8ae9bdc7edbad31f","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/mcdope/pam_usb/releases/tag/0.9.3","tags":["x_refsource_MISC"],"source":"GitHub_M"}],"weaknesses":[{"id":"CWE-807","description":"CWE-807: Reliance on Untrusted Inputs in a Security Decision","source":"GitHub_M"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-11-13T17:03:41.986185Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"total"}]}]},"title":"pam_usb: getenv() in pusb_local_login bypasses XRDP deny via env-var unset","titleSource":"GitHub_M","descriptionSource":"GitHub_M","description":"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.","score":7.1,"severity":"high","published":"2026-11-11T03:51:12.232Z","modified":"2026-11-13T17:04:04.444Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"mcdope","name":"pam_usb","platforms":[],"versions":[{"version":"< 0.9.3","status":"affected"}],"cpes":[],"source":"GitHub_M","url":"https://www.cve.org/CVERecord?id=CVE-2026-64666"}],"remediation":[],"references":["https://github.com/mcdope/pam_usb/security/advisories/GHSA-ffx6-xjp6-x33g","https://github.com/mcdope/pam_usb/issues/410","https://github.com/mcdope/pam_usb/pull/417","https://github.com/mcdope/pam_usb/commit/0b179ed679d6522c6a571c5a8ae9bdc7edbad31f","https://github.com/mcdope/pam_usb/releases/tag/0.9.3"],"sources":[{"name":"CVE","id":"CVE-2026-64666","modified":"2026-11-13T17:04:04.444Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-64666"}],"assessments":[{"source":"GitHub_M","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":7.1}],"sourceAffected":[],"observedAt":"2026-11-14T01:08:37.568Z","kev":{"status":"not-listed","checkedAt":"2026-11-28T20:55:32.118Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-11T07:20:54.211Z","attemptedAt":"2026-11-11T07:20:54.211Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-11T07:20:54.211Z","attemptedAt":"2026-11-11T07:20:54.211Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-11T07:20:54.211Z","attemptedAt":"2026-11-11T07:20:54.211Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-11T07:20:54.211Z","attemptedAt":"2026-11-11T07:20:54.211Z"}],"evidence":[{"source":"NVD","id":"CVE-2026-64666","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64666","modified":"2026-11-11T05:19:50.700","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","checkedAt":"2026-11-11T07:20:54.211Z"},{"source":"ENISA EUVD","id":"EUVD-2026-123131","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-123131","modified":"Nov 11, 2026, 3:51:12 AM","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","checkedAt":"2026-11-11T07:20:54.211Z"}],"aiSummary":{"text":"pam_usb versions prior to 0.9.3 have a vulnerability where getenv() in pusb_local_login can bypass XRDP deny rules via env-var unset. The issue occurs when pam_usb.so loads into a setuid PAM host, allowing the calling user to control the environment. This weakness may allow session detection bypass.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-11T05:46:06.728Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-64666"}]}}