Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-4054

An issue has been discovered in GitLab affecting all versions starting from 9.3 before 15.4.6, all versions starting from 15.5 before 15.5.5, all versions starting from 15.6 before 15.6.1. It was possible for a project maintainer to leak a webhook secret token by changing the webhook URL to an endpoint that allows them to capture request headers.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-4054
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 02:24 UTC · Revision 1

Source evidence

CVE-2022-4054

core-osv · Original source

Published 24 Jan 2023, 00:00 UTC

An issue has been discovered in GitLab affecting all versions starting from 9.3 before 15.4.6, all versions starting from 15.5 before 15.5.5, all versions starting from 15.6 before 15.6.1. It was possible for a project maintainer to leak a webhook secret token by changing the webhook URL to an endpoint that allows them to capture request headers.

osv:CVE-2022-4054
Complete source record
{
  "id": "cd1d61a20f728a854f263db6f33d2001de3126ec071bb3781df8926acec94cf9",
  "url": "https://osv.dev/vulnerability/CVE-2022-4054",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-4054",
    "summary": "An issue has been discovered in GitLab affecting all versions starting from 9.3 before 15.4.6, all versions starting from 15.5 before 15.5.5, all versions starting from 15.6 before 15.6.1. It was possible for a project maintainer to leak a webhook secret token by changing the webhook URL to an endpoint that allows them to capture request headers.",
    "evidence": "osv:CVE-2022-4054",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-4054",
      "aliases": [
        "BIT-gitlab-2022-4054",
        "CVE-2022-4054"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/gitlab-org/gitlab",
              "type": "GIT",
              "events": [
                {
                  "introduced": "53f18d8326e26304f6df0996c615ca72b6a85e5b"
                },
                {
                  "fixed": "4fc991ae59a1eea8f776ef290e8da400331ba5b9"
                },
                {
                  "introduced": "af0fced4dd2e767d361f2bdc0732be15ad2c1026"
                },
                {
                  "fixed": "5f5109f142d0367fad70ccdb8f7f21e4b5f3c92a"
                },
                {
                  "introduced": "07a0843ad18ecb422cdc61bf3c2ef0a9dc58a209"
                },
                {
                  "last_affected": "07a0843ad18ecb422cdc61bf3c2ef0a9dc58a209"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "9.3.0"
                      },
                      {
                        "fixed": "15.4.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "9.3.0"
                      },
                      {
                        "fixed": "15.4.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "15.5.0"
                      },
                      {
                        "fixed": "15.5.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "15.5.0"
                      },
                      {
                        "fixed": "15.5.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:15.6.0:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "15.6.0"
                      },
                      {
                        "last_affected": "15.6.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:15.6.0:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "15.6.0"
                      },
                      {
                        "last_affected": "15.6.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "15.6.0",
            "v15.6.0-ee",
            "v15.5.4-ee",
            "v15.5.3-ee",
            "v15.5.1-ee",
            "v15.5.0-ee"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-4054.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.177269274Z",
      "provider": "osv",
      "references": [
        "https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-4054.json",
        "https://hackerone.com/reports/1758126",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4054.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-4054",
        "https://gitlab.com/gitlab-org/gitlab/-/issues/382260"
      ],
      "provider_metadata": {
        "cna_assigner": "GitLab",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4054.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-4054",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 491876,
  "published_at": "2023-01-24T00:00:00+00:00"
}