{"id":"CVE-2026-48980","state":"PUBLISHED","title":"pam_usb: getenv() used in PAM context allows environment variable injection into local-check logic","description":"pam_usb provides hardware authentication for Linux using removable media. In versions prior to 0.9.2,  getenv() environment variables XRDP_SESSION, DISPLAY and TMUX allow environment variable injection into local-check logic. These environment variables influence whether a current session is local or remote, and a PAM module that runs in the context of setuid binaries (sudo, su), getenv() returns attacker-controlled values whenever the process environment has been manipulated by a local user. This issue has been fixed in version 0.9.2.","publishedAt":"2026-06-18T19:26:05.340Z","updatedAt":"2026-06-18T20:25:31.988Z","severity":{"score":6.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["mcdope pam_usb"],"affected":[{"vendor":"mcdope","product":"pam_usb","versions":[{"version":"< 0.9.2","status":"affected"}]}],"references":["https://github.com/mcdope/pam_usb/security/advisories/GHSA-qr83-mf3h-fvqr","https://github.com/mcdope/pam_usb/releases/tag/0.9.2"],"weaknesses":["CWE-454","CWE-807"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/48xxx/CVE-2026-48980.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-48980","state":"PUBLISHED","datePublished":"2026-06-18T19:26:05.340Z","dateUpdated":"2026-06-18T20:25:31.988Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-26T23:26:07.974Z"},"containers":{"cna":{"title":"pam_usb: getenv() used in PAM context allows environment variable injection into local-check logic","descriptions":[{"lang":"en","value":"pam_usb provides hardware authentication for Linux using removable media. In versions prior to 0.9.2,  getenv() environment variables XRDP_SESSION, DISPLAY and TMUX allow environment variable injection into local-check logic. These environment variables influence whether a current session is local or remote, and a PAM module that runs in the context of setuid binaries (sudo, su), getenv() returns attacker-controlled values whenever the process environment has been manipulated by a local user. This issue has been fixed in version 0.9.2."}],"affected":[{"vendor":"mcdope","product":"pam_usb","versions":[{"version":"< 0.9.2","status":"affected"}]}],"references":[{"url":"https://github.com/mcdope/pam_usb/security/advisories/GHSA-qr83-mf3h-fvqr","name":"https://github.com/mcdope/pam_usb/security/advisories/GHSA-qr83-mf3h-fvqr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mcdope/pam_usb/releases/tag/0.9.2","name":"https://github.com/mcdope/pam_usb/releases/tag/0.9.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-454","lang":"en","description":"CWE-454: External Initialization of Trusted Variables or Data Stores","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-807","lang":"en","description":"CWE-807: Reliance on Untrusted Inputs in a Security Decision","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-06-18T19:26:05.340Z"},"source":{"advisory":"GHSA-qr83-mf3h-fvqr","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-18T20:25:21.713697Z","id":"CVE-2026-48980","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-18T20:25:31.988Z"}}]}}}