CVE-2026-81716

openssl_encrypt before 1.4.9 Plugin Sandbox Path Traversal

Published Aug 27, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:*:*:*
Type Values Removed Values Added
CPEs cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:python:*:*
Type Values Removed Values Added
First Time appeared Jahlives
Jahlives openssl Encrypt
Vendors & Products Jahlives
Jahlives openssl Encrypt
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'}

Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 1, 2026, 3:21 PM
Reserved
Aug 27, 2026, 11:13 AM
Status
Analyzed
Published
Aug 27, 2026, 5:21 PM
Modified
Sep 2, 2026, 1:09 PM