{"id":"CVE-2026-81690","aliases":["CVE-2026-81690","PYSEC-2026-3796","GHSA-hw7h-wqf5-6crx"],"related":[],"kind":"vulnerability","state":"published","title":"verify-usb before 1.4.9 Symlink Directory Traversal Code Execution","summary":"openssl-encrypt (pip package) before 1.4.9 contains a symlink-following flaw in its verify-usb v2 added-file allowlist scan. The scan enumerated the drive with rglob(), which in CPython does not descend into symlinked directories and treats the symlink as an ordinary directory, while O_NOFOLLOW on the hash side binds only the final path component. An evil-maid attacker with physical access to the removable drive could replace a tool-tree directory with a symlink to a copy containing byte-identical files plus a planted __pycache__/*.pyc file (which CPython loads in preference to recompiling the clean .py). The planted file is never enumerated, added_files stays 0, and verify-usb reports PASSED, resulting in code execution when the victim runs the portable install. Fixed in 1.4.9 (affects both 1.4.x and 1.5.x lines).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"openssl-encrypt (pip package) before 1.4.9 contains a symlink-following flaw in its verify-usb v2 added-file allowlist scan. The scan enumerated the drive with rglob(), which in CPython does not descend into symlinked directories and treats the symlink as an ordinary directory, while O_NOFOLLOW on the hash side binds only the final path component. An evil-maid attacker with physical access to the removable drive could replace a tool-tree directory with a symlink to a copy containing byte-identical files plus a planted __pycache__/*.pyc file (which CPython loads in preference to recompiling the clean .py). The planted file is never enumerated, added_files stays 0, and verify-usb reports PASSED, resulting in code execution when the victim runs the portable install. Fixed in 1.4.9 (affects both 1.4.x and 1.5.x lines).","source":"cvelist"}],"published":"2026-08-27T14:50:55.418Z","modified":"2026-10-01T15:21:23.408Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H","score":7.3,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}],"cwes":["CWE-59"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.4.9","status":"affected"},{"type":"semver","version":"1.4.9","status":"unaffected"}],"vendor":"jahlives","product":"openssl_encrypt","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.4.9"}],"vendor":"jahlives","product":"openssl_encrypt","cpe":"cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.4.9"}],"ecosystem":"PyPI","package":"openssl-encrypt","purl":"pkg:pypi/openssl-encrypt","source":"pysec"}],"references":[{"url":"https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-hw7h-wqf5-6crx","tags":["advisory","vendor-advisory"],"sources":["cvelist","nvd","pysec"]},{"url":"https://www.vulncheck.com/advisories/verify-usb-before-1.4.9-symlink-directory-traversal-code-execution","tags":["advisory","third-party-advisory"],"sources":["cvelist","nvd","pysec"]}],"credits":[],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-27T19:25:39.673Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-81690","url":"https://www.cve.org/CVERecord?id=CVE-2026-81690","licence":"CVE Terms of Use","modified":"2026-10-01T15:21:23.408Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-81690","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81690","licence":"Public domain","modified":"2026-09-02T13:10:16.537Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-3796","url":"https://osv.dev/vulnerability/PYSEC-2026-3796","licence":"CC-BY-4.0","modified":"2026-09-03T11:00:03.943Z"}],"updatedAt":"2026-11-25T22:59:35.506Z","epss":{"score":0.00487,"percentile":0.43584,"date":"2026-12-01T12:00:22.000Z"}}