Description
openssl_encrypt (pip package openssl-encrypt) versions <= 1.4.8 do not redact the keyserver bearer token passed as the positional argument to 'keyserver set-token' in the --debug argv dump, because sanitize_argv_for_debug fails to sanitize it. As a result the token is printed in cleartext to stderr under --debug (even without --unsafe-show-secrets), persisting the credential in logs and terminal history. Fixed in 1.4.9.
Published: 2026-08-27
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Credential Exposure
Action: Immediate Patch
AI Analysis

Impact

This vulnerability causes the openssl_encrypt package, versions 1.4.8 and older, to include the user‑supplied keyserver bearer token in the command‑line debug output that is written to standard error. Because the token is not redacted by the sanitize routine, the bearer token appears in clear text in logs, terminal history, and any observers of the debug stream. An attacker who gains read access to these logs or the live output can obtain the bearer token and subsequently use it to authenticate to the keyserver, potentially allowing unauthorized access to stored keys or other protected resources.

Affected Systems

The affected product is the pip package openssl_encrypt, developed by jahlives, with all releases up to and including version 1.4.8 vulnerable. Versions 1.4.9 and later contain a fix that properly sanitises the token.

Risk and Exploitability

With a CVSS score of 8.7 the vulnerability is considered High severity. The EPSS score is not available, and it is not listed in the CISA KEV catalog, indicating no publicly known exploit campaigns to date. The likely attack vector is local or remote access to the debug output, such as read access to logs or a compromised terminal session, which could allow the token to be harvested. Once obtained, the token can be reused for credential theft or impersonation. Therefore, the risk is significant for any environment that enables debugging for this package.

Generated by OpenCVE AI on August 27, 2026 at 18:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade your installation of openssl_encrypt to version 1.4.9 or later to eliminate the sanitisation flaw.
  • Avoid enabling the --debug flag when running keyserver commands; if debugging is required, do so in a secure, isolated environment where logs cannot be accessed by unauthorized parties.
  • If upgrading or disabling debug is not possible, immediately rotate the keyserver bearer token, secure or delete existing log files that contain the exposed token, and implement log‑scrub filters to remove any bearer tokens before they are stored or transmitted.

Generated by OpenCVE AI on August 27, 2026 at 18:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 03 Sep 2026 15:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:python:*:*

Fri, 28 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', '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 do not redact the keyserver bearer token passed as the positional argument to 'keyserver set-token' in the --debug argv dump, because sanitize_argv_for_debug fails to sanitize it. As a result the token is printed in cleartext to stderr under --debug (even without --unsafe-show-secrets), persisting the credential in logs and terminal history. Fixed in 1.4.9.
Title openssl_encrypt before 1.4.9 Credential Exposure via Debug Output
Weaknesses CWE-532
References
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/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-28T15:58:50.414Z

Reserved: 2026-08-27T11:13:14.063Z

Link: CVE-2026-81715

cve-icon Vulnrichment

Updated: 2026-08-27T18:38:44.986Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-27T17:21:01.733

Modified: 2026-09-03T15:09:44.487

Link: CVE-2026-81715

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-27T18:30:16Z

Weaknesses
  • CWE-532

    Insertion of Sensitive Information into Log File