{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2023-23946",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2023-23946",
    "idYear": 2023,
    "status": "PUBLISHED",
    "publishedAt": "2023-02-14T19:48:00.554Z",
    "updatedAt": "2026-10-08T21:14:08.741Z",
    "importedAt": "2026-10-24T01:56:49.724Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "Git's `git apply` overwriting paths outside the working tree",
      "summary": "Git, a revision control system, is vulnerable to path traversal prior to versions 2.39.2, 2.38.4, 2.37.6, 2.36.5, 2.35.7, 2.34.7, 2.33.7, 2.32.6, 2.31.7, and 2.30.8. By feeding a crafted input to `git apply`, a path outside the working tree can be overwritten as the user who is running `git apply`. A fix has been prepared and will appear in v2.39.2, v2.38.4, v2.37.6, v2.36.5, v2.35.7, v2.34.7, v2.33.7, v2.32.6, v2.31.7, and v2.30.8. As a workaround, use `git apply --stat` to inspect a patch before applying; avoid applying one that creates a symbolic link and then creates a file beyond the symbolic link.",
      "affected": [
        {
          "vendor": "git",
          "product": "git",
          "versions": [
            {
              "version": ">= 2.39.0, < 2.39.2",
              "status": "affected"
            },
            {
              "version": ">= 2.38.0, < 2.38.4",
              "status": "affected"
            },
            {
              "version": ">= 2.37.0, < 2.37.6",
              "status": "affected"
            },
            {
              "version": ">= 2.36.0, < 2.36.5",
              "status": "affected"
            },
            {
              "version": ">= 2.35.0, < 2.35.7",
              "status": "affected"
            },
            {
              "version": ">= 2.34.0, < 2.34.7",
              "status": "affected"
            },
            {
              "version": ">= 2.33.0, < 2.33.7",
              "status": "affected"
            },
            {
              "version": ">= 2.32.0, < 2.32.6",
              "status": "affected"
            },
            {
              "version": ">= 2.31.0, < 2.31.7",
              "status": "affected"
            },
            {
              "version": "< 2.30.8",
              "status": "affected"
            }
          ]
        }
      ]
    }
  }
}