SecurityContext

CVE-2026-81690: openssl-encrypt - Code Execution

  • Cve: CVE-2026-81690
  • Name: openssl-encrypt - Code Execution
  • Description: 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).
  • Impact: An attacker with physical access can execute arbitrary code when the victim runs the portable install.
  • Remediation: Update to version 1.4.9 or later.
  • Vulnerability impact: remote_code_execution
  • Requirements: Attacker needs physical access to the removable drive
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.3
  • Cvss vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H
  • Epss score: 0.00706
  • Epss percentile: 0.54114
  • Assignee: [email protected]
  • Published at: 2026-08-27T17:20:58Z
  • Age in days: 89
  • Modified at: 2026-09-02T13:10:16Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-81690
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, requirement type, hackerone

Cwe

IdName
CWE-59Improper Link Resolution Before File Access

References

UrlSourceTags
https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-hw7h-wqf5-6crxnvdVendor Advisory
https://www.vulncheck.com/advisories/verify-usb-before-1.4.9-symlink-directory-traversal-code-executionnvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
jahlives:openssl_encrypt< 1.4.9nonvd/v1/products/jahlives/openssl_encrypt

Projects

RepositoryLink kindsIndexedUrl
jahlives/openssl_encryptsecurity_advisoryyes/v1/repositories/jahlives/openssl_encrypt

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts