# CVE-2022-29170: Grafana Enterprise datasource network restrictions bypass via HTTP redirects

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

- **Severity:** MEDIUM 6.6
- **CVSS:** 6.6 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:N/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: High; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: None; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.98% (percentile 61, 2026-11-26)
- **CWE:** CWE-601
- **Published:** 2022-05-20T16:10:12.000Z
- **Modified:** 2026-06-17T04:39:44.167Z

## Who should check

- Anyone running grafana \>= 7.4.0-beta1, \< 7.5.16; \>= 8.0.0, \< 8.5.3

## Description

Grafana is an open-source platform for monitoring and observability. In Grafana Enterprise, the Request security feature allows list allows to configure Grafana in a way so that the instance doesn’t call or only calls specific hosts. The vulnerability present starting with version 7.4.0-beta1 and prior to versions 7.5.16 and 8.5.3 allows someone to bypass these security configurations if a malicious datasource (running on an allowed host) returns an HTTP redirect to a forbidden host. The vulnerability only impacts Grafana Enterprise when the Request security allow list is used and there is a possibility to add a custom datasource to Grafana which returns HTTP redirects. In this scenario, Grafana would blindly follow the redirects and potentially give secure information to the clients. Grafana Cloud is not impacted by this vulnerability. Versions 7.5.16 and 8.5.3 contain a patch for this issue. There are currently no known workarounds.

## Affected and fixed versions

- grafana: \>= 7.4.0-beta1, \< 7.5.16; \>= 8.0.0, \< 8.5.3 (cvelist)

## Mitigation

- Upgrade grafana to 8.5.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-29170.md
Affected: grafana >= 7.4.0-beta1, < 7.5.16; >= 8.0.0, < 8.5.3
Fixed in: grafana 7.5.16, grafana 8.5.3

Steps:
1. Search this machine and project for grafana: 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 CVE-2022-29170 being exploited?

There is no confirmed exploitation: CVE-2022-29170 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.98% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-29170?

Medium: CVSS 6.6 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2022-29170?

grafana \>= 7.4.0-beta1, \< 7.5.16; \>= 8.0.0, \< 8.5.3.

### Is there a fix for CVE-2022-29170?

Yes. Fixed in grafana 7.5.16, grafana 8.5.3. Upgrade grafana to 8.5.3 or later.

### How do I check if I'm affected by CVE-2022-29170?

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://github.com/grafana/grafana/security/advisories/GHSA-9rrr-6fq2-4f99>
- patch: <https://github.com/grafana/grafana/pull/49240>
- other: <https://github.com/grafana/grafana/releases/tag/v7.5.16>
- other: <https://github.com/grafana/grafana/releases/tag/v8.5.3>
- other: <https://security.netapp.com/advisory/ntap-20220707-0005/>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-29170>

HTML: <https://flawdb.com/CVE-2022-29170> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-29170>
