Skip to main content

GitLab CVE-2025-4097

MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2025-12-11 cve@gitlab.com
6.5
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 with low-privilege account
  2. Exploit
    Upload specially crafted image
  3. Execution
    Trigger uncontrolled resource consumption in image processing
  4. Impact
    Exhaust server resources / deny service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated GitLab CE/EE account (PR:L) with the ability to upload images - a capability available to ordinary low-privilege users across typical upload surfaces (projects, issues, comments, avatars). The attacker must craft a malformed/specially crafted image that triggers uncontrolled resource consumption (CWE-770) during server-side processing; no user interaction by a victim is needed (UI:N) and the attack is network-reachable (AV:N) with low complexity (AC:L). Limiting factors: a valid account is mandatory, so instances that disable public/self-registration and restrict accounts to trusted users materially reduce exposure; impact is confined to availability (service degradation/denial), with no data disclosure or modification. Affected deployments are any self-managed GitLab CE/EE running a version in the ranges all 11.10 before 18.4.6, 18.5 before 18.5.4, or 18.6 before 18.6.2.

Impact

This is a moderate, not top-priority, issue. The CVSS 3.1 score of 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) correctly reflects an availability-only impact: no confidentiality or integrity loss, network-reachable, low attack complexity, but requiring an authenticated account (PR:L). All signals point the same direction and are consistent - there is no network-vs-local contradiction here. EPSS is low at 0.30% (21st percentile), there is no CISA KEV listing, and no public exploit code was identified, so there is no evidence of active or widespread exploitation; the vulnerability class (CWE-770, uncontrolled resource consumption via crafted image uploads) is a classic DoS rather than a code-execution or data-exposure flaw. The main risk driver is that GitLab is widely deployed and many instances allow self-registration or hold large authenticated user populations, which lowers the practical bar for the PR:L precondition. Net assessment: a legitimate maintenance-priority patch for availability-sensitive GitLab deployments, but it does not rise to emergency/drop-everything status given low exploitation probability, absence of KEV/POC, and no confidentiality or integrity consequences.

Exploit ScenarioDerived

An authenticated GitLab user (any account, including a self-registered one on instances that permit signups) uploads a specially crafted image to a project, issue, or other upload surface. The malformed image forces excessive resource consumption during server-side processing, degrading or denying service for other users. No public exploit code has been identified, so exploitation would require an attacker to independently craft the triggering image.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 14, 2026

Authenticated denial of service in GitLab CE/EE allows any logged-in user who can upload images to force uncontrolled server-side resource consumption, degrading or taking down the instance, with fixes released in 18.4.6, 18.5.4, and 18.6.2. All self-managed Community and Enterprise Edition deployments running versions from 11.10 before 18.4.6, 18.5 before 18.5.4, or 18.6 before 18.6.2 are affected; exploitation requires a valid low-privilege account (CVSS PR:L) and a crafted image file, while impact is confined to availability (C:N/I:N/A:H, base score 6.5). Multi-source intelligence shows a low EPSS of 0.30% (21st percentile), no CISA KEV listing, and no public exploit identified at time of analysis, so this is a moderate-priority hardening item rather than an emergency.

RemediationAI

Vendor-released patch: upgrade to GitLab CE/EE 18.4.6, 18.5.4, or 18.6.2 (or a later release on the same maintenance line) as described in the 2025-12-10 patch release advisory at https://about.gitlab.com/releases/2025/12/10/patch-release-gitlab-18-6-2-released/, with technical detail in https://gitlab.com/gitlab-org/gitlab/-/issues/538192; note that instances on 18.3.x or older must move onto a supported branch, since no fix is published for those lines. Until patching is complete, the most effective compensating control is shrinking the authenticated attack surface: disable public sign-up and restrict accounts to trusted users, because every successful exploitation requires a valid low-privilege login, accepting the trade-off that this blocks legitimate external contributors and any onboarding that relies on self-registration. Additional mitigations include rate-limiting uploads at the reverse proxy or WAF for avatar, attachment, and Markdown image endpoints (trade-off: can reject legitimate bulk uploads and break image rendering in issues and comments), and capping resource consumption at the host or container layer - for example systemd MemoryMax/CPUQuota or container memory limits on the GitLab Rails and workhorse/ Sidekiq workers - which bounds the blast radius of a crafted image but may cause OOM kills, pod evictions, or restarts that affect unrelated legitimate traffic, so set thresholds above normal working-set usage. Monitoring for spikes in memory and CPU tied to a single user's image uploads, and alerting on repeated OOM conditions in the Rails or Sidekiq components, helps detect attempts in the absence of a patched version. No public exploit code was identified at time of analysis and EPSS is only 0.30%, so remediation can be scheduled within a normal maintenance window rather than emergency change control.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

The root cause class is CWE-770, Allocation of Resources Without Limits or Throttling, applied to GitLab's server-side image handling pipeline. GitLab parses, validates, and generates derivatives for images uploaded through common surfaces - project and group avatars, issue and merge request attachments, comment and Markdown embeds, and similar upload endpoints - and a malformed or specially crafted image can drive those processing routines into excessive memory or CPU consumption. Because the trigger is server-side processing rather than a client-side rendering path, no victim interaction is needed (UI:N) and the attack is network-reachable with low complexity (AC:L), but the attacker must already hold an account (PR:L), which is why the CVSS vector scores availability high and confidentiality/integrity none. The supplied CPE data maps the flaw to cpe:2.3:a:gitlab:gitlab across both the community and enterprise editions, confirming that CE and EE share the vulnerable code path; the advisory-version ranges (11.10 through the 18.4.x, 18.5.x, and 18.6.x series) show the defect has been present for many release cycles, and GitLab's coordinated patch release on 2025-12-10 closed it in 18.4.6, 18.5.4, and 18.6.2.

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 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

Network-reachable upload (AV:N/AC:L) requires a low-privilege authenticated account (PR:L), no user interaction, and causes availability-only impact (A:H; C/I:N).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (gitlab).

CVSS VectorVendor: gitlab

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

DescriptionCVE.org

GitLab has remediated an issue in GitLab CE/EE affecting all versions from 11.10 before 18.4.6, 18.5 before 18.5.4, and 18.6 before 18.6.2 that could have allowed an authenticated user to cause a denial of service condition by uploading specially crafted images.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
High
GitLab CE/EE is widely deployed enterprise DevOps/source-control platform
Data Quality
3 sources
Confidence: Low

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.3%
Patch available No
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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
High

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*

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