{
  "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-2026-5845",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2026-5845",
    "idYear": 2026,
    "status": "PUBLISHED",
    "publishedAt": "2026-04-21T22:42:13.198Z",
    "updatedAt": "2026-04-22T18:04:05.173Z",
    "importedAt": "2026-10-24T01:58:20.586Z",
    "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": "Improper authorization fallback allows scoped user-to-server token installation escape in GitHub Enterprise Server",
      "summary": "An improper authorization vulnerability in scoped user-to-server (ghu_) token authorization in GitHub Enterprise Server allows an authenticated attacker to access private repositories outside the intended installation scope, which can include write operations, via an authorization fallback that treated a revoked/deleted installation as a global installation context, which could be chained with token revocation timing and SSH push attribution to obtain and reuse a victim-scoped token. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.21 and was fixed in versions 3.20.1, 3.19.5, 3.18.8, 3.17.14, 3.16.17, 3.15.21, and 3.14.26. This vulnerability was reported via the GitHub Bug Bounty program.",
      "affected": [
        {
          "vendor": "GitHub",
          "product": "Enterprise Server",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "3.20.0",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "3.20.1",
              "changes": [
                {
                  "at": "3.20.1",
                  "status": "unaffected"
                }
              ]
            },
            {
              "version": "3.19.0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "3.19.4",
              "changes": [
                {
                  "at": "3.19.5",
                  "status": "unaffected"
                }
              ]
            },
            {
              "version": "3.18.0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "3.18.7",
              "changes": [
                {
                  "at": "3.18.8",
                  "status": "unaffected"
                }
              ]
            },
            {
              "version": "3.17.0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "3.17.13",
              "changes": [
                {
                  "at": "3.17.14",
                  "status": "unaffected"
                }
              ]
            },
            {
              "version": "3.16.0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "3.16.16",
              "changes": [
                {
                  "at": "3.16.17",
                  "status": "unaffected"
                }
              ]
            },
            {
              "version": "3.15.0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "3.15.20",
              "changes": [
                {
                  "at": "3.15.21",
                  "status": "unaffected"
                }
              ]
            },
            {
              "version": "3.14.0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "3.14.25",
              "changes": [
                {
                  "at": "3.14.26",
                  "status": "unaffected"
                }
              ]
            }
          ]
        }
      ]
    }
  }
}