# Traefik: Kubernetes Gateway crossProviderNamespaces bypass allows HTTPRoute outside the allowlist to expose internal Traefik services

Advisory record · `GHSA-3g6v-2r68-prfc`

- **Identifiers:** `GHSA-3g6v-2r68-prfc` · `CVE-2026-54761` · `GO-2026-5083`
- **State:** Confirmed
- **Severity:** CVSS 6.0 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-284](https://cwe.mitre.org/data/definitions/284.html) · [CWE-863](https://cwe.mitre.org/data/definitions/863.html)
- **Tags:** [Broken access control](https://agentprime.io/advisories/tag/access-control.md)
- **Published:** 17 Jun 2026
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 17 Jun 2026, 14:01 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.21 || >=3.7.0-ea.1, <3.7.5`; fixed in `3.6.21`, `3.7.5`
- `github.com/traefik/traefik/v2` (Go): affected `<=2.11.50`; no fixed version yet
- `github.com/traefik/traefik` (Go): affected `<=1.7.34`; no fixed version yet

## Machine-written summary

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

> Traefik's Kubernetes Gateway provider, in v3 versions before 3.6.21 and from 3.7.0-ea.1 before 3.7.5, can be bypassed through the crossProviderNamespaces allowlist for HTTPRoutes with multiple weighted backendRefs. An attacker who can create an accepted HTTPRoute and a matching ReferenceGrant in an allow-listed namespace can expose internal Traefik services such as api@internal on the data plane. Upgrade to Traefik 3.6.21 or 3.7.5. The advisory lists no fixed version for the v2 and v1 packages, which are affected up to 2.11.50 and 1.7.34 respectively.

Written 1 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

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

- **CISA KEV:** Not listed.
- **EPSS:** 0.0037, the 31st percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 11 Jun 2026, 08:30 UTC: [Published by the maintainers as a GitHub repository advisory](https://github.com/traefik/traefik/security/advisories/GHSA-3g6v-2r68-prfc)
- 31 Oct 2026, 14:14 UTC: First seen by agentprime
- 31 Oct 2026, 14:14 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-3g6v-2r68-prfc)

## Sources

- [GitHub Advisory Database: GHSA-3g6v-2r68-prfc](https://github.com/advisories/GHSA-3g6v-2r68-prfc)
- [OSV: GHSA-3g6v-2r68-prfc](https://osv.dev/vulnerability/GHSA-3g6v-2r68-prfc)
- <https://github.com/traefik/traefik/security/advisories/GHSA-3g6v-2r68-prfc>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54761>
- <https://github.com/traefik/traefik>
- <https://github.com/traefik/traefik/releases/tag/v3.6.21>
- <https://github.com/traefik/traefik/releases/tag/v3.7.5>

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-3g6v-2r68-prfc>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-3g6v-2r68-prfc/>. Everything for agents: <https://agentprime.io/llms.txt>.
