CVE-2026-81697: Untrusted Search Path in jahlives openssl_encrypt
Description
openssl_encrypt (pip package openssl-encrypt) versions <= 1.4.8 contain a CWD-relative configuration file resolution flaw in crypt_settings.py, where CONFIG_FILE (originally the absolute per-user path ~/.crypt_settings.json) is reassigned at line 84 to the bare relative name 'crypt_settings.json'. As a result, the legacy Tk GUI's SettingsTab reads and writes KDF settings from crypt_settings.json in the process launch (current working) directory instead of the user's home directory. An attacker who plants a malicious crypt_settings.json (e.g. sha256:1 with all memory-hard KDFs disabled) can silently downgrade encryption performed in that GUI session to roughly one hash round, bypassing the weak-KDF preflight and enabling offline brute-force attacks against the resulting ciphertext. Fixed in 1.4.9.
CVSS v4.0
Score 8.7high
Affected software
jahlives
openssl_encrypt
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-81697 describes a vulnerability in the openssl_encrypt Python package (versions <= 1.4.8) where the crypt_settings.py module reassigns the CONFIG_FILE variable from an absolute path (~/.crypt_settings.json) to a relative filename ('crypt_settings.json'). This causes the legacy Tk GUI's SettingsTab to read and write KDF settings from the current working directory instead of the user's home directory. An attacker who places a malicious crypt_settings.json file in the process launch directory can disable memory-hard KDFs, effectively downgrading encryption strength to roughly one hash round. This bypasses the weak-KDF preflight check and facilitates offline brute-force attacks against encrypted data. The vulnerability is resolved in version 1.4.9.
Potential Impact
An attacker with the ability to place a malicious crypt_settings.json file in the working directory can silently weaken the key derivation function settings used by the GUI, reducing encryption strength significantly. This enables offline brute-force attacks on ciphertext that would otherwise be protected by stronger KDF parameters. The vulnerability does not require privileges or user interaction and can be exploited remotely if the attacker can influence the working directory contents. There are no known exploits in the wild as of the publication date.
Mitigation Recommendations
Upgrade to openssl_encrypt version 1.4.9 or later, where this vulnerability is fixed. Until then, avoid running the legacy Tk GUI in directories writable by untrusted users or where an attacker can place a malicious crypt_settings.json file. There is no indication that other mitigations or workarounds are effective.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-27T11:12:00.890Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a906bb7acd9273b4983a258
Added to database: 08/27/2026, 16:54:15 UTC
Last enriched: 10/02/2026, 15:55:54 UTC
Last updated: 10/09/2026, 18:48:23 UTC
Views: 84
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.