CVE-2026-74883
Received Received - Intake

OpenSSL Encrypt Sandbox Bypass via Pathlib and IO Modules

Vulnerability report for CVE-2026-74883, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-17

Last updated on: 2026-08-17

Assigner: VulnCheck

Description

openssl_encrypt versions before 1.4.0 contain a sandbox bypass vulnerability where the plugin sandbox fails to restrict alternative file access methods like pathlib.Path and io.open. Attackers can import pathlib or io modules to read and write arbitrary files, completely bypassing the restricted_open file access controls.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-17
Last Modified
2026-08-17
Generated
2026-08-17
AI Q&A
2026-08-17
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-693 The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects openssl_encrypt versions before 1.4.0. The plugin sandbox restricts file access by overriding builtins.open with restricted_open. However, attackers can bypass this restriction by using alternative file access methods like pathlib.Path or io.open. These methods allow reading and writing arbitrary files without triggering the sandbox controls.

Detection Guidance

Check if your system uses openssl_encrypt versions before 1.4.0 by running: openssl_encrypt --version. If the version is below 1.4.0, the system is vulnerable. Inspect Python scripts for imports of pathlib or io modules, especially if they use methods like Path.read_text() or io.open().

Look for unusual file access patterns in logs or system calls that bypass restricted_open. Monitor for unexpected file writes or reads in directories outside intended paths.

Impact Analysis

Attackers can exploit this to read sensitive files or write malicious files on the system where openssl_encrypt is running. This could lead to data theft, code execution, or system compromise depending on the environment and permissions of the application.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating compliance requirements for data protection such as GDPR or HIPAA. Organizations using affected versions may face legal penalties, reputational damage, and loss of trust due to potential data breaches.

Mitigation Strategies

Upgrade openssl_encrypt to version 1.4.0 or later immediately. This version includes fixes that block pathlib and io module imports and overrides their file methods to use restricted_open.

If upgrading is not possible, add pathlib and io to the import guard's blocked modules list. Alternatively, implement OS-level restrictions like chroot or namespaces to limit file access.

Review and audit all Python scripts for unauthorized use of pathlib or io modules. Remove or restrict such usage to prevent bypass attempts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-74883. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart