CVE-2026-42127: Grafana Unauthenticated Denial-of-Service via Request Body Size
A vulnerability in Grafana's public dashboard query endpoint allows attackers to crash the service by sending extremely large requests without needing any credentials. The vulnerability stems from missing request size validation, which permits an attacker to force the server to allocate unbounded memory until it runs out of resources. This is a straightforward denial-of-service attack that requires only network access to an exposed Grafana instance.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 7.5 HIGH · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses (CWE)
- CWE-400, CWE-770
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-06-22 / 2026-07-10
NVD description (verbatim)
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.
1 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-42127 exploits insufficient input validation in Grafana's public dashboard query endpoint. The endpoint accepts unauthenticated requests and processes JSON payloads without enforcing request body size limits, enabling attackers to trigger excessive memory allocation. The vulnerability maps to CWE-400 (Uncontrolled Resource Consumption) and CWE-770 (Allocation of Resources Without Limits or Throttling). With a CVSS v3.1 score of 7.5 (HIGH severity), the attack vector is network-based, requires no authentication, no user interaction, and results in a complete denial of availability to legitimate users.
Business impact
Organizations running Grafana as a monitoring or visualization platform face potential service interruptions. Public dashboard endpoints, often used for executive dashboards, team views, or integration with third-party tools, become attack surface. A successful exploit can render dashboards inaccessible, disrupting incident response workflows, SLA monitoring, and data-driven decision-making. Attackers need only a network path to the Grafana instance; no insider knowledge or valid credentials are required. Repeated attacks could signal the beginning of a broader incident or be paired with other attack objectives.
Affected systems
Grafana (all versions implementing the public dashboard query endpoint without request size validation) is affected. Organizations should consult the official Grafana security advisory to identify the specific versions in scope and whether their deployment includes publicly accessible dashboard query endpoints. The vulnerability applies equally to on-premise and cloud-hosted Grafana instances that expose this endpoint to untrusted networks.
Exploitability
The vulnerability is straightforward to exploit: an attacker sends a simple HTTP POST with a large JSON body to the public dashboard query endpoint. No authentication, API key, or special user interaction is needed. Exploitation requires only network connectivity and knowledge of the endpoint URL. Public Grafana instances discovered through scanning or documentation are immediately at risk. The low barrier to exploitation and the lack of defensive signals make this an attractive target for both opportunistic attackers and those conducting reconnaissance.
Remediation
Verify the applicable Grafana security advisory for the specific patched versions addressing this vulnerability. Apply the recommended patch immediately, prioritizing environments with public or less-restricted dashboard endpoints. Until patches are applied, consider implementing external request size limits via reverse proxy (nginx, HAProxy, or cloud load balancer) to reject payloads exceeding a reasonable threshold (e.g., 1–10 MB depending on legitimate dashboard query patterns). Restrict network access to the Grafana instance using firewall rules or VPC controls where feasible.
Patch guidance
Consult the official Grafana security advisory for version-specific patches. Apply patches to development, staging, and production environments in sequence. Verify that request size limits are enforced post-patch by testing with oversized payloads. Review Grafana's release notes to confirm no breaking changes or configuration adjustments are necessary. If you are unable to patch immediately, implement compensating controls at the network perimeter (see remediation_summary).
Detection guidance
Monitor Grafana logs and upstream proxy/WAF logs for HTTP requests to the public dashboard query endpoint with unusually large Content-Length headers or request body sizes. Baseline typical dashboard query sizes within your environment and alert on outliers. Inspect error logs for out-of-memory (OOM) kills, crashes, or abnormal memory spikes. Network-based detection can identify POST requests with payloads significantly exceeding normal patterns. Configure rate limiting and connection throttling on the public endpoint to slow brute-force or volumetric exploitation attempts.
Why prioritize this
This vulnerability merits immediate attention due to its HIGH CVSS score (7.5), unauthenticated exploitability, and low operational complexity. Unlike vulnerabilities requiring authentication or user interaction, this attack can be mounted by any network-accessible attacker in seconds. Public Grafana instances are discoverable and likely targets for opportunistic attackers. The denial-of-service impact disrupts monitoring and observability, which are critical to incident response and operational visibility. While not rated for active exploitation in the KEV catalog at present, the ease of exploitation means active attacks are probable as awareness spreads.
Risk score, explained
The CVSS v3.1 score of 7.5 reflects HIGH severity because: (1) Network-based attack vector requires no authentication or special privileges; (2) Availability is completely compromised when memory is exhausted; (3) No user interaction is needed to trigger the condition; (4) The attack is trivial to execute with standard tools; (5) Impact is organization-wide for the affected service. The vulnerability does not affect confidentiality or integrity, limiting the score from CRITICAL, but the guaranteed denial-of-service impact and unauthenticated nature justify the HIGH classification.
Frequently asked questions
Do I need valid Grafana credentials to exploit this vulnerability?
No. The public dashboard query endpoint processes unauthenticated requests, meaning an attacker needs only network access to the endpoint URL. No API key, authentication token, or valid user account is required.
What happens if I don't patch immediately?
Your Grafana instance remains vulnerable to on-demand denial-of-service attacks. An attacker can send a single large request to crash or severely degrade the service. Implementing external request size limits (via reverse proxy or cloud load balancer) provides interim protection while you prepare the patch.
Can I tell if my instance has been exploited?
Look for unexpected out-of-memory errors, service crashes, or spike patterns in memory usage coinciding with unusual HTTP traffic to dashboard endpoints. Check Grafana logs for errors during request processing. Enable verbose logging and correlation with upstream proxy or WAF logs to identify malicious POST requests with oversized payloads.
Is this vulnerability currently being actively exploited?
The vulnerability is not listed in the CISA KEV catalog as of the last update, meaning active exploitation has not been confirmed at scale. However, the low barrier to exploitation suggests opportunistic attacks are likely as awareness increases. Do not assume you have time to defer patching.
This analysis is based on the published CVE record and vendor information available as of the modification date (2026-07-10). Specific patch version numbers, availability, and affected product versions should be verified against the official Grafana security advisory and product documentation. No exploit code or weaponized proof-of-concept is provided. Organizations should conduct their own risk assessment based on their infrastructure, network exposure, and business criticality. This content is for informational purposes and does not constitute legal, compliance, or professional security advice. Source: NVD (public-domain), retrieved 2026-07-28. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2023-54365HIGHTraefik HTTP/2 Denial of Service Vulnerability – Rapid Reset Attack
- CVE-2026-12151HIGHundici WebSocket Memory Exhaustion DoS Vulnerability
- CVE-2026-40983HIGHMicrometer gRPC Denial-of-Service Vulnerability
- CVE-2026-40984HIGHMicrometer Denial-of-Service Vulnerability – HTTP Request Handling Flaw
- CVE-2026-44250HIGHNetty Redis Codec Denial-of-Service via Nested Array Memory Exhaustion
- CVE-2026-44890HIGHNetty Redis Codec Memory Exhaustion Denial of Service
- CVE-2026-45591HIGHASP.NET Core Remote Denial-of-Service Vulnerability – Patch Guidance
- CVE-2026-48779HIGHws WebSocket Memory Exhaustion DoS – Patch Guidance