CVE-2021-39908
GitLab vulnerability analysis and mitigation

Overview

In all versions of GitLab CE/EE starting from 0.8.0 before 14.2.6, all versions starting from 14.3 before 14.3.4, and all versions starting from 14.4 before 14.4.1, certain Unicode characters can be abused to commit malicious code into projects without being noticed in merge request or source code viewer UI. This vulnerability is also known as a "Trojan Source Attack" (GitLab Security Release).

Technical details

The vulnerability is classified as a medium severity issue with a CVSS v3.1 base score of 6.5 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N). The vulnerability is related to code injection (CWE-94) where attackers can abuse certain Unicode characters to hide malicious code that won't be visible in the merge request or source code viewer interface (NVD).

Impact

The vulnerability allows attackers to commit malicious code into projects without it being noticed during code review processes, as the malicious code remains hidden in the merge request or source code viewer UI. This could lead to the introduction of unauthorized code changes that bypass normal code review procedures (GitLab Security Release).

Mitigation and workarounds

GitLab has addressed this vulnerability in versions 14.4.1, 14.3.4, and 14.2.6. Users are strongly recommended to upgrade to one of these patched versions immediately to mitigate the risk (GitLab Security 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-2025-7449MEDIUM6.5
  • GitLabGitLab
  • gitlab
NoYesNov 26, 2025
CVE-2025-12653MEDIUM6.5
  • GitLabGitLab
  • gitlab
NoYesNov 26, 2025
CVE-2024-9183MEDIUM6.4
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesDec 05, 2025
CVE-2025-13611MEDIUM5.3
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
NoYesNov 26, 2025
CVE-2025-6195MEDIUM4.3
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesNov 26, 2025

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