Skip to main content

GitLab CVE-2026-1338

| EUVDEUVD-2026-30221 MEDIUM
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-05-14 cve@gitlab.com GHSA-8h74-p4xx-m53m
4.3
CVSS 3.1 · Vendor: gitlab
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to GitLab as developer-role user
  2. Delivery
    Enumerate project container registry for protected tags
  3. Exploit
    Craft tag deletion API request targeting a protected tag
  4. Execution
    Server skips authorization enforcement due to CWE-639 flaw
  5. Impact
    Protected container registry tag deleted

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Exploitation requires two concrete conditions: (1) an authenticated GitLab account with at minimum developer-role permissions on the target project, as confirmed by CVSS PR:L; and (2) the target project must have the container registry enabled and at least one protected container registry tag rule configured - this is not a default-on GitLab feature and must be explicitly set up by a Maintainer or Owner. The bypass is scoped solely to the container registry tag deletion operation and does not affect branch protections, merge request approvals, or other protection mechanisms. Limiting factors include the requirement for authenticated developer-level access (ruling out unauthenticated or anonymous exploitation), the need for a non-default protected-tag configuration in the container registry, and the SSVC determination that the attack is not automatable, precluding mass or scripted exploitation across arbitrary GitLab instances.

Impact

The CVSS 3.1 base score of 4.3 (Medium) reflects a network-accessible (AV:N), low-complexity (AC:L), low-privilege (PR:L), no-user-interaction (UI:N) attack with a partial integrity impact (I:L) and no confidentiality or availability impact. EPSS places exploitation probability at 0.01% within 30 days (1st percentile), far below the threshold that typically characterizes opportunistically exploited vulnerabilities. SSVC corroborates this: exploitation is 'none', the attack is not automatable (it requires an authenticated developer account and deliberate targeting of a specific protected tag), and technical impact is only partial. The primary practical risk is to organizations that rely on container registry tag protection as an enforced security boundary - for example, preventing developers from deleting or overwriting immutable release image tags used in production deployments. For these environments, the integrity impact is meaningful despite the low CVSS score. For organizations that do not use protected container registry tags, exposure is negligible. No conflicting signals are present across the available data sources.

Exploit ScenarioDerived

An authenticated GitLab user holding developer-role access on a target project identifies a container registry tag that has been marked protected - for example, a tagged production image such as 'registry.example.com/app:v2.1.0-release'. The developer crafts or replays a tag deletion API request that the server fails to gate against the tag protection policy, successfully deleting the protected tag and potentially disrupting dependent deployments or breaking image immutability guarantees. No public exploit identified at time of analysis, but the attack requires only a valid authenticated session and knowledge of the target tag name.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 08, 2026

Authenticated developers in GitLab CE/EE can bypass container registry tag protection policies and delete protected tags due to improper server-side authorization checks (CWE-639), affecting all versions from 17.10 before 18.9.7, 18.10 before 18.10.6, and 18.11 before 18.11.3. The vulnerability was privately disclosed via HackerOne (report 3480620) and remediated in the May 2026 patch release cycle. No public exploit identified at time of analysis, and an EPSS of 0.01% (1st percentile) combined with SSVC exploitation status of 'none' indicate minimal current real-world exploitation risk.

RemediationAI

Upgrade GitLab CE/EE to one of the three patched releases: 18.9.7, 18.10.6, or 18.11.3, as documented in the vendor advisory at https://about.gitlab.com/releases/2026/05/13/patch-release-gitlab-18-11-3-released/. If an immediate upgrade is not feasible, a compensating control is to audit and reduce developer-role membership on projects that actively use protected container registry tags as a security boundary - limiting the population of users who could trigger the authorization bypass. Note that reducing developer-role access may break CI/CD pipeline jobs or automation that depends on developer-level permissions for registry operations, so pipeline service accounts should be reviewed before applying this workaround. Disabling the container registry entirely is not warranted given the narrow scope of the flaw.

Affected VersionsENISA

GitLab 17.10 <18.9.7
GitLab 18.10 <18.10.6
GitLab 18.11 <18.11.3

Affected Packages

euvd gitlab fix: 18.9.7, 18.10.6, 18.11.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

GitLab's container registry supports tag protection rules intended to restrict which roles may delete or modify specific image tags - a control commonly used to enforce immutability on release or production artifacts. CWE-639 (Authorization Bypass Through User-Controlled Key) describes a flaw class where the application relies on a user-supplied identifier to make authorization decisions without adequate server-side enforcement, a pattern closely related to Insecure Direct Object Reference (IDOR). In this case, the tag deletion endpoint fails to enforce the protected-tag policy when the request originates from a developer-role session, allowing the user to supply a protected tag's identifier and successfully delete it. Both GitLab Community Edition and Enterprise Edition are confirmed affected by CPE strings cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* and cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*, making this an across-the-board issue independent of licensing tier.

Know when Gitlab gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (gitlab) PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Primary rating from Vendor (gitlab) · only source for this CVE.

CVSS VectorVendor: gitlab

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
May 14, 2026 - 07:01 EUVD

DescriptionCVE.org

GitLab has remediated an issue in GitLab CE/EE affecting all versions from 17.10 before 18.9.7, 18.10 before 18.10.6, and 18.11 before 18.11.3 that could have allowed an authenticated user with developer-role permissions to delete protected container registry tags due to improper authorization checks.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Gitlab

View all
CVE-2021-22205 CRITICAL POC
10.0 Apr 23

An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.9. Rated critical severity (CVSS 10

CVE-2023-7028 CRITICAL POC
10.0 Jan 12

An issue has been discovered in GitLab CE/EE affecting all versions from 16.1 prior to 16.1.6, 16.2 prior to 16.2.9, 16.

CVE-2021-22175 CRITICAL POC
9.8 Jun 11

When requests to the internal network for webhooks are enabled, a server-side request forgery vulnerability in GitLab af

CVE-2026-85706 CRITICAL POC
10.0 Sep 12

Unauthenticated arbitrary file read in GitLab CE/EE lets remote attackers retrieve files from the GitLab server via the

CVE-2026-97229 CRITICAL POC
10.0 Oct 13

Remote code execution in GitLab CE/EE (all versions from 19.2 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2)

CVE-2013-4490 MEDIUM POC
6.5 May 13

The SSH key upload feature (lib/gitlab_keys.rb) in gitlab-shell before 1.7.3, as used in GitLab 5.0 before 5.4.1 and 6.x

CVE-2022-2992 CRITICAL POC
9.9 Oct 17

A vulnerability in GitLab CE/EE affecting all versions from 11.10 prior to 15.1.6, 15.2 to 15.2.4, 15.3 to 15.3.2 allows

CVE-2024-45409 CRITICAL POC
9.8 Sep 10

The Ruby SAML library is for implementing the client side of a SAML authorization. Rated critical severity (CVSS 9.8), t

CVE-2026-110264 CRITICAL POC
10.0 Oct 22

Remote code execution in GitLab CE/EE can be triggered by a specially crafted regular expression processed through a vul

CVE-2026-87719 CRITICAL POC
9.9 Sep 12

Sensitive credential and configuration disclosure in GitLab Enterprise Edition allows an authenticated user with Duo Cha

CVE-2018-18843 CRITICAL POC
10.0 Dec 04

The Kubernetes integration in GitLab Enterprise Edition 11.x before 11.2.8, 11.3.x before 11.3.9, and 11.4.x before 11.4

CVE-2026-72867 CRITICAL POC
9.9 Aug 10

Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy