{"id":"CVE-2026-123609","aliases":["GHSA-c8m5-c952-6cm4","RUSTSEC-2026-0346"],"url":"https://o3.security/vulnerability/CVE-2026-123609","summary":"Rustls before 0.23.46 and 0.24.0-dev.1 before 0.24.0-dev.2 Secret Exposure via Debug","details":"### Summary\n\nFormatting a client session value with Debug exposes its TLS 1.2 master secret or TLS 1.3 resumption PSK. A custom session store that logs these values can disclose keys to readers of the logs. Ordinary connection and built-in cache diagnostics remain redacted, and the session-store interface already warns that its values are sensitive.\n\n### Details\n\nDerived formatters traverse the session's secret-bearing fields. This conflicts with the project's explicit [key-material redaction policy](https://github.com/rustls/rustls/blob/99f2358cae2954837dbb866faf6727de75489ab9/SECURITY.md#boundary-public-api).\n\n### Proof of concept\n\nCustom `ClientSessionStore` implementations could leak secret data by using the provided `Tls12ClientSessionValue` or `Tls13ClientSessionValue` in a way that triggers its implementation of the `Debug` trait.\n\n### Impact\n\nSuch store implementations could leak the master secret for the TLS connection.\n\n### Acknowledgement\nThanks to OpenAI [OutboundDisclosures@openai.com](mailto:OutboundDisclosures@openai.com) for the disclosure.","published":"2026-11-08T01:38:34.811Z","modified":"2026-11-17T11:57:18.404398161Z","cvss":null,"epss":{"score":0.00101,"percentile":0.00882,"asOf":"2026-11-22"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"rustls","fixedVersion":"0.23.46"},{"ecosystem":"crates.io","name":"rustls","fixedVersion":"0.24.0-dev.2"}],"fix":{"url":"https://github.com/rustls/rustls/pull/3299","label":"rustls/rustls#3299"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123609.json"},{"type":"ADVISORY","url":"https://github.com/rustls/rustls/security/advisories/GHSA-c8m5-c952-6cm4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123609"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/rustls-before-0.23.46-and-0.24.0-dev.1-before-0.24.0-dev.2-secret-exposure-via-debug"},{"type":"WEB","url":"https://github.com/rustls/rustls/pull/3299"},{"type":"WEB","url":"https://github.com/rustls/rustls/pull/3354"},{"type":"WEB","url":"https://github.com/rustls/rustls/commit/dcdb9464d376f45f42a94a5f837cda1506449f23"},{"type":"WEB","url":"https://github.com/rustls/rustls/commit/f5f7bf5078a7edcbd81a9e82a97f2bd14dc1c855"},{"type":"PACKAGE","url":"https://github.com/rustls/rustls"},{"type":"WEB","url":"https://github.com/rustls/rustls/releases/tag/v/0.23.46"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2026-0346.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-11-17T11:57:18.404398161Z"}}