Cyber Resilience

CVE-2025-5315

Access Control in Gitlab 17.2.0 – 17.11.5

Published
26 June 2025
Modified
17 June 2026
CVSS Score v3.1 4.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
EPSS Score 0.0022 13th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2025-5315 is a medium-severity Missing Authorization (CWE-862) vulnerability in Gitlab Gitlab. Its CVSS base score is 4.3 (Medium).

Operationally, ranked at the 13th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

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

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

An issue has been discovered in GitLab CE/EE affecting all versions from 17.2 before 17.11.5, 18.0 before 18.0.3, and 18.1 before 18.1.1 that could have allowed authenticated users with Guest role permissions to add child items to incident work items…

more

by sending crafted API requests that bypassed UI-enforced role restrictions.

CWE(s)

Related Threats

CVEs Like This One

CVE-2025-11989Same product: Gitlab Gitlab
CVE-2025-5846Same product: Gitlab Gitlab
CVE-2024-8114Same product: Gitlab Gitlab
CVE-2025-2246Same product: Gitlab Gitlab
CVE-2024-12431Same product: Gitlab Gitlab
CVE-2024-1539Same product: Gitlab Gitlab
CVE-2023-4630Same product: Gitlab Gitlab
CVE-2023-0805Same product: Gitlab Gitlab
CVE-2025-1299Same product: Gitlab Gitlab
CVE-2023-5600Same product: Gitlab Gitlab

Affected Assets

gitlab
gitlab
18.1.0 · 17.2.0 — 17.11.5 · 17.2.0 — 17.11.5 · 18.0.0 — 18.0.3

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • AC-3 Access Enforcement
  • AC-6 Least Privilege
  • AC-25 Reference Monitor
Detect
Catch it (NIST detect / respond)

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

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly enforces approved authorizations on all access requests, including API calls that bypass UI checks for incident work-item actions.

prevent

Restricts Guest-role accounts to only the minimum privileges required, eliminating the ability to add child items even if API authorization is incomplete.

prevent

Provides a tamperproof reference monitor that mediates every subject-object interaction, ensuring role restrictions cannot be bypassed by crafted requests.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.AA-05 full match
prevents

Explicitly requires defining, enforcing, and reviewing authorizations and least privilege, directly preventing missing authorization checks.

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

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

prevents

Requiring authentication and credentials before any access occurs eliminates the absence of authorization checks that would otherwise allow an unauthenticated actor to reach protected resources.

prevents

Requiring formal authorization of every access request before rights are granted ensures that checks for required permissions are performed, preventing missing authorization checks from being introduced.

prevents

Mandatory authorization checks and central records of granted rights ensure that every access attempt is preceded by an explicit decision rather than relying on missing checks.

mitigates

Segregating the approval of access rights from their implementation provides an independent check that reduces the impact of missing authorization checks in the resulting system configuration.

detects

By requiring competent outsiders to verify that every function enforces the need-to-know principle, the control lowers the likelihood that missing authorization checks persist undetected.

prevents

Defining authorization responsibilities and reviewing risk-treatment progress throughout the project lifecycle catches missing authorization checks before the system is deployed.

References