Exposed dangerous method or function in GitHub Enterprise Server - CVE-2025-3509

 

Exposed dangerous method or function in GitHub Enterprise Server - CVE-2025-3509

Published: May 22, 2025


Vulnerability identifier: #VU109635
CSH Severity: Medium
CVSS v4: 7.5 [CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-3509
CWE-ID: CWE-749
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to escalate privileges on the system.

The vulnerability exists within the pre-receive hook functionality, which becomes available during a hot patch upgrade. A remote user with site administrator permissions or a user with privileges to modify repositories containing pre-receive hooks can execute arbitrary code on the system.


Affected software

GitHub Enterprise Server

How to mitigate CVE-2025-3509

Install updates from vendor's website.

GitHub Enterprise Server - addressed in versions 3.13.14, 3.14.11, 3.15.6, 3.16.2

External References

Related Security Bulletins