openssl-encrypt before 1.4.9 Output Injection via Unsanitized Filenames in verify-usb Command
jahlives openssl_encrypt
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| openssl-encrypt PyPI |
|
|
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().
From the CVE record · VulnCheck
References
- github.com/jahlives/openssl_encrypt/security/advisories/GHSA-c793-rj9w-r3wgVendor advisory
- vulncheck.com/advisories/verify-usb-before-1.4.9-output-injection-via-unsanitized-filenamesAdvisory
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81694.json
- nvd.nist.gov/vuln/detail/CVE-2026-81694