---
id: CVE-2026-81716
aliases:
  - PYSEC-2026-3800
  - GHSA-vr4h-5xqv-xxxf
title: >-
  openssl_encrypt (pip: openssl-encrypt) versions before 1.4.9 contain a path
  traversal flaw in PluginSandbox._is_safe_path, which authoriz…
summary: >-
  openssl_encrypt (pip: openssl-encrypt) versions before 1.4.9 contain a path
  traversal flaw in PluginSandbox._is_safe_path, which authorized file access
  using a bare string-prefix match. A sandboxed plugin without the READ_FILES
  permissio…
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-03'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/PYSEC-2026-3800'
references:
  - url: >-
      https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-vr4h-5xqv-xxxf
  - url: >-
      https://www.vulncheck.com/advisories/openssl-encrypt-before-1.4.9-plugin-sandbox-path-traversal
tags:
  - osv
  - pip
epss: 0.00261
epssPercentile: 0.15966
ingestedAt: '2026-09-03T19:32:12.324Z'
---

## Overview

openssl_encrypt (pip: openssl-encrypt) versions before 1.4.9 contain a path traversal flaw in PluginSandbox._is_safe_path, which authorized file access using a bare string-prefix match. A sandboxed plugin without the READ_FILES permission could read or write another plugin's directory that merely shares a name prefix (e.g., .../plugins/foobar matching allowed .../plugins/foo), breaking per-plugin isolation within the same user. Fixed by matching each allowed directory exactly or with a trailing path separator.

## Affected packages

- `openssl-encrypt < 1.4.9`

## Remediation

Upgrade to a patched release:

- `openssl-encrypt 1.4.9`
