Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-104661 Overview
GitLab has patched an improper privilege assignment issue [CWE-266] in GitLab Enterprise Edition (EE). The flaw affects all versions from 17.0 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2. Under specific conditions, an authenticated user holding a custom role with compliance framework administration permissions could configure and execute a specially crafted compliance pipeline across group projects. The issue stems from improper privilege boundaries assigned to the compliance framework administration permission.
Critical Impact
An authenticated attacker with a scoped custom role can execute compliance pipelines across group projects, exceeding the intended privilege boundary of that role.
Affected Products
- GitLab Enterprise Edition versions 17.0 through 19.2.7
- GitLab Enterprise Edition versions 19.3 through 19.3.4
- GitLab Enterprise Edition versions 19.4 through 19.4.1
Discovery Timeline
- 2026-10-13 - CVE-2026-104661 published to NVD
- 2026-10-14 - Last updated in NVD database
Technical Details for CVE-2026-104661
Vulnerability Analysis
The vulnerability resides in how GitLab EE assigns privileges to custom roles granted compliance framework administration permissions. Compliance frameworks in GitLab allow administrators to attach pipelines that run alongside project pipelines to enforce organizational compliance requirements. These pipelines inherit elevated execution context relative to standard project pipelines.
A user holding a custom role with compliance framework administration permissions should be limited to managing framework definitions. However, under certain conditions the role allowed configuring and executing a crafted compliance pipeline across projects within a group. This exceeds the intended authorization boundary associated with that permission.
Root Cause
The root cause is improper privilege assignment [CWE-266] on the compliance framework administration permission. The permission grants capabilities beyond framework management, allowing pipeline configuration and execution across group projects without a corresponding higher-privilege check.
Attack Vector
Exploitation requires an authenticated user with a custom role carrying compliance framework administration permissions. The attacker configures a crafted compliance pipeline tied to a framework and triggers execution across projects in the targeted group. No user interaction is required beyond the attacker's own actions, and the attack is network-reachable through the GitLab web interface or API.
Technical details on the fix are tracked in GitLab Work Item #621386.
Detection Methods for CVE-2026-104661
Indicators of Compromise
- Unexpected compliance framework modifications or new framework definitions created by non-administrator accounts.
- Compliance pipelines executing in group projects that previously had no framework attachment history.
- Audit log entries showing custom-role users invoking compliance pipeline configuration APIs.
Detection Strategies
- Review GitLab audit events for compliance framework changes correlated with custom role membership.
- Query CI/CD pipeline execution history for compliance pipeline runs originating from users without top-level group owner privileges.
- Compare current custom role assignments against a baseline inventory to identify unauthorized grants of compliance framework administration permissions.
Monitoring Recommendations
- Forward GitLab audit and CI/CD logs to a centralized log store with alerting on compliance framework CRUD operations.
- Alert on new or modified .gitlab-ci.yml files referenced by compliance frameworks across group projects.
- Track custom role creation and permission assignment events for the admin_compliance_framework capability.
How to Mitigate CVE-2026-104661
Immediate Actions Required
- Upgrade GitLab EE to 19.4.2, 19.3.5, or 19.2.8 depending on the deployed branch.
- Audit all custom roles currently granting compliance framework administration permissions and revoke where not required.
- Review recent compliance pipeline executions and framework changes across group projects for unauthorized activity.
Patch Information
GitLab released fixed versions 19.4.2, 19.3.5, and 19.2.8. Deployment instructions and release notes are available in the GitLab Patch Release 19.4.2 advisory.
Workarounds
- Remove compliance framework administration permissions from all custom roles until the patch is applied.
- Restrict compliance framework management to top-level group owners through the default role model.
- Disable compliance pipeline configuration on sensitive groups by removing framework attachments temporarily.
# Example: list custom roles via GitLab API to audit compliance permissions
curl --header "PRIVATE-TOKEN: <admin_token>" \
"https://gitlab.example.com/api/v4/groups/<group_id>/member_roles"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

