Database/Control plane, storage & DevOps
GitLab: a limited-scope granular access token can authorize Kubernetes API proxy access beyond its scope
Impact
In the GitLab agent for Kubernetes proxy-user flow, GitLab does not check the scope of a granular personal access token when it authorizes access to the Kubernetes API proxy. A user holding a token meant to be narrowly scoped can reach clusters connected through the GitLab agent beyond what the token was supposed to allow. The record does not say which Kubernetes actions become reachable. Where GPU clusters are managed through the GitLab agent, a leaked or delegated low-scope token is worth more than its owner intended. The scope change in the CVSS vector reflects the jump from GitLab into the connected cluster.
Who can reach it
An authenticated GitLab user holding a granular personal access token, against an instance with the Kubernetes agent proxy-user flow set up. Attack complexity is rated high ('under certain conditions'). Affects 19.2 and later.
What to do
Upgrade GitLab to 19.3.9, 19.4.8 or 19.5.6. Self-managed instances need a GitLab upgrade and service restart. Until then, check which granular tokens can reach agent-connected clusters and revoke the ones nobody needs.
References
Related entries
- Linux perf/x86/amd - race between amd_pmu_enable_all, perf NMI and throttling: A race between AMD PMU enablementCVE-2022-49781 · Linux perf/x86/amd - race between amd_pmu_enable_all, perf NMI and throttlingMedium
- Intel Neural Compressor (TOCTOU): A time-of-check/time-of-use race in Neural Compressor lets an authenticated localCVE-2024-21792 · Intel Neural Compressor (TOCTOU)Medium
- GitLab: stored XSS via pasted HTML in the Content EditorCVE-2026-19619 · GitLab CE/EE (Content Editor, pasted HTML sanitization)Medium
- Rittal CMC III cabinet lock / access-card system: The access cards used to open control cabinets secured with RittalCVE-2022-40633 · Rittal CMC III cabinet lock / access-card systemMedium
- Keycloak: Redirect scheme filtering bypassed by appending a wildcardCVE-2023-6134 · KeycloakMedium
- Keycloak: Wildcard in the JARM form_post.jwt response modeCVE-2023-6927 · KeycloakMedium
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.