{
  "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-2025-3509",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-3509",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-04-17T22:50:18.437Z",
    "updatedAt": "2025-06-18T21:07:05.883Z",
    "importedAt": "2026-10-24T01:57:34.152Z",
    "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": "Pre-Receive Hook Remote Code Execution vulnerability was identified in GitHub Enterprise Server that allowing Privilege Escalation",
      "summary": "A Remote Code Execution (RCE) vulnerability was identified in GitHub Enterprise Server that allowed attackers to execute arbitrary code by exploiting the pre-receive hook functionality, potentially leading to privilege escalation and system compromise. The vulnerability involves using dynamically allocated ports that become temporarily available, such as during a hot patch upgrade. This means the vulnerability is only exploitable during specific operational conditions, which limits the attack window. Exploitation required either site administrator permissions to enable and configure pre-receive hooks or a user with permissions to modify repositories containing pre-receive hooks where this functionality was already enabled. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.18 and was fixed in versions 3.17.1, 3.16.4, 3.15.8, 3.14.13, 3.13.16. This vulnerability was reported via the GitHub Bug Bounty program.",
      "affected": [
        {
          "vendor": "GitHub",
          "product": "Enterprise Server",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "3.13.0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "3.13.15",
              "changes": [
                {
                  "at": "3.13.16",
                  "status": "unaffected"
                }
              ]
            },
            {
              "version": "3.14.0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "3.14.12",
              "changes": [
                {
                  "at": "3.14.13",
                  "status": "unaffected"
                }
              ]
            },
            {
              "version": "3.15.0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "3.15.7",
              "changes": [
                {
                  "at": "3.15.8",
                  "status": "unaffected"
                }
              ]
            },
            {
              "version": "3.16.0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "3.16.3",
              "changes": [
                {
                  "at": "3.16.4",
                  "status": "unaffected"
                }
              ]
            },
            {
              "version": "13.17.0",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "13.17.1",
              "changes": [
                {
                  "at": "3.17.1",
                  "status": "unaffected"
                }
              ]
            }
          ]
        }
      ]
    }
  }
}