CVE-2026-81683: openssl_encrypt before 1.4.9 Plaintext Private Key Storage

Published Aug 27, 2026
·
Updated

opensslencrypt (pip package openssl-encrypt) versions 1.4.8 and earlier store an mTLS client private key in cleartext within a world-readable (0644) SharedPreferences file via the desktop GUI's Settings screen 'combined certificate and private key' PEM field. A local attacker with file system access can read the exposed private key. Version 1.4.9 writes the PEM to a dedicated 0600 file, keeps only its path in SharedPreferences, and migrates/scrubs existing cleartext values.

Affected Software

1 affected component
pypi/openssl-encrypt<1.4.9

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade openssl_encrypt (pip package openssl-encrypt) to a version that resolves this vulnerability.

    Fixed in 1.4.9
  2. Configuration

    After upgrading to v1.4.9, ensure the client mTLS private key is not stored in cleartext in the 'combined certificate and private key' PEM field in Settings; it should be written to a dedicated 0600 file and only the file path should remain in SharedPreferences, with any prior cleartext SharedPreferences values migrated/scrubbed.

    openssl_encrypt desktop GUI Settings screen combined certificate and private key PEM field storage = Store PEM in a dedicated 0600 file and keep only its path in SharedPreferences (migrate and scrub existing cleartext values)

Event History

Aug 27, 2026
CVE Published
via MITRE·02:50 PM
Data Sourced
via MITRE·02:50 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:20 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Systems using the desktop GUI of openssl_encrypt 1.4.8 or earlier are exposed if an mTLS client private key was entered through the Settings screen's combined certificate and private key PEM field. A local attacker with file system access can read the key from the world-readable SharedPreferences file.

2

What access does an attacker need to exploit it?

The attacker needs local file system access to the affected system. No authentication or user interaction is required to read the cleartext private key once the vulnerable SharedPreferences file is accessible.

3

How can I determine whether a system is affected?

Check whether openssl_encrypt is version 1.4.8 or earlier and whether the desktop GUI was used to configure a combined certificate and private key PEM value. On affected installations, that private key may be present in cleartext in a SharedPreferences file with 0644 permissions.

4

What should be done if a private key may have been exposed?

Upgrade to version 1.4.9, which stores the PEM in a dedicated 0600 file and migrates and scrubs existing cleartext SharedPreferences values. Treat any key stored under the vulnerable configuration as potentially disclosed and replace it as appropriate.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203