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.
Published: 2026-08-27
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Encryption Downgrade Leading to Potential Data Compromise
Action: Apply Update
AI Analysis

Impact

The vulnerability resides in the openssl_encrypt Python package, where the configuration file path is mistakenly resolved as a relative name rather than the intended absolute per‑user path. When the legacy Tk GUI launches, it reads and writes its key derivation function settings from a file called crypt_settings.json in the current working directory. An attacker who places a malicious crypt_settings.json file can disable all memory‑hard KDFs, causing the application to perform only a single hash round. This downgrades the encryption strength and makes any resulting ciphertext vulnerable to offline brute‑force attacks.

Affected Systems

OpenSSL‑Encrypt, pip package versions up to and including 1.4.8, installed under the name openssl_encrypt. The issue was fixed in 1.4.9 and later releases.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity impact. EPSS data is not available and the vulnerability has not been listed in CISA’s KEV catalog. An attacker who can place a file into the application’s current working directory—through local file accessibility or a file‑upload vector—can exploit the flaw. Once the malicious configuration is loaded, the attacker bypasses the software’s weak‑KDF preflight checks, effectively reducing the computational cost of decrypting stored data to a single hash round and enabling practical offline brute‑force attacks.

Generated by OpenCVE AI on August 27, 2026 at 17:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade openssl_encrypt to version 1.4.9 or later. The newer release restores the absolute path resolution for the configuration file.
  • Configure the application to load CONFIG_FILE from an absolute path that points to the user’s home directory, or set an environment variable accordingly, to prevent accidental relative resolution.
  • Remove any crypt_settings.json files found in directories that serve as the application’s current working directory and enforce strict file permissions so that only the application user can modify the configuration file.

Generated by OpenCVE AI on August 27, 2026 at 17:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 31 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
First Time appeared Jahlives
Jahlives openssl Encrypt
Vendors & Products Jahlives
Jahlives openssl Encrypt

Thu, 27 Aug 2026 16:45:00 +0000

Type Values Removed Values Added
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.
Title openssl_encrypt before 1.4.9 KDF Downgrade via CWD-relative Configuration
Weaknesses CWE-426
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/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'}


Subscriptions

Jahlives Openssl Encrypt
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-31T15:58:24.498Z

Reserved: 2026-08-27T11:12:00.890Z

Link: CVE-2026-81697

cve-icon Vulnrichment

Updated: 2026-08-31T15:58:18.684Z

cve-icon NVD

Status : Received

Published: 2026-08-27T17:20:59.893

Modified: 2026-08-31T16:19:16.217

Link: CVE-2026-81697

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-27T18:45:04Z

Weaknesses