# CVE-2026-81715: openssl-encrypt credential exposure in debug output

Source: https://junglewise.ai/threats/cve-2026-81715-openssl-encrypt-credential-exposure-in-debug-output  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-27. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-81715 · Severity: medium · CVSS 4 · Published 2026-08-27

openssl-encrypt is a Python library that manages cryptographic keys via a keyserver. When run with debug logging enabled, the library fails to redact authentication tokens, causing them to be written in plaintext to logs and terminal history. An attacker with access to logs, terminal history, or error output could capture these credentials and authenticate to the keyserver.

Technologies: [Jahlives Openssl Encrypt](https://junglewise.ai/threats/technologies/openssl-encrypt), [openssl-encrypt (PyPI)](https://junglewise.ai/threats/technologies/pypi-openssl-encrypt). Vendors: [Jahlives](https://junglewise.ai/threats/vendors/jahlives), [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2026-81715 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-81715 being exploited in the wild.

**How severe is CVE-2026-81715?** Medium severity, with a CVSS score of 4, published 27 August 2026.

**Which products and versions are affected?** Jahlives Openssl Encrypt <=1.4.8; openssl-encrypt (PyPI) ECOSYSTEM:introduced=0,fixed=1.4.9.

**Is there a fix for CVE-2026-81715?** Yes. openssl-encrypt (PyPI): upgrade to 1.4.9 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-81715 attacked?** It is attacked with local access.

**Am I affected by CVE-2026-81715?** Check whether you run Jahlives Openssl Encrypt or openssl-encrypt (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- openssl-encrypt (PyPI): upgrade to 1.4.9 or later

  ```sh
  pip install "openssl-encrypt>=1.4.9"
  ```


## Technical details

The vulnerability is an information disclosure (CWE-532) caused by insufficient sanitization of debug output. The `sanitize_argv_for_debug` function fails to redact the keyserver bearer token passed as a positional argument to the `keyserver set-token` command. As a result, when the application runs with the `--debug` flag, the token is printed in cleartext to stderr even without `--unsafe-show-secrets` being specified. This persists credentials in shell history and log files. The vulnerability affects versions <= 1.4.8 and was fixed in version 1.4.9 by routing the positional token through the debug_secret redaction mechanism.

## Affected products

- jahlives openssl-encrypt <=1.4.8

## Identifiers

- CVE-2026-81715
- PYSEC-2026-3964

## Timeline

- 2026-08-12: disclosed
- 2026-08-27: patched: Version 1.4.9 released with fix

## References

- [https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-jqqp-pf9j-889j](https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-jqqp-pf9j-889j)
- [https://www.vulncheck.com/advisories/openssl-encrypt-before-1.4.9-credential-exposure-via-debug-output](https://www.vulncheck.com/advisories/openssl-encrypt-before-1.4.9-credential-exposure-via-debug-output)

## Related threats

- [openssl_encrypt KDF cost parameter validation bypass](https://junglewise.ai/threats/cve-2026-81721-openssl-encrypt-kdf-cost-parameter-validation-bypass)
- [openssl_encrypt memory exhaustion in identity file protection block](https://junglewise.ai/threats/cve-2026-81720-openssl-encrypt-memory-exhaustion-in-identity-file-protection)
- [openssl_encrypt arbitrary code execution via plugin signature bypass](https://junglewise.ai/threats/cve-2026-81719-openssl-encrypt-arbitrary-code-execution-via-plugin-signature)
- [openssl_encrypt weak PBKDF2 parameters in keyfile encryption](https://junglewise.ai/threats/cve-2026-81718-openssl-encrypt-weak-pbkdf2-parameters-in-keyfile-encryption)
- [openssl_encrypt USB drive integrity bypass with fixed KDF salt](https://junglewise.ai/threats/cve-2026-81717-openssl-encrypt-usb-drive-integrity-bypass-with-fixed-kdf-salt)
