Skip to main content

Rustls CVE-2026-123609

| EUVDEUVD-2026-119368 MEDIUM
Improper Removal of Sensitive Information Before Storage or Transfer (CWE-212)
2026-11-08 VulnCheck GHSA-67mj-442h-2gp6
4.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain read access to application logs
  2. Delivery
    Custom ClientSessionStore Debug-formats session value
  3. Exploit
    Master secret or resumption PSK written to log
  4. Execution
    Extract key material from logs
  5. Impact
    Decrypt captured traffic or forge TLS resumption

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V14 - Data Protection Data removal before release
Exploitation Conditions

Exploitation is possible ONLY when the deployment uses a custom ClientSessionStore implementation that logs or Debug-formats Tls12ClientSessionValue or Tls13ClientSessionValue - rustls's built-in connection and cache diagnostics remain redacted, so default configurations are not affected. The affected versions are rustls < 0.23.46 and the pre-release line >= 0.24.0-dev.1 to < 0.24.0-dev.2. Realistic limits on exploitation: the non-default logging code must exist, TLS session resumption/caching must be in use to populate the secret-bearing values, and the attacker needs read access to the logs (local, privileged); per the CVSS vector this is AV:L/AC:H/AT:P/PR:H/UI:P, not remote unauthenticated. The 'attacker' is effectively a log reader rather than a network actor.

Impact

All signals point to a genuinely low-to-moderate priority despite the information-disclosure of secret key material. The input CVSS 4.0 base score is 4.1 (medium) and the vector is heavily gated: AV:L (local), AC:H (conditions apply), AT:P (attack requirements present), PR:H (high privileges), UI:P (user/operator interaction), with impact limited to VC:H and VI/VA:N - confidentiality-only. This is NOT in CISA KEV (no active-exploitation signal), and no EPSS score was supplied, so exploitation probability cannot be quantified from this data - state explicitly: EPSS is MISSING. The vuln.today decision label is 'this_month', consistent with routine patching rather than emergency action. Crucially, the leak is not a flaw in default rustls behavior: the advisory states that ordinary connection and built-in cache diagnostics remain redacted, and the exposure occurs only when a developer-written custom ClientSessionStore logs or otherwise Debug-formats the session values - a path the session-store interface already warns is sensitive. The advisory's 'Proof of concept' is a conceptual description of how a custom store could trigger the Debug trait; it is not verified as working exploit code, and there is no KEV/EPSS to contradict the low-urgency reading. Net: a real but narrow issue whose practical risk depends entirely on whether a deployment actually logs these values - most do not.

Exploit ScenarioDerived

An application built on a vulnerable rustls version uses a custom ClientSessionStore that logs (or Debug-formats) a Tls12ClientSessionValue or Tls13ClientSessionValue; the derived Debug formatter writes the TLS 1.2 master secret or TLS 1.3 resumption PSK into application logs. An insider or attacker with read access to those logs then extracts the key material to decrypt captured TLS traffic or forge session resumption. The advisory describes a conceptual PoC of this custom-store logging path, but no working exploit code is published, and exploitation only matters where such non-default logging exists.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 08, 2026

Rustls before 0.23.46 and the 0.24.0-dev.1 pre-release can expose TLS 1.2 master secrets or TLS 1.3 resumption PSKs when a custom ClientSessionStore implementation logs or Debug-formats Tls12ClientSessionValue or Tls13ClientSessionValue. Default rustls connection and built-in cache diagnostics remain redacted, so only deployments with such a custom store and a local, high-privilege reader of its logs are affected. No public exploit code was identified at time of analysis; the advisory describes a proof-of-concept logging scenario, and fixed releases are 0.23.46 and 0.24.0-dev.2.

RemediationAI

Upgrade to rustls 0.23.46 on the 0.23.x line or to 0.24.0-dev.2 on the 0.24 pre-release line; these are the vendor-released fixed versions referenced in GHSA-c8m5-c952-6cm4 and implemented by pull requests 3299 and 3354. If immediate upgrade is not possible, audit custom ClientSessionStore implementations and stop logging or Debug-formatting Tls12ClientSessionValue and Tls13ClientSessionValue, and restrict read access to existing logs-removing that logging reduces diagnostic visibility but closes the exposure path. Built-in rustls diagnostics do not need changes.

Affected VersionsENISA

rustls 0.24.0-dev.1 <0.24.0-dev.2
rustls 0 <0.23.46

Affected Packages

cargo rustls fix: 0.23.46, 0.24.0-dev.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in cargo

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Rustls is a memory-safe TLS library written in Rust. The flaw is CWE-212, improper removal of sensitive information before storage or transfer: the derived Debug implementations for Tls12ClientSessionValue and Tls13ClientSessionValue include secret-bearing fields-the TLS 1.2 master secret and TLS 1.3 resumption PSK-instead of redacting them. The trigger requires a non-default custom ClientSessionStore that explicitly writes those values through Debug; the built-in connection and cache diagnostics are redacted, and TLS session resumption or caching must be active for those secret-bearing values to exist. This is a local information-disclosure path to log readers, not a network-facing TLS handshake flaw.

Know when Rustls gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 4.1 MEDIUM
CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.0 MEDIUM

Leak occurs only in non-default custom stores that log session values and requires privileged read access to those logs, so AV:L/AC:H/PR:H/UI:R; confidentiality-only, no integrity or availability impact.

3.1 AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N
4.0 AV:L/AC:H/AT:P/PR:H/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
High
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 08, 2026 - 03:01 EUVD

DescriptionCVE.org

Rustls before 0.23.46 and 0.24.0-dev.1 before 0.24.0-dev.2 contains an information disclosure vulnerability where derived Debug formatting of client session values exposes secret key material. Custom ClientSessionStore implementations that log Tls12ClientSessionValue or Tls13ClientSessionValue can leak TLS 1.2 master secrets or TLS 1.3 resumption PSKs to log readers.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Medium
popular Rust TLS library with moderate but growing production footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

20
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +20
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy