CVE-2026-42127: The public dashboard query endpoint does not limit request body size before processing, allowing unauthenticated attackers to trigger excessive memory allocation by sending arbitrarily large JSON...

High CVSS 7.5

CVE id
CVE-2026-42127
Published
Last modified

Affected packages

PackageAffected versionsFixed in
Grafana
Runtimes and servers
<= 11.6.14
>= 12.2.0, <= 12.2.8
>= 12.3.0, <= 12.3.6
>= 12.4.0, <= 12.4.3
>= 13.0.0, <= 13.0.1
after 11.6.14, 12.2.8, 12.3.6, 12.4.3, 13.0.1

How to fix it

Upgrade Grafana to a release newer than the last affected update of the line you run (11.6.14, 12.2.8, 12.3.6, 12.4.3, 13.0.1).

grafana-server -v
  • Upgrade Grafana (the grafana/grafana image tag or packages) to the patched release.

A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.

Details

The public dashboard query endpoint does not limit request body size before processing, allowing unauthenticated attackers to trigger excessive memory allocation by sending arbitrarily large JSON payloads. This can lead to denial of service through memory exhaustion. No valid dashboard access token or authentication is required to exploit this vulnerability.

References

Am I affected?

Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.

or paste its content

Needed when you paste. package.json and pyproject.toml only have version ranges: use the lockfile next to them.

Only package names and versions are checked; the file itself is not kept. We use your email to send this report and nothing else unless you tick the box above. Privacy policy.

About this data

Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.