---
id: CVE-2026-81694
aliases:
  - PYSEC-2026-3960
  - GHSA-c793-rj9w-r3wg
title: >-
  openssl-encrypt (pip package, versions <= 1.4.8) fails to sanitize filenames
  read from untrusted drive data (outside the AES-GCM authenti…
summary: >-
  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
  filen…
severity: none
vendor: openssl-encrypt
product: openssl-encrypt
ecosystem: pip
affected:
  - openssl-encrypt < 1.4.9
patched:
  - openssl-encrypt 1.4.9
published: '2026-08-27'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T13:00:04.191816774Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/PYSEC-2026-3960'
references:
  - url: >-
      https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-c793-rj9w-r3wg
  - url: >-
      https://www.vulncheck.com/advisories/verify-usb-before-1.4.9-output-injection-via-unsanitized-filenames
tags:
  - osv
  - pip
epss: 0.0025
epssPercentile: 0.14608
ingestedAt: '2026-09-12T03:13:01.743Z'
---

## Overview

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().

## Affected packages

- `openssl-encrypt < 1.4.9`

## Remediation

Upgrade to a patched release:

- `openssl-encrypt 1.4.9`
