Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-22203

An issue has been discovered in GitLab CE/EE affecting all versions starting from 13.7.9 before 13.8.7, all versions starting from 13.9 before 13.9.5, and all versions starting from 13.10 before 13.10.1. A specially crafted Wiki page allowed attackers to read arbitrary files on the server.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-22203
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:39 UTC · Revision 1

Source evidence

CVE-2021-22203

core-osv · Original source

Published 2 Apr 2021, 17:15 UTC

An issue has been discovered in GitLab CE/EE affecting all versions starting from 13.7.9 before 13.8.7, all versions starting from 13.9 before 13.9.5, and all versions starting from 13.10 before 13.10.1. A specially crafted Wiki page allowed attackers to read arbitrary files on the server.

osv:CVE-2021-22203
Complete source record
{
  "id": "db8015ee852c82e5b37c9d350f61cc73b69b22d1cfc6669eba2347bc2fc15508",
  "url": "https://osv.dev/vulnerability/CVE-2021-22203",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-22203",
    "summary": "An issue has been discovered in GitLab CE/EE affecting all versions starting from 13.7.9 before 13.8.7, all versions starting from 13.9 before 13.9.5, and all versions starting from 13.10 before 13.10.1. A specially crafted Wiki page allowed attackers to read arbitrary files on the server.",
    "evidence": "osv:CVE-2021-22203",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2021-22203",
      "aliases": [
        "BIT-gitlab-2021-22203",
        "CVE-2021-22203"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/gitlab-org/gitlab",
              "type": "GIT",
              "events": [
                {
                  "introduced": "538d146c0c742dfe755613b3cac6018e687e3145"
                },
                {
                  "fixed": "2378e1fea098afa15fc0bd4aa52a102c0c1c31b4"
                },
                {
                  "introduced": "a1a60e9f753f4e99f2b13b24028a6092a897cc06"
                },
                {
                  "fixed": "b5cf6b82d7d8da2f4bccaa1c3018bfdff36963dd"
                },
                {
                  "introduced": "0d2d9558dba50b1496bf368954318d465825e8e3"
                },
                {
                  "last_affected": "0d2d9558dba50b1496bf368954318d465825e8e3"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "13.7.9"
                      },
                      {
                        "fixed": "13.8.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "13.7.9"
                      },
                      {
                        "fixed": "13.8.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "13.9.0"
                      },
                      {
                        "fixed": "13.9.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "13.9.0"
                      },
                      {
                        "fixed": "13.9.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:13.10.0:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "13.10.0"
                      },
                      {
                        "last_affected": "13.10.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:13.10.0:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "13.10.0"
                      },
                      {
                        "last_affected": "13.10.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "13.10.0",
            "v13.10.0-ee",
            "v13.9.3-ee",
            "v13.9.1-ee",
            "v13.9.0-ee"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22203.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:30.665413648Z",
      "provider": "osv",
      "references": [
        "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22203.json",
        "https://hackerone.com/reports/1098793",
        "https://gitlab.com/gitlab-org/gitlab/-/issues/320919"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-22203",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 385469,
  "published_at": "2021-04-02T17:15:13.083+00:00"
}