Skip to main content

Grafana Loki EUVDEUVD-2026-44862

| CVE-2026-21729 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-07-16 GRAFANA GHSA-65p5-8cm9-qcxx
7.5
CVSS 3.1 · Vendor: GRAFANA
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach Loki query HTTP API
  2. Delivery
    Craft query with huge limit
  3. Exploit
    Trigger oversized memory allocation
  4. Execution
    Repeat to exhaust host memory
  5. Impact
    Querier/ingester degradation or crash (DoS)

Vulnerability Assessment

Weakness
CWE
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires network reachability to Loki's HTTP query API and the ability to submit a query with an unusually large result limit; the CVSS models this as unauthenticated (PR:N) with no user interaction, so no credentials or victim action are modeled as required. The primary limiting factor is deployment strategy, which the vendor explicitly calls out: deployments that already enforce per-tenant query limits (e.g. max_entries_limit_per_query), sit behind an authenticating proxy, or run with generous memory headroom and horizontal scaling substantially reduce impact, whereas a single-binary or under-provisioned instance with default/unbounded limits is directly exposed. Realized severity therefore depends on whether query limits and auth are enforced in front of the query endpoint.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) scores 7.5 and reflects a network-reachable, low-complexity, unauthenticated availability attack with no confidentiality or integrity impact - a classic resource-exhaustion DoS rather than a code-execution or data-exposure bug. Real-world risk is strongly deployment-dependent: the description itself qualifies impact as depending on 'its deployment strategy,' so a monolithic/single-binary Loki without query limits or memory guardrails is at genuine risk, while a well-provisioned, sharded, per-tenant-limited deployment behind auth/proxy is far more resilient. No EPSS score, KEV listing, or POC is provided, so this is not evidence of active or imminent mass exploitation; the PR:N rating also assumes the query endpoint is reachable without authentication, which many production deployments front with a reverse proxy or gateway - verify tenant/auth exposure before treating PR:N as literal in your environment.

Exploit ScenarioDerived

An attacker who can reach the Loki HTTP query API sends a LogQL query specifying a very large limit value, causing the querier to attempt a correspondingly large memory allocation. Repeating or scaling such requests drives memory pressure that degrades or crashes the affected components, denying service to legitimate users; because the CVSS complexity is low and no authentication is modeled, the request requires no special tooling beyond API access.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 16, 2026

Uncontrolled memory allocation in Grafana Loki lets remote unauthenticated users issue queries with excessively large limit values, forcing the service to allocate large amounts of memory and potentially exhausting host resources. The impact is denial of service (CVSS 7.5, A:H only) and varies by deployment topology - a single-binary or under-provisioned deployment is far more exposed than a horizontally scaled microservices setup. There is no public exploit identified at time of analysis and it is not listed in CISA KEV; note the input 'Information Disclosure' tag conflicts with the CVSS impact (C:N/I:N/A:H), which indicates an availability-only issue.

RemediationAI

Consult the Grafana security advisory at https://grafana.com/security/security-advisories/cve-2026-21729 and upgrade to the vendor's fixed release; the exact patched version was not included in the provided data and should be taken directly from that advisory rather than assumed (Patch available per vendor advisory). As compensating controls until patched, cap query result sizes and memory using Loki's per-tenant limits configuration - set or lower max_entries_limit_per_query and related query limits, and configure querier/ingester memory limits (and Kubernetes resource limits) so an oversized query cannot exhaust the node; the trade-off is that legitimate large queries will be rejected. Additionally, require authentication on the query API by fronting Loki with an authenticating reverse proxy or API gateway and restrict network access to the query/HTTP endpoints to trusted clients only, accepting the operational overhead of managing that access layer.

Affected VersionsENISA

Loki v3.0.0 <v3.7.0

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Grafana Loki is a horizontally scalable, multi-tenant log aggregation system (the logging counterpart to Prometheus) commonly deployed in Kubernetes and cloud-native environments and queried via LogQL through its HTTP query API. The flaw is an uncontrolled resource consumption problem: query parameters that set large result limits are honored without adequate bounding, so the querier/ingester components allocate memory proportional to the requested limit rather than to a safe ceiling. The affected component is Grafana Loki (CPE cpe:2.3:a:grafana:loki:*), and the root-cause class is CWE-770 (Allocation of Resources Without Limits or Throttling) / CWE-400 (Uncontrolled Resource Consumption), even though the input records CWE as N/A.

Know when Loki gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GRAFANA) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Network-reachable query API, low-complexity oversized-limit request, no auth modeled (PR:N), and pure availability impact via memory exhaustion (A:H, C:N, I:N).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.5 HIGH

Primary rating from Vendor (GRAFANA).

CVSS VectorVendor: GRAFANA

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

Loki queries with large limits can cause large memory allocations which can impact the availability of the service, depending on its deployment strategy.

Executive ViewAI

Why It Matters

Grafana Loki is vulnerable to remote denial of service through malicious queries with excessively large parameters, enabling any unauthenticated attacker to exhaust system memory and disable observability infrastructure. Organizations with internet-exposed Loki instances face immediate risk; exploitation requires no credentials and can originate from any network location. Loss of logging visibility directly impairs incident detection, forensics, and security investigation capability.

Business Impact: High
Compensating Controls

Rate-limit unauthenticated query endpoints; enforce maximum query limit parameters in request validation; implement per-query memory and CPU resource caps; restrict Loki API access to internal networks only where operationally feasible; deploy load balancing to distribute query load across multiple Loki instances; establish monitoring and alerting on oversized query attempts and per-query memory consumption.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
High
widely deployed cloud-native log aggregation system in Kubernetes environments
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Important

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy