Skip to main content
← All vulnerabilities
CVE-2026-81694PYSEC-2026-3960GHSA-C793-RJ9W-R3WG

openssl-encrypt before 1.4.9 Output Injection via Unsanitized Filenames in verify-usb Command

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.4.9
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

The openssl-encrypt Python package (before version 1.4.9) is affected, specifically its verify-usb command. An attacker who can place files on a USB drive could use specially crafted filenames to manipulate the terminal output, making it appear that tampered data passed verification.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

openssl-encrypt (pip package, versions <= 1.4.8) fails to sanitize filenames read from untrusted drive data (outside the AES-GCM authenticated manifest) before printing them in the verify-usb command's output. An attacker can plant filenames containing terminal cursor-movement and erase-line control bytes that repaint a forged PASSED verdict on screen, masking actual tamper detection. Fixed in 1.4.9 by routing drive-derived names through sanitize_for_display().

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • jahlives openssl_encrypt

    fixed in 1.4.9

  • openssl-encryptPyPI

    fixed in 1.4.9

References 2

GitHub · jahlives/openssl_encrypt

vulncheck.com