{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "15.2"
              },
              {
                "fixed": "17.4.6"
              }
            ]
          },
          "events": [
            {
              "introduced": "d836c22d87f6f0397b93cc72ce3af27a6dc02d93"
            },
            {
              "fixed": "25a55583bbcf724ad625848d48a529467e7c7097"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "17.5"
              },
              {
                "fixed": "17.5.4"
              }
            ]
          },
          "events": [
            {
              "introduced": "173959793c1163052d16c2158773ea9504aa712e"
            },
            {
              "fixed": "0397324ed14bb7f0ede422841d713fd22349302f"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "17.6"
              },
              {
                "fixed": "17.6.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "a8830741d3c4ad7f6a70eed38ee7af31f298d093"
            },
            {
              "fixed": "6ff444aad3a327c384b0859be326d042dde090ee"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "GitLab",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8647.json"
  },
  "details": "An issue was discovered in GitLab affecting all versions starting 15.2 to 17.4.6, 17.5 prior to 17.5.4, and 17.6 prior to 17.6.2. On self hosted installs, it was possible to leak the anti-CSRF-token to an external site while the Harbor integration was enabled.",
  "id": "CVE-2024-8647",
  "modified": "2026-04-01T23:10:12.220992333Z",
  "published": "2024-12-12T12:02:54.888Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8647.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-8647"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/486051"
    },
    {
      "type": "REPORT",
      "url": "https://hackerone.com/reports/2666341"
    },
    {
      "type": "PACKAGE",
      "url": "git://git@gitlab.com:gitlab-org/gitlab.git"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab"
}