# RUSTSEC-2026-0275: Legacy \`azure\_core\` writes the \`authorization\` header value to logs

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-08-15T12:00:00.000Z
- **Modified:** 2026-09-01T19:30:08.602Z

## Who should check

- Projects that depend on crates.io package azure\_core (\>= 0.0.0-0, \< 0.2.0; \>= 0.2.1-0, \< 0.22.0)

## Description

Applications built on the legacy Azure SDK for Rust (\`azure\_core\` 0.21.0 and
earlier) write the value of the outgoing \`authorization\` header to their logs
whenever debug-level logging is enabled, and in every affected version also at
trace level. The leaked values are live credentials — Microsoft Entra
ID bearer tokens, Azure Storage SharedKey signatures, and SAS tokens — and
anyone with read access to the logs can replay them until they expire
(CWE-532).

Versions 0.22.0 and later, which are the rewritten and currently supported
SDK, do not contain the affected code.

\#\# Affected versions

Every published legacy version except 0.2.0 writes the \`authorization\` header
value to logs: 0.1.1 (2022-01-25), and 0.2.1 through 0.21.0 (2024-10-15).

\#\# Mitigation

- Upgrade to \`azure\_core\` 1.0.0 or newer.
- If you are unable to upgrade, raise the log level above debug for the
  impacted crates or submit a feature request for missing crates built on \`azure\_core\` 1.0.0 or newer.
- Treat logs produced by an affected build as credential-bearing: rotate any
  long-lived secret that authenticated a request while debug logging was on.

\#\# Coordination

The finding was reported to the Microsoft Security Response Center
(VULN-211331), which determined that it does not meet the Microsoft Security
Servicing Criteria definition of a security vulnerability.

It was then disclosed publicly as \[Azure/azure-sdk-for-rust\#5074\]\[issue\] on
2026-08-15, asking the maintainers to confirm the behavior so that an advisory
could be filed for the legacy crates. A maintainer replied on 2026-08-26 and
closed the issue as not planned: the \`legacy\` branch is unsupported, there are
no plans to update it, and users should move to crates built on \`azure\_core\`
1.0.0 or newer.

\[pr\]: https://github.com/Azure/azure-sdk-for-rust/pull/1699
\[issue\]: https://github.com/Azure/azure-sdk-for-rust/issues/5074

## Affected and fixed versions

- crates.io `azure_core`: affected \>= 0.0.0-0, \< 0.2.0; \>= 0.2.1-0, \< 0.22.0; fixed 0.2.0, 0.22.0 (osv)

## Mitigation

- Upgrade azure\_core to one of 0.2.0, 0.22.0 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by RUSTSEC-2026-0275. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/RUSTSEC-2026-0275.md
Affected: azure_core >= 0.0.0-0, < 0.2.0; >= 0.2.1-0, < 0.22.0
Fixed in: 0.2.0, 0.22.0

Steps:
1. Search this machine and project for azure_core (crates.io): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is RUSTSEC-2026-0275 being exploited?

There is no confirmed exploitation: RUSTSEC-2026-0275 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is RUSTSEC-2026-0275?

It has no CVSS score yet. Unknown.

### Which versions are affected by RUSTSEC-2026-0275?

azure\_core \>= 0.0.0-0, \< 0.2.0; \>= 0.2.1-0, \< 0.22.0.

### Is there a fix for RUSTSEC-2026-0275?

Yes. Fixed in 0.2.0, 0.22.0. Upgrade azure\_core to one of 0.2.0, 0.22.0 (or later in the same release line).

### How do I check if I'm affected by RUSTSEC-2026-0275?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://rustsec.org/advisories/RUSTSEC-2026-0275.html>
- patch: <https://github.com/Azure/azure-sdk-for-rust/pull/1699>
- patch: <https://github.com/Azure/azure-sdk-for-rust/commit/7a0e20c1e002ce06da0f3ec8795ef1529862ea97>
- other: <https://crates.io/crates/azure_core>
- other: <https://github.com/Azure/azure-sdk-for-rust/issues/5074>

## Attribution

- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/RUSTSEC-2026-0275> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/RUSTSEC-2026-0275> · JSON: <https://flawdb.com/api/v1/entries/RUSTSEC-2026-0275>
