{"answers":{"affected":"5 open source packages ship an affected version, including rustls.","exploited":"There is no known exploitation of GHSA-c8m5-c952-6cm4 in the wild and no public exploit code.","fix":"Upgrade rustls to a fixed version for your release line: 0.23.46 or 0.24.0-dev.2.","what":"GHSA-c8m5-c952-6cm4 is a vulnerability in rustls, published on 14 Oct 2026."},"fix_prompt":"Check this codebase for GHSA-c8m5-c952-6cm4 and fix it if it is affected.\n\nWhat it is: GHSA-c8m5-c952-6cm4 is a vulnerability in rustls, published on 14 Oct 2026. \nExploitation: There is no known exploitation of GHSA-c8m5-c952-6cm4 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- rustls (crates.io): affected all versions; fixed in 0.23.46\n- rustls (crates.io): affected all versions; fixed in 0.23.46\n- rustls (crates.io): affected from 0.21.0; fixed in 0.23.46\n- rustls (crates.io): affected from 0.24.0-dev.1; fixed in 0.24.0-dev.2\n- rustls (crates.io): affected from 0.24.0-dev.1; fixed in 0.24.0-dev.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-c8m5-c952-6cm4/ (Markdown: https://insights.sbomify.com/GHSA-c8m5-c952-6cm4/index.md)","id":"GHSA-c8m5-c952-6cm4","markdown":"https://insights.sbomify.com/GHSA-c8m5-c952-6cm4/index.md","name":"GHSA-c8m5-c952-6cm4","record":{"aliases":["RUSTSEC-2026-0346"],"analysis":null,"analysis_generated_by":null,"assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### 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.","ecosystems":["crates.io"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Rustls: Session Debug formatting exposes TLS master secrets and resumption PSKs","id":"GHSA-c8m5-c952-6cm4","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"crates.io","product":null,"products":[],"type":null,"year":"2026"},"n_packages":5,"n_references":null,"packages":[{"ecosystem":"crates.io","fixed":["0.23.46"],"introduced":["0"],"last_affected":[],"package":"rustls","purl":null,"source":"GHSA-c8m5-c952-6cm4"},{"ecosystem":"crates.io","fixed":["0.23.46"],"introduced":["0"],"last_affected":[],"package":"rustls","purl":"pkg:cargo/rustls","source":"GHSA-c8m5-c952-6cm4"},{"ecosystem":"crates.io","fixed":["0.23.46"],"introduced":["0.21.0"],"last_affected":[],"package":"rustls","purl":"pkg:cargo/rustls","source":"RUSTSEC-2026-0346"},{"ecosystem":"crates.io","fixed":["0.24.0-dev.2"],"introduced":["0.24.0-dev.1"],"last_affected":[],"package":"rustls","purl":null,"source":"GHSA-c8m5-c952-6cm4"},{"ecosystem":"crates.io","fixed":["0.24.0-dev.2"],"introduced":["0.24.0-dev.1"],"last_affected":[],"package":"rustls","purl":"pkg:cargo/rustls","source":"GHSA-c8m5-c952-6cm4"}],"products":null,"published":"2026-10-14","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":null,"url":"https://insights.sbomify.com/GHSA-c8m5-c952-6cm4/"}