openssl_encrypt before 1.4.9 Plaintext Private Key Storage
openssl_encrypt (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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-81683
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 19:04 UTC · Revision 1
Source evidence
openssl_encrypt before 1.4.9 Plaintext Private Key Storage
core-osv · Original sourcePublished 27 Aug 2026, 14:50 UTC
openssl_encrypt (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.
osv:CVE-2026-81683
Complete source record
{
"id": "90ab4e44e95e6cbed2d0cf0cdc169a435ecbc57091ebab004eacc4e89f919f63",
"url": "https://osv.dev/vulnerability/CVE-2026-81683",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "openssl_encrypt before 1.4.9 Plaintext Private Key Storage",
"summary": "openssl_encrypt (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.",
"evidence": "osv:CVE-2026-81683",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-81683",
"aliases": [
"CVE-2026-81683",
"GHSA-r8gw-6hfj-98jw",
"PYSEC-2026-3792"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/jahlives/openssl_encrypt",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "39b0a010cae90520f74b7194f61fedd43af04ef8"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.4.9"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"cpe": "cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:python:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.4.9"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.4.7",
"v1.4.6",
"v1.4.5",
"v1.4.4",
"v1.4.2",
"v1.4.1rc2",
"v1.4.1rc1",
"v1.4.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-81683.json"
}
}
],
"modified": "2026-10-28T02:30:31.404098651Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81683.json",
"https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-r8gw-6hfj-98jw",
"https://nvd.nist.gov/vuln/detail/CVE-2026-81683",
"https://www.vulncheck.com/advisories/openssl-encrypt-before-1.4.9-plaintext-private-key-storage"
],
"provider_metadata": {
"cwe_ids": [
"CWE-312"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81683.json"
}
},
"related_cves": [
{
"value": "CVE-2026-81683",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 498610,
"published_at": "2026-08-27T14:50:48.886+00:00"
}