CVE-2024-6595
GitLab vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2024-6595) was discovered in GitLab CE/EE affecting all versions starting from 11.8 prior to 16.11.6, starting from 17.0 prior to 17.0.4, and starting from 17.1 prior to 17.1.2. The issue allows attackers to upload an NPM package with conflicting package data, creating a manifest confusion vulnerability. This vulnerability was discovered internally by a GitLab team member Ameya Darshan (GitLab Release).

Technical details

The vulnerability stems from the ability to upload NPM packages with inconsistent data between the manifest and the actual package contents. The issue has been assigned a CVSS v3.1 Base Score of 3.0 (LOW) with vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N by GitLab Inc., while the NVD assessment rates it at 5.3 (MEDIUM) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N. The vulnerability is classified under CWE-434 (Unrestricted Upload of File with Dangerous Type) and CWE-451 (User Interface Misrepresentation of Critical Information) (NVD Database).

Impact

The vulnerability allows attackers to create discrepancies between package manifest data and actual package contents, potentially leading to security tools being misled about package contents, dependencies, and scripts. This can result in the execution of undisclosed scripts and installation of unlisted dependencies, posing a significant risk to the npm ecosystem (NPM Blog).

Exploitability

The vulnerability can be exploited by uploading NPM packages with conflicting data between the manifest and package contents. This manifest confusion attack has been demonstrated to affect various package managers and tools in the npm ecosystem. The issue has been actively researched and documented, with proof-of-concept demonstrations available (GitLab Issue).

Mitigation and workarounds

The vulnerability has been patched in GitLab versions 16.11.6, 17.0.4, and 17.1.2. Users are strongly advised to upgrade to these or newer versions. GitLab.com and GitLab Dedicated instances have already been updated with the patched version (GitLab Release).

Additional resources


SourceThis report was generated using AI

Related GitLab vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-19478CRITICAL9.4
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesAug 17, 2026
CVE-2026-10053HIGH8.5
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesAug 23, 2026
CVE-2026-19650HIGH7.1
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesAug 17, 2026
CVE-2026-6821MEDIUM4.3
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesAug 12, 2026
CVE-2026-4879MEDIUM4.3
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
NoYesAug 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management