Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2026-44712— pam_usb: Shell injection via device UUID and username in pamusb-conf and pamusb-agent

CVSS 8.2 · High EPSS 0.03% · P7

Affected Version Matrix 1

VendorProductVersion RangeStatus
mcdopepam_usb< 0.8.7affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-44712

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
pam_usb: Shell injection via device UUID and username in pamusb-conf and pamusb-agent
Source: NVD (National Vulnerability Database)
Vulnerability Description
pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.8.7, a crafted UUID such as $(id>/tmp/rce) in the config causes root RCE when pamusb-conf --reset-pads is run. A USB device with a crafted filesystem UUID (some controllers allow this) can inject the payload at --add-device time. Also, userName from the XML config is passed to os.system() in pamusb-agent, which invokes a shell. This vulnerability is fixed in 0.8.7.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: NVD (National Vulnerability Database)
Vulnerability Title
pam_usb 参数注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
pam_usb是McDope个人开发者的一个基于USB设备的Linux硬件认证工具。 pam_usb 0.8.7之前版本存在参数注入漏洞,该漏洞源于配置中特制的UUID(如$(id>/tmp/rce))在运行pamusb-conf --reset-pads时导致根权限远程代码执行,同时XML配置中的userName被传递给os.system(),可能执行shell命令。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
mcdopepam_usb < 0.8.7 -

II. Public POCs for CVE-2026-44712

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium
Qwen3.6-35B-A3B · 6820 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-44712

登录查看更多情报信息。

Vendor Advisories for CVE-2026-44712 (1)

Same Patch Batch · mcdope · 2026-05-27 · 15 CVEs total

CVE-2026-447138.8 HIGHpam_usb: Command injection via $TMUX environment variable leads to RCE as root
CVE-2026-480648.1 HIGHpam_usb: PAM_RHOST check skipped when deny_remote=false allows XDMCP authentication bypass
CVE-2026-447117.9 HIGHpam_usb: Symlink attacks on pad directory and pad files enable authentication bypass and r
CVE-2026-447097.8 HIGHpam_usb: PINENTRY_FALLBACK_APP environment variable allows arbitrary command execution
CVE-2026-472697.4 HIGHpam_usb: deny_remote feature incorrectly classifies IPv4-mapped IPv6 remote connections as
CVE-2026-472727.1 HIGHpam_usb: OTP pad authentication bypass via missing system pad check and uninitialized RNG
CVE-2026-480656.7 MEDIUMpam_usb: Unchecked integer multiplication before xmalloc() in conf.c allows heap-based buf
CVE-2026-472736.5 MEDIUMpam_usb: XPath injection via PAM-supplied identifiers in pam_usb configuration queries
CVE-2026-472746.3 MEDIUMpam_usb: Uncontrolled search path in pam_usb tools allows privilege escalation via PATH ma
CVE-2026-472706.3 MEDIUMpam_usb: strtok() race condition in multi-threaded PAM hosts can corrupt deny_remote resul
CVE-2026-480665.7 MEDIUMpam_usb: Thread-unsafe static pointer in log.c causes data race under concurrent PAM authe
CVE-2026-472715.1 MEDIUMpam_usb: OOM guards removed by -DNDEBUG cause NULL dereference and authentication process
CVE-2026-447104.6 MEDIUMpam_usb: NULL pointer dereference from UDisks device fields causes PAM crash and login den
CVE-2026-487924.4 MEDIUMpam_usb: pusb_has_virtual_input_device() silently discards EACCES, disabling remote deskto

IV. Related Vulnerabilities

V. Comments for CVE-2026-44712

No comments yet


Leave a comment