# GHSA-fc4h-xcf3-qj5f: matrix-sdk 0.6.0 logs access tokens

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2022-10-24T12:00:00.000Z
- Modified: 2023-11-08T04:18:56.332Z
- Also known as: RUSTSEC-2022-0062

## Description

When sending Matrix requests using an affected version of `matrix-sdk` in an application that writes logs using `tracing-subscriber` (in a way that includes fields of tracing spans such as `tracing_subscriber`s default text output from the `fmt` module), these logs will contain the user's access token.

(As written by GitHub Advisory Database.)

## Affected

- matrix-sdk (crates.io): from 0.6.0 before 0.6.2

## References

- <https://github.com/matrix-org/matrix-rust-sdk/issues/1110> (report, web)
- <https://github.com/matrix-org/matrix-rust-sdk> (package)
- <https://rustsec.org/advisories/RUSTSEC-2022-0062.html> (advisory, web)
- <https://crates.io/crates/matrix-sdk> (package)

## Sources

- GitHub Advisory Database: [GHSA-fc4h-xcf3-qj5f](https://github.com/advisories/GHSA-fc4h-xcf3-qj5f), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2022-0062](https://rustsec.org/advisories/RUSTSEC-2022-0062.html), CC0-1.0, modified 2023-11-08

---

Page: https://cve.day/GHSA-fc4h-xcf3-qj5f · Whole record: https://cve.day/GHSA-fc4h-xcf3-qj5f.json · Rebuilt by cve.day 2026-11-25T22:56:43.111Z
