Grafana JSON datasource plugin vulnerability

Check todayFull system takeover over the network by a logged-in user.
8HIGH

CVE-2023-5123

Key Information:

Vendor

Grafana

CVE ID
CVE ID:
CVE-2023-5123
Vendor
CVE Published:
14 February 2024
Fixed in
Fixed in:
1.3.21

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Update to a fixed version
grafana-json-datasource 0.2.0 to below 1.3.21 is vulnerable
Install grafana-json-datasource 1.3.21 or later
Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach grafana-json-datasource. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Check today"
  • Its CVSS severity is high (8).

What is CVE-2023-5123?

The JSON datasource plugin maintained by Grafana Labs allows administrators to retrieve and process JSON data from remote endpoints. However, a vulnerability exists due to insufficient sanitization of the path parameter supplied in dashboards. This flaw enables attackers to include path traversal characters, allowing requests to arbitrary subpaths on the configured endpoint. In scenarios where the datasource is set to point back to the Grafana instance, the situation escalates, potentially allowing for unauthorized access to sensitive administrative API endpoints. This vulnerability underscores the importance of robust input validation and the need for security measures in dashboard configurations.

References

Server-side Request Forgery in mcp-grafana

CVE-2026-19516
GrafanaGrafana Mcp ServerπŸ˜„πŸ‘Ύ9.1CRITICAL

Remote Code Execution Vulnerability in Grafana Enterprise Plugin

CVE-2026-27876
GrafanaGrafanaπŸ˜„πŸ‘Ύ9.1CRITICAL

HTML Injection in Grafana

CVE-2025-41117
GrafanaGrafana/grafana6.8MEDIUM
View more Grafana vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
Required
Scope:
Unchanged
.