Home / GitHub / Enterprise Server / CVE-2025-3509
CVE-2025-3509: is it exploited, and which versions of GitHub Enterprise Server are affected and fixed?
CVE-2025-3509 is a code injection (remote code execution) vulnerability in GitHub Enterprise Server. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: Enterprise Server from 3.13.0 through 3.13.15, Enterprise Server from 3.14.0 through 3.14.12, Enterprise Server from 3.15.0 through 3.15.7 and 2 more (CVE record by GitHub_P). Fixed in 3.13.16, 3.14.13, 3.15.8, 3.16.4 and 2 more (CVE record by GitHub_P). Severity: High (7.1, CVSS 4.0, from GitHub_P).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:21 UTC.
What is CVE-2025-3509?
Pre-Receive Hook Remote Code Execution vulnerability was identified in GitHub Enterprise Server that allowing Privilege Escalation
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.
From the CVE record by GitHub_P, last updated June 18, 2025, 21:07 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| GitHub | Enterprise Server | from 3.13.0 through 3.13.15 from 3.14.0 through 3.14.12 from 3.15.0 through 3.15.7 from 3.16.0 through 3.16.3 from 13.17.0 before 13.17.1 | 3.13.16, 3.14.13, 3.15.8, 3.16.4, 13.17.1, 3.17.1 |
As the CVE record by GitHub_P states it, last updated June 18, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| github | enterprise server | before 3.13.16 | application |
| github | enterprise server | from 3.14.0 before 3.14.13 | application |
| github | enterprise server | from 3.15.0 before 3.15.8 | application |
| github | enterprise server | from 3.16.0 before 3.16.4 | application |
| github | enterprise server | from 3.17.0 before 3.17.1 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 09:20 UTC.
How severe is CVE-2025-3509?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.1 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L/AU:N/R:U/V:C/RE:M/U:Amber | GitHub_P |
| High 7.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-3509 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, April 18, 2025)
- EPSS
- 1.31% probability of exploitation activity in the next 30 days, percentile 71.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
- https://docs.github.com/en/[email protected]/admin/release-notes#3.13.16 release-notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.14.13 release-notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.15.8 release-notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.16.4 release-notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.17.1 release-notes
Who found and reported it?
- R31n (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 10, 2025
- Published
- April 17, 2025, 22:50 UTC
- CVE record updated
- June 18, 2025, 21:07 UTC by GitHub_P
- NVD
- Analyzed, last modified June 17, 2026, 09:20 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:21 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Enterprise Server?
- Nov 18, 2026CVE-2026-131800 GitHub Enterprise Server: cross-site scripting (XSS)
- Nov 18, 2026CVE-2026-116643 GitHub Enterprise Server: authentication Bypass by Alternate Name
- Nov 18, 2026CVE-2026-116637 GitHub Enterprise Server: link following (a symlink lets an attacker reach other files)
- Nov 18, 2026CVE-2026-131647 GitHub Enterprise Server: improper Neutralization of CRLF Sequences
- Nov 18, 2026CVE-2026-110307 GitHub Enterprise Server: comparison Using Wrong Factors
- Nov 18, 2026CVE-2026-131820 GitHub Enterprise Server: server-side request forgery (SSRF)
- Nov 18, 2026CVE-2026-111801 GitHub Enterprise Server: authorization bypass through a user-controlled key (IDOR)
- Nov 18, 2026CVE-2026-112740 GitHub Enterprise Server: OS command injection
Every CVE in Enterprise Server
Questions about CVE-2025-3509
Is CVE-2025-3509 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 1.31% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of GitHub Enterprise Server are affected by CVE-2025-3509?
Enterprise Server from 3.13.0 through 3.13.15, Enterprise Server from 3.14.0 through 3.14.12, Enterprise Server from 3.15.0 through 3.15.7, Enterprise Server from 3.16.0 through 3.16.3 and Enterprise Server from 13.17.0 before 13.17.1, per the CVE record by GitHub_P. The tables above give every range the sources list.
Which version fixes CVE-2025-3509?
3.13.16, 3.14.13, 3.15.8, 3.16.4, 13.17.1 and 3.17.1, per the CVE record by GitHub_P. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-3509?
High (7.1, CVSS 4.0, from GitHub_P). The severity table above shows each score with its source.
Where is the official record of CVE-2025-3509?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.