{"id":"CVE-2026-81716","summary":"openssl_encrypt before 1.4.9 Plugin Sandbox Path Traversal","details":"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.","aliases":["GHSA-vr4h-5xqv-xxxf"],"modified":"2026-08-30T03:31:05.642263349Z","published":"2026-08-27T14:51:11.331Z","database_specific":{"cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81716.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81716.json"},{"type":"ADVISORY","url":"https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-vr4h-5xqv-xxxf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81716"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/openssl-encrypt-before-1.4.9-plugin-sandbox-path-traversal"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jahlives/openssl_encrypt","events":[{"introduced":"0"},{"fixed":"39b0a010cae90520f74b7194f61fedd43af04ef8"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.4.9"}],"source":["AFFECTED_FIELD","DESCRIPTION"]}}],"versions":["v1.4.7","v1.4.6","v1.4.5","v1.4.4","v1.4.2","v1.4.1rc2","v1.4.1rc1","v1.4.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-81716.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}