Skip to content
On CISA KEVCritical

CVE-2021-22205GitLab Code Injection

GitLab was not properly validating image files that were passed to a file parser which resulted in a remote command execution.

Published Apr 23, 2021 · Updated Oct 30, 2026 · Also known as BIT-gitlab-2021-22205, TR-21-0353, UBUNTU-CVE-2021-22205

Key Facts

Patch immediately
  • CVE-2021-22205 is a critical-severity vulnerability (CVSS 10.0 v3.1) affecting GitLab.
  • It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Nov 3, 2021 and is known to be used in ransomware campaigns. Public exploit code is available.
  • EPSS estimates a 100% probability of exploitation in the next 30 days.
  • Fixed versions are available, including GitLab 13.10.3, GitLab 13.10.3-1, GitLab 13.8.8.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

Scores

CVSS v3.1

10.0

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

100%

Higher than 99.9% of all scored CVEs

Exploit maturity

Exploited (KEV)

ATLAS score

86/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Nov 3, 2021

194 days after publication

Federal due date

Nov 17, 2021

Overdue

Ransomware use

Known

Exploit & Defence Guidance

Exploit maturity

Exploited (KEV)

Public exploit code

4

Proof-of-concept links

In-the-wild evidence

11

Reports of active use

Required action (CISA): Apply updates per vendor instructions.

Description

An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.9. GitLab was not properly validating image files that were passed to a file parser which resulted in a remote command execution.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
CISA KEVNov 3, 2021Nov 17, 2021Known
Industry KEV feedNov 3, 2021Nov 17, 2021Known
CIRCL KEVNov 3, 2021Nov 17, 2021Known
ENISA EUVDNov 3, 2021n/aNot reported

Required action: Apply updates per vendor instructions.

Affected Products

7 affected entries in total
ProductAffected versionsFixed in
GitLabGitlab>= 11.9.0, >=11.9, <13.8.813.8.8

Patched Releases

GitLab

13.10.3, 13.10.3-1, 13.8.8, 13.9.6, 15.10.8+ds1-2

Timeline

  1. Publicly disclosed

    Apr 23, 2021

  2. Added to CISA KEV

    Nov 3, 2021

  3. Added to Industry KEV feed

    Nov 3, 2021

  4. Added to CIRCL KEV

    Nov 3, 2021

  5. Added to ENISA EUVD

    Nov 3, 2021

  6. Last updated

    Oct 30, 2026

Weakness Type

  • CWE-94 Improper Control of Generation of Code

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2021-22205 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

More vulnerabilities

Figures as of Dec 2, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.