Description
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.
Published: 2026-08-27
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Loss of per‑plugin isolation via unintended file read/write
Action: Immediate Patch
AI Analysis

Impact

The flaw resides in PluginSandbox._is_safe_path, which incorrectly allows a sandboxed plugin to read or write files in another plugin’s directory when the directory names share a common prefix. A plugin without the READ_FILES permission can therefore expose or alter data belonging to other plugins, breaking the intended isolation and potentially leaking or corrupting sensitive information within the same user account.

Affected Systems

All releases of the openssl_encrypt package (PyPI name openssl-encrypt, GitHub project jahlives/openssl_encrypt) prior to version 1.4.9 are affected. The vulnerability is specific to the PluginSandbox logic in that library; no separate vendor products beyond the library itself are listed.

Risk and Exploitability

The CVSS score is 8.7, indicating a high severity. EPSS data are unavailable, and the vulnerability is not currently in CISA’s KEV catalog, so no documented exploits are known. Nonetheless, the flaw can be exploited by any user who can add or run a plugin via the library, making the likely attack vector local through plugin installation or execution. The exploit requires only a simple manipulation of the target path string to reference a prefixed directory.

Generated by OpenCVE AI on August 27, 2026 at 18:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade openssl-encrypt to version 1.4.9 or newer to receive the fixed prefix check logic.
  • Until an upgrade is possible, ensure that no two plugin directories share a common prefix; rename or restructure plugin directories so that a potential sandboxed plugin cannot target another by name.
  • Restrict plugin installation or execution to certificates or plugins that explicitly grant the READ_FILES permission, and review sandbox configuration to limit file system access to strictly required paths.

Generated by OpenCVE AI on August 27, 2026 at 18:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 02 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:python:*:*

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
First Time appeared Jahlives
Jahlives openssl Encrypt
Vendors & Products Jahlives
Jahlives openssl Encrypt

Thu, 27 Aug 2026 16:45:00 +0000

Type Values Removed Values Added
Description 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.
Title openssl_encrypt before 1.4.9 Plugin Sandbox Path Traversal
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 5.2, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Jahlives Openssl Encrypt
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-27T19:28:26.155Z

Reserved: 2026-08-27T11:13:14.063Z

Link: CVE-2026-81716

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-08-27T17:21:01.877

Modified: 2026-09-02T13:09:05.350

Link: CVE-2026-81716

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-27T19:00:06Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')