Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Vulnerabilities

Code Execution Vulnerability Patched in GitHub Enterprise Server

A high-severity vulnerability in GitHub Enterprise Server could have allowed remote attackers to execute arbitrary code.

GitHub vulnerability

Code-hosting platform GitHub has rolled out patches for a remote code execution (RCE) vulnerability in multiple Enterprise Server versions.

Tracked as CVE-2025-3509 (CVSS score of 7.1), the flaw could have allowed attackers to exploit the pre-receive hook functionality to bind to ports that are dynamically allocated and become available.

Exploitation of the flaw, GitHub says, is only possible under specific operational conditions, which suggests that the attack window is reduced.

“This vulnerability is only exploitable under specific operational conditions, such as during the hot patching process, and requires either site administrator permissions or a user with privileges to modify repositories containing pre-receive hooks,” GitHub explains.

An initial fix for the security defect was found incomplete, allowing attackers to exploit the issue in certain cases, and a new patch was rolled out, the Microsoft-owned platform says.

Successful exploitation of CVE-2025-3509 could have allowed attackers to execute arbitrary code and elevate their privileges, potentially leading to full system compromise.

Advertisement. Scroll to continue reading.

According to GitHub, all Enterprise Server releases prior to 3.18 are affected. Fixes for the bug were included in Enterprise Server versions 3.17.1, 3.16.4, 3.15.8, 3.14.13, and 3.13.16, which were rolled out last week.

GitHub says the vulnerability was reported through its bug bounty program and makes no mention of its in-the-wild exploitation.

Related: Files Deleted From GitHub Repos Leak Valuable Secrets

Related: GitHub Patches Critical Vulnerability in Enterprise Server

Related: GitHub Actions Artifacts Leak Tokens and Expose Cloud Services and Repositories

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing for the latest cybersecurity threats, trends, and expert insights.

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

NOW LIVE: CISO Forum 2026 Summit

Join as we bring together CISOs, senior cybersecurity executives, practitioners, industry experts, and other security leaders to share practical experience and examine the issues shaping enterprise cybersecurity strategy.

Register

Join to learn the four levels of architecting security into the agentic SDLC – from securing the code your developers' agents write to running a coordinated system of security agents you've built yourself.

Register

People on the Move

Kirsten Davies has been appointed National Cyber Director.

Zifino has appointed Toney E. Jennings as CRO.

Zeke Maldonado has been named Principal Deputy CIO at the US Department of Commerce.

More People On The Move

Expert Insights

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest cybersecurity news, threats, and expert insights. Unsubscribe at any time.