{"id":"CVE-2026-123609","aliases":["GHSA-c8m5-c952-6cm4","RUSTSEC-2026-0346"],"title":"Rustls: Session Debug formatting exposes TLS master secrets and resumption PSKs","titleSource":"OSV","descriptionSource":"OSV","description":"The `Debug` implementations of `Tls12ClientSessionValue` and\n`Tls13ClientSessionValue` were derived, and so included the TLS 1.2 master\nsecret or TLS 1.3 resumption PSK in their output.\n\nCustom `ClientSessionStore` implementations that format these values with\n`Debug` (for example, when logging) could disclose these secrets to readers of\nthe logs. This conflicts with rustls's\n[key-material redaction policy](https://github.com/rustls/rustls/blob/99f2358cae2954837dbb866faf6727de75489ab9/SECURITY.md#boundary-public-api).\n\nOrdinary connection and built-in session cache `Debug` output is redacted and\nis not affected.","severity":"medium","score":4.1,"published":"2026-10-14T12:00:00.000Z","modified":"2026-11-10T17:56:51.627Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"crates.io","name":"rustls","sources":[{"name":"OSV · GHSA-c8m5-c952-6cm4","url":"https://osv.dev/vulnerability/GHSA-c8m5-c952-6cm4"}],"ranges":[{"events":[{"introduced":"0"},{"fixed":"0.23.46"}],"type":"SEMVER"}],"versions":[],"fixed":["0.23.46"]},{"ecosystem":"crates.io","name":"rustls","sources":[{"name":"OSV · GHSA-c8m5-c952-6cm4","url":"https://osv.dev/vulnerability/GHSA-c8m5-c952-6cm4"}],"ranges":[{"events":[{"introduced":"0.24.0-dev.1"},{"fixed":"0.24.0-dev.2"}],"type":"SEMVER"}],"versions":[],"fixed":["0.24.0-dev.2"]},{"ecosystem":"crates.io","name":"rustls","sources":[{"name":"OSV · RUSTSEC-2026-0346","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0346"}],"ranges":[{"events":[{"introduced":"0.21.0"},{"fixed":"0.23.46"}],"type":"SEMVER"}],"versions":[],"fixed":["0.23.46"]}],"sourceAffected":[],"references":["https://github.com/rustls/rustls/security/advisories/GHSA-c8m5-c952-6cm4","https://github.com/rustls/rustls/pull/3299","https://github.com/rustls/rustls/pull/3354","https://github.com/rustls/rustls/commit/dcdb9464d376f45f42a94a5f837cda1506449f23","https://github.com/rustls/rustls/commit/f5f7bf5078a7edcbd81a9e82a97f2bd14dc1c855","https://github.com/rustls/rustls","https://github.com/rustls/rustls/releases/tag/v/0.23.46","https://rustsec.org/advisories/RUSTSEC-2026-0346.html","https://crates.io/crates/rustls","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"],"sources":[{"name":"OSV","id":"GHSA-c8m5-c952-6cm4","modified":"2026-11-08T10:55:36.514447652Z","url":"https://osv.dev/vulnerability/GHSA-c8m5-c952-6cm4"},{"name":"OSV","id":"RUSTSEC-2026-0346","modified":"2026-11-09T09:21:20Z","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0346"},{"name":"CVE","id":"CVE-2026-123609","modified":"2026-11-10T17:56:51.627Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-123609"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N","score":4},{"source":"OSV","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N","score":4},{"source":"VulnCheck","vector":"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","score":4.1},{"source":"VulnCheck","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N","score":4}],"cve":{"records":[{"id":"CVE-2026-123609","source":"VulnCheck","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-11-06T01:02:39.794Z","published":"2026-11-08T01:38:34.811Z","modified":"2026-11-10T17:56:51.627Z"}],"publishers":[{"name":"VulnCheck","role":"CNA","organizationId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","modified":"2026-11-08T01:38:34.811Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-11-10T17:56:51.627Z"}],"references":[{"url":"https://github.com/rustls/rustls/security/advisories/GHSA-c8m5-c952-6cm4","tags":["vendor-advisory"],"source":"VulnCheck"},{"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","tags":["third-party-advisory"],"source":"VulnCheck"}],"weaknesses":[{"id":"CWE-212","description":"Improper Removal of Sensitive Information Before Storage or Transfer","source":"VulnCheck"}],"applicability":[{"source":"VulnCheck","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:rustls_project:rustls:*:*:*:*:*:*:*:*","versionEndExcluding":"0.23.46"},{"vulnerable":true,"criteria":"cpe:2.3:a:rustls_project:rustls:*:*:*:*:*:*:*:*","versionStartIncluding":"0.24.0-dev.1","versionEndExcluding":"0.24.0-dev.2"}]}]}]}],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-11-10T15:42:07.621483Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"products":[{"vendor":"rustls","name":"rustls","platforms":[],"versions":[{"version":"0","status":"affected","lessThan":"0.23.46","versionType":"semver"},{"version":"0.23.46","status":"unaffected","versionType":"semver"},{"version":"0.24.0-dev.1","status":"affected","lessThan":"0.24.0-dev.2","versionType":"semver"},{"version":"0.24.0-dev.2","status":"unaffected","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:cargo/rustls","packageIdentity":{"ecosystem":"crates.io","name":"rustls"},"cpes":[],"source":"VulnCheck","url":"https://www.cve.org/CVERecord?id=CVE-2026-123609"}],"remediation":[],"observedAt":"2026-11-10T18:16:48.822Z","kev":{"status":"not-listed","checkedAt":"2026-11-28T20:55:32.118Z"},"coverage":[{"source":"NVD","status":"no-result","checkedAt":"2026-11-08T02:00:31.064Z","attemptedAt":"2026-11-08T02:00:31.064Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-08T02:00:31.064Z","attemptedAt":"2026-11-08T02:00:31.064Z"},{"source":"EUVD","status":"no-result","checkedAt":"2026-11-08T02:00:31.064Z","attemptedAt":"2026-11-08T02:00:31.064Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-08T02:00:31.064Z","attemptedAt":"2026-11-08T02:00:31.064Z"}],"evidence":[],"aiSummary":null}