Skip to main content
EPSS 0.2%top 90%

CVE-2026-81697: Untrusted Search Path in jahlives openssl_encrypt

0
High
VulnerabilityCVE-2026-81697cvecve-2026-81697
Published: 08/27/2026 (08/27/2026, 14:51:00 UTC)
Source: CVE Database V5
Vendor/Project: jahlives
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

jahlives

openssl_encrypt

Affected versions
>=0 <1.4.9

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/02/2026, 15:55:54 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses