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.

Trending

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.

Organizations are investing heavily in third-party risk management, but breaches, delays, and blind spots continue to persist. Join this live webinar as we examine the gap between how organizations think their third-party risk programs are performing and what’s actually happening in practice.

Register

Delve into big-picture strategies to reduce attack surfaces, improve patch management, conduct post-incident forensics, and tools and tricks needed in a modern organization.

Register

People on the Move

Tim Byrd has been appointed Chief Information Security Officer at First Citizens Bank.

IRONSCALES has named Steve McKenzie as Chief Operating Officer.

Silvio Pappalardo has joined AuthMind as Chief Revenue Officer.

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.