CVEfocus › CVE database › CVE-2022-35957

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

CVSS 6.6 MediumEPSS 1.2% (higher than 68% of CVEs)Published 2022-09-20Updated 2026-01-28Assigner: GitHub_M

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/

CWE-290

What to do

Fixed builds are available from AlmaLinux, Alpine, Go, Red Hat: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
15Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04grafanaFix pendingUBUNTU-CVE-2022-35957
Red Hat Enterprise Linux 9grafanaFixed0:9.0.9-2.el9RHSA-2023:2167
Red Hat Enterprise Linux 8grafanaFix pending
Affected
Red Hat Enterprise Linux 8grafana-azure-monitorFix pending
Affected
Red Hat Enterprise Linux 8grafana-cloudwatchFix pending
Affected
Red Hat Enterprise Linux 8grafana-elasticsearchFix pending
Affected
Red Hat Enterprise Linux 8grafana-graphiteFix pending
Affected
Red Hat Enterprise Linux 8grafana-influxdbFix pending
Affected
Red Hat Enterprise Linux 8grafana-lokiFix pending
Affected
Red Hat Enterprise Linux 8grafana-mssqlFix pending
Affected
Red Hat Enterprise Linux 8grafana-mysqlFix pending
Affected
Red Hat Enterprise Linux 8grafana-opentsdbFix pending
Affected
Red Hat Enterprise Linux 8grafana-postgresFix pending
Affected
Red Hat Enterprise Linux 8grafana-prometheusFix pending
Affected
Red Hat Enterprise Linux 8grafana-selinuxFix pending
Affected
Red Hat Enterprise Linux 8grafana-stackdriverFix pending
Affected
AlmaLinux 9grafanaFixed9.0.9-2.el9ALSA-2023:2167
Alpine Linux 3.16grafanaFixed8.5.13-r0ALPINE-CVE-2022-35957
Go librarygithub.com/grafana/grafanaFixed8.5.13GO-2024-2847

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.