# Traefik: BasicAuth singleflight key collision allows authenticated identity spoofing

Advisory record · `GHSA-6765-c87h-8mrf`

- **Identifiers:** `GHSA-6765-c87h-8mrf` · `CVE-2026-71326` · `GO-2026-6204`
- **State:** Confirmed
- **Severity:** CVSS 2.1 Low
- **Critical:** No
- **Weakness (CWE):** [CWE-287](https://cwe.mitre.org/data/definitions/287.html)
- **Tags:** [Authentication bypass](https://agentprime.io/advisories/tag/auth-bypass.md)
- **Published:** 6 Aug 2026
- **Updated:** 18 Aug 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 6 Aug 2026, 16:34 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/traefik/traefik/v3` (Go): affected `>=3.6.11, <3.6.25 || >=3.7.0, <3.7.10`; fixed in `3.6.25`, `3.7.10`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Traefik versions 3.6.11 up to 3.6.25 (excluding 3.6.25) and 3.7.0 up to 3.7.10 (excluding 3.7.10) have a BasicAuth middleware flaw where concurrent password checks can be shared across different usernames. An attacker who already holds a valid username and password, and can read the stored password hash, can send concurrent requests to be authenticated as an unconfigured username, which can be forwarded to backends as a trusted identity when headerField is set. Upgrade to Traefik 3.6.25 or 3.7.10. No workaround is given.

Written 6 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 2.1 Low, CVSS 4.0: `CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0034, the 27th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 3 Aug 2026, 14:22 UTC: [Published by the maintainers as a GitHub repository advisory](https://github.com/traefik/traefik/security/advisories/GHSA-6765-c87h-8mrf)
- 31 Oct 2026, 14:50 UTC: First seen by agentprime
- 31 Oct 2026, 14:50 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-6765-c87h-8mrf)

## Sources

- [GitHub Advisory Database: GHSA-6765-c87h-8mrf](https://github.com/advisories/GHSA-6765-c87h-8mrf)
- [OSV: GHSA-6765-c87h-8mrf](https://osv.dev/vulnerability/GHSA-6765-c87h-8mrf)
- <https://github.com/traefik/traefik/security/advisories/GHSA-6765-c87h-8mrf>
- <https://github.com/traefik/traefik/pull/13572>
- <https://github.com/traefik/traefik/commit/b5ace8eb5d6779980567f5e75efd2d9e08b7e350>
- <https://github.com/traefik/traefik>
- <https://github.com/traefik/traefik/releases/tag/v3.6.25>
- <https://github.com/traefik/traefik/releases/tag/v3.7.10>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-6765-c87h-8mrf>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-6765-c87h-8mrf/>. Everything for agents: <https://agentprime.io/llms.txt>.
