Security Resilience

CVE-2024-1299

Gitlab 16.8.0 – 16.8.4

Public PoC
Published
07 March 2024
Modified
17 June 2026
CVSS Score v3.1 6.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
EPSS Score 0.0066 52th percentile
Risk Priority 50 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-1299 is a medium-severity Privilege Chaining (CWE-268) vulnerability in Gitlab. Its CVSS base score is 6.5 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Account Manipulation (T1098); ranked in the top 48% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-5 (Separation of Duties) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

A privilege escalation vulnerability was discovered in GitLab affecting versions 16.8 prior to 16.8.4 and 16.9 prior to 16.9.2. It was possible for a user with custom role of `manage_group_access_tokens` to rotate group access tokens with owner privileges.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1098 Account Manipulation Persistence
Adversaries may manipulate accounts to maintain and/or elevate access to victim systems.
T1098.003 Additional Cloud Roles Persistence
An adversary may add additional roles or permissions to an adversary-controlled cloud account to maintain persistent access to a tenant.
T1548.005 Temporary Elevated Cloud Access Privilege Escalation
Adversaries may abuse permission configurations that allow them to gain temporarily elevated access to cloud resources.
T1078 Valid Accounts Stealth
Adversaries may obtain and abuse credentials of existing accounts as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
T1098.001 Additional Cloud Credentials Persistence
Adversaries may add adversary-controlled credentials to a cloud account to maintain persistent access to victim accounts and instances within the environment.
T1543 Create or Modify System Process Persistence
Adversaries may create or modify system-level processes to repeatedly execute malicious payloads as part of persistence.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-1250Same product: Gitlab Gitlab
CVE-2023-6477Same product: Gitlab Gitlab
CVE-2023-2485Same product: Gitlab Gitlab
CVE-2024-12303Same product: Gitlab Gitlab
CVE-2024-8631Same product: Gitlab Gitlab
CVE-2025-7691Same product: Gitlab Gitlab
CVE-2025-1198Same product: Gitlab Gitlab
CVE-2024-11668Same product: Gitlab Gitlab
CVE-2026-6515Same product: Gitlab Gitlab
CVE-2023-1965Same product: Gitlab Gitlab

Affected Assets

gitlab
gitlab
16.8.0 — 16.8.4 · 16.8.0 — 16.8.4 · 16.9.0 — 16.9.2

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 5 hardening rules · 5 OS baselines
Validate
Prove the fix (OWASP ASVS)

—

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Access enforcement can apply rules that block unsafe privilege combinations at runtime.

Separation of duties directly blocks assignment of privilege combinations that enable unsafe actions.

Least privilege reduces the set of privileges available for dangerous chaining.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.AA-05 mostly match
blocks

Least-privilege policy definition and enforcement directly limits unsafe privilege combinations while the control also addresses broader policy lifecycle activities.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

blocks

Access control policies can limit the combination of privileges that enable unsafe actions.

blocks

A.5.18's segregation-of-duties requirement (item c) and its review of privileged access rights address a slice of privilege chaining where the dangerous combination is in the granted access rights themselves, but most CWE-268 instances arise from application-level logic and runtime role interactions (e.g., the OPERATOR-resets-Admin-password pattern) that the provisioning/revocation lifecycle does not reach.

blocks

Segregation of duties prevents a single individual from holding conflicting privileges that could be chained, but it does not block the exploitation of privilege chaining that already exists in a system's design or code.

prevents

A.8.28's threat modelling, secure design guidance, secure coding standards, and peer review practices reduce privilege-chaining flaws by catching both the architectural design (how privileges combine) and the implementation defect (missing role checks), but the control mandates a fallible human practice so a minority of instances are prevented, consistent with the A.8.28 -> CWE-502 and A.8.28 -> CWE-79 anchors.

finds

A.8.29's programme — code review, SAST, and penetration testing, with explicit testing of access restriction (8.3) — reaches most CWE-268 instances: code review catches role-check gaps like the OPERATOR-resets-admin-password pattern, and penetration testing exercises privilege combinations from outside. The remainder is bounded: subtle design-level chains that require full architectural understanding of the permission model and are not visible in any single code path or external behaviour.

prevents

A.8.30 carries its effect through the secure design and coding practices (8.25-8.29) its contract requires of the outsourced supplier, which reduces instances of privilege chaining in delivered code the way those practices do; the clause has a declared ceiling of `partial` on this verb, and the remainder is the same fallibility of human practice plus the subtlety of an architectural authorization defect that standard secure-coding guidance may not catch.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

No rule maps to these weaknesses at full or mostly. Tick the option above to see the partial mappings.

Ubuntu 22.04 (1 partial rule)
  • V-260559 Ubuntu 22.04 LTS must ensure only users who need access to security functions are part of sudo group. blocks CWE-268
Ubuntu 24.04 (1 partial rule)
  • V-270748 Ubuntu 24.04 LTS must ensure only users who need access to security functions are part of sudo group. blocks CWE-268
Windows 10 (1 partial rule)
  • V-220712 Only accounts responsible for the administration of a system must have Administrator rights on the system. blocks CWE-268
Windows Server 2016 (1 partial rule)
  • V-225007 Only administrators responsible for the member server or standalone or nondomain-joined system must have Administrator rights on the system. blocks CWE-268
Windows Server 2019 (1 partial rule)
  • V-205746 Windows Server 2019 must only allow Administrators responsible for the member server or standalone or nondomain-joined system to have Administrator rights on the system. blocks CWE-268

References