CVE-2026-81716: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in jahlives openssl_encrypt
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.
CVSS v4.0
Score 8.7high
Affected software
jahlives
openssl_encrypt
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in openssl_encrypt (pip package) versions before 1.4.9 arises from improper limitation of pathname access in PluginSandbox._is_safe_path. The method authorized file access based on a simple string-prefix match, allowing unauthorized read/write access to directories of other plugins with similar name prefixes. This breaks the intended per-plugin isolation within the same user context. The fix involves changing the path validation logic to match allowed directories exactly or with a trailing path separator to prevent prefix-based bypass.
Potential Impact
An attacker controlling a sandboxed plugin without READ_FILES permission can read or write files in other plugins' directories if those directories share a name prefix. This compromises the isolation between plugins, potentially leading to unauthorized data access or modification within the same user environment. The vulnerability has a high severity with a CVSS 4.0 score of 8.7, indicating it is remotely exploitable without privileges or user interaction and results in high confidentiality impact.
Mitigation Recommendations
A fix is available in openssl_encrypt version 1.4.9 that corrects the path validation logic to prevent path traversal via prefix matching. Users should upgrade to version 1.4.9 or later to remediate this vulnerability. No vendor advisory content was provided, so check the official project repository or vendor channels for the patch and further guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-27T11:13:14.063Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a906bbaacd9273b4983a298
Added to database: 08/27/2026, 16:54:18 UTC
Last enriched: 10/02/2026, 15:56:56 UTC
Last updated: 10/10/2026, 18:48:23 UTC
Views: 81
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.