Vulnerabilities

CVE-2021-22205

GitLab Community and Enterprise Editions Remote Code Execution Vulnerability

Actively exploited (CISA KEV) Used in ransomware campaigns Critical 10.0 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2021-04-23
Last modified
2026-08-06
Assigned by
cve@gitlab.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
99.7 % among the highest of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Actively exploited

CISA added this vulnerability to the Known Exploited Vulnerabilities catalogue on 2021-11-03, with a remediation deadline of 2021-11-17 for US federal agencies.

Required action: Apply updates per vendor instructions.

Affected products

Vendor Product Versions Status
Gitlab Gitlab ≥ 11.9.0, < 13.8.8 Affected
Gitlab Gitlab ≥ 13.10.0, < 13.10.3 Affected
Gitlab Gitlab ≥ 13.9.0, < 13.9.6 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1027: Obfuscated Files or Information stealth
  • T1027.006: HTML Smuggling stealth
  • T1027.009: Embedded Payloads stealth
  • T1036.001: Invalid Code Signature stealth
  • T1539: Steal Web Session Cookie credential-access
  • T1553.002: Code Signing defense-impairment
  • T1564.009: Resource Forking stealth
  • T1574.006: Dynamic Linker Hijacking stealth, execution
  • T1574.007: Path Interception by PATH Environment Variable stealth, execution

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities