CVE-2025-3509
highpriority · track · 29EPSS 0.013 · 71 %ileDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.1–8.2
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (26)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-0863Microsoft GitHub Enterprise: Mehrere SchwachstellenDeutsch2025-04-21csaf · cert_bundDE
Ein entfernter Angreifer kann mehrere Schwachstellen in Microsoft GitHub Enterprise ausnutzen, um Informationen offenzulegen, und um beliebigen Programmcode auszuführen.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (20)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2025-3509cnnvd
- https://docs.github.com/en/enterprise-server@3.13/admin/release-notes#3.13.14cnnvd
- https://docs.github.com/en/enterprise-server@3.13/admin/release-notes#3.13.16cnnvd
- https://docs.github.com/en/enterprise-server@3.14/admin/release-notes#3.14.11cnnvd
- https://docs.github.com/en/enterprise-server@3.14/admin/release-notes#3.14.13cnnvd
- https://docs.github.com/en/enterprise-server@3.15/admin/release-notes#3.15.6cnnvd
- https://docs.github.com/en/enterprise-server@3.15/admin/release-notes#3.15.8cnnvd
- https://docs.github.com/en/enterprise-server@3.16/admin/release-notes#3.16.2cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan