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.0: 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/E:U/U:Green
CVE-ID: CVE-2025-3509
CWE-ID: CWE-749
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: GitHub
Affected software:
GitHub Enterprise Server

Detailed vulnerability description

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.


How to mitigate CVE-2025-3509

Install updates from vendor's website.

Sources