---
id: CVE-2026-74884
aliases:
  - PYSEC-2026-3761
  - GHSA-8jpj-w975-rwv5
title: >-
  openssl_encrypt versions before 1.4.0 contain a path traversal vulnerability
  in the _is_safe_path method where the plugin_id parameter is…
summary: >-
  openssl_encrypt versions before 1.4.0 contain a path traversal vulnerability
  in the _is_safe_path method where the plugin_id parameter is not sanitized
  before constructing the plugin config directory path. Attackers can declare a
  malicio…
severity: none
vendor: openssl-encrypt
product: openssl-encrypt
ecosystem: pip
affected:
  - openssl-encrypt < 1.4.0
patched:
  - openssl-encrypt 1.4.0
published: '2026-08-17'
updated: '2026-09-02'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/PYSEC-2026-3761'
references:
  - url: >-
      https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-8jpj-w975-rwv5
  - url: >-
      https://www.vulncheck.com/advisories/openssl-encrypt-before-path-traversal-via-plugin-id
tags:
  - osv
  - pip
epss: 0.00437
epssPercentile: 0.35357
ingestedAt: '2026-09-02T19:31:25.455Z'
---

## Overview

openssl_encrypt versions before 1.4.0 contain a path traversal vulnerability in the _is_safe_path method where the plugin_id parameter is not sanitized before constructing the plugin config directory path. Attackers can declare a malicious plugin_id containing path traversal sequences like '../' to access arbitrary directories outside the intended plugin directory.

## Affected packages

- `openssl-encrypt < 1.4.0`

## Remediation

Upgrade to a patched release:

- `openssl-encrypt 1.4.0`
