CVSS 3.1
6.1 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NMedium (6.1) in grafana grafana. EPSS 97% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/grafana/grafana 0.0.0-20250521183405-c7a690348df7.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:Ngithub.com/grafana/grafana (Go): fixed in 0.0.0-20250521183405-c7a690348df7Explain CVE-2025-4123 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-4123?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-4123?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-4123 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Grafana | from 10.4.18+security-01 before 10.4.19 |
| Grafana | from 11.2.9+security-01 before 11.2.10 |
| Grafana | from 11.3.6+security-01 before 11.3.7 |
| Grafana | from 11.4.4+security-01 before 11.4.5 |
| Grafana | from 11.5.4+security-01 before 11.5.5 |
| Grafana | from 11.6.1+security-01 before 11.6.2 |
| Grafana | from 12.0.0+security-01 before 12.0.1 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-q53q-gxq9-mgrj | Go | github.com/grafana/grafana | <0.0.0-20250521183405-c7a690348df7 | 0.0.0-20250521183405-c7a690348df7 |
| GO-2025-3704 | Go | github.com/grafana/grafana | all versions | no fix published |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Ubuntu | 16.04:LTS | grafana | no fix listed | UBUNTU-CVE-2025-4123 |
| Red Hat | enterprise_linux:8::appstream | grafana, grafana-selinux, grafana-debuginfo and 1 more | 0:9.2.10-23.el8_10 | RHSA-2025:7894 |
| Red Hat | enterprise_linux:9::appstream | grafana, grafana-selinux, grafana-debuginfo and 1 more | 0:10.2.6-13.el9_6 | RHSA-2025:7893 |
| Red Hat | enterprise_linux:10.0 | grafana, grafana-selinux, grafana-debuginfo and 1 more | 0:10.2.6-17.el10_0 | RHSA-2025:7892 |
| Red Hat | rhel_aus:8.2::appstream | grafana, grafana-loki, grafana-mssql and 11 more | 0:6.3.6-7.el8_2 | RHSA-2025:8684 |
| Red Hat | rhel_aus:8.4::appstream | grafana, grafana-debuginfo | 0:7.3.6-9.el8_4 | RHSA-2025:8683 |
| Red Hat | rhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstream | grafana, grafana-debuginfo | 0:7.5.11-6.el8_6 | RHSA-2025:8679 |
| Red Hat | rhel_e4s:8.8::appstream, rhel_tus:8.8::appstream | grafana, grafana-debuginfo | 0:7.5.15-7.el8_8 | RHSA-2025:8685 |
| Red Hat | rhel_e4s:9.0::appstream | grafana, grafana-debuginfo | 0:7.5.11-10.el9_0 | RHSA-2025:8681 |
| Red Hat | rhel_e4s:9.2::appstream | grafana, grafana-debuginfo, grafana-debugsource | 0:9.0.9-8.el9_2 | RHSA-2025:8680 |
| Red Hat | rhel_eus:9.4::appstream | grafana, grafana-selinux, grafana-debuginfo and 1 more | 0:9.2.10-23.el9_4 | RHSA-2025:8665 |
| SUSE | Manager Server 4.3 | release-notes-susemanager | 4.3.15.2-150400.3.133.1 | SUSE-SU-2025:01985-1 |
| openSUSE | Tumbleweed | govulncheck-vulndb | 0.0.20250527T204717-1.1 | openSUSE-SU-2025:15179-1 |
| openSUSE | Tumbleweed | grafana | 11.6.1+security01-1.1 | openSUSE-SU-2025:15171-1 |
| AlmaLinux | 8 | grafana, grafana-selinux | 9.2.10-23.el8_10 | ALSA-2025:7894 |
| AlmaLinux | 9 | grafana, grafana-selinux | 10.2.6-13.el9_6 | ALSA-2025:7893 |
| Rocky Linux | 8 | grafana | 0:9.2.10-23.el8_10 | RLSA-2025:7894 |
| Rocky Linux | 9 | grafana | 0:10.2.6-13.el9_6 | RLSA-2025:7893 |
| Rocky Linux | 10 | grafana | 0:10.2.6-17.el10_0 | RLSA-2025:7892 |
From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Important.
This Grafana vulnerability is Important due to its low exploitation barrier and high impact. Unlike typical XSS flaws, it can be triggered without authentication if anonymous access is enabled—a common setup in shared dashboards. It arises from improper handling of user-supplied paths in custom frontend plugins, leading to XSS and open redirect. When combined with the Grafana Image Renderer plugin, it enables full-read SSRF, exposing internal services and cloud metadata. This makes it a high-severity issue with serious real-world implications, especially in misconfigured or publicly exposed Grafana instances.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | grafana-0:10.2.6-17.el10_0 | Fixed 2025-05-19 | RHSA-2025:7892 |
| Red Hat Enterprise Linux 8 | grafana-0:9.2.10-23.el8_10 | Fixed 2025-05-19 | RHSA-2025:7894 |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | grafana-0:6.3.6-7.el8_2 | Fixed 2025-06-09 | RHSA-2025:8684 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | grafana-0:7.3.6-9.el8_4 | Fixed 2025-06-09 | RHSA-2025:8683 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | grafana-0:7.5.11-6.el8_6 | Fixed 2025-06-09 | RHSA-2025:8679 |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | grafana-0:7.5.11-6.el8_6 | Fixed 2025-06-09 | RHSA-2025:8679 |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | grafana-0:7.5.11-6.el8_6 | Fixed 2025-06-09 | RHSA-2025:8679 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | grafana-0:7.5.15-7.el8_8 | Fixed 2025-06-09 | RHSA-2025:8685 |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | grafana-0:7.5.15-7.el8_8 | Fixed 2025-06-09 | RHSA-2025:8685 |
| Red Hat Enterprise Linux 9 | grafana-0:10.2.6-13.el9_6 | Fixed 2025-05-19 | RHSA-2025:7893 |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | grafana-0:7.5.11-10.el9_0 | Fixed 2025-06-09 | RHSA-2025:8681 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | grafana-0:9.0.9-8.el9_2 | Fixed 2025-06-09 | RHSA-2025:8680 |
| Red Hat Enterprise Linux 9.4 Extended Update Support | grafana-0:9.2.10-23.el9_4 | Fixed 2025-06-09 | RHSA-2025:8665 |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-4123.
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.
Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.