GitLab
CVE-2025-4097
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to GitLab with low-privilege account
-
ExploitUpload specially crafted image
-
ExecutionTrigger uncontrolled resource consumption in image processing
-
ImpactExhaust 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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).
Primary rating from Vendor (gitlab).
CVSS VectorVendor: gitlab
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)CVE.org
An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.9. Rated critical severity (CVSS 10
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.
When requests to the internal network for webhooks are enabled, a server-side request forgery vulnerability in GitLab af
Unauthenticated arbitrary file read in GitLab CE/EE lets remote attackers retrieve files from the GitLab server via the
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)
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
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
The Ruby SAML library is for implementing the client side of a SAML authorization. Rated critical severity (CVSS 9.8), t
Remote code execution in GitLab CE/EE can be triggered by a specially crafted regular expression processed through a vul
Sensitive credential and configuration disclosure in GitLab Enterprise Edition allows an authenticated user with Duo Cha
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
Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB