• News/
  • https://www.bleepingcomputer.com/news/security/github-fixes-rce-flaw-that-gave-access-to-millions-of-private-repos/

GitHub fixes RCE flaw that gave access to millions of private repos

BleepingComputer
·
Sergiu Gatlan
·
Published Apr 29, 2026
·
Updated

In early March, GitHub patched a critical remote code execution vulnerability (CVE-2026-3854) that could have allowed attackers to access millions of private repositories. The flaw was reported on March 4, 2026, by researchers at cybersecurity firm Wiz through GitHub's bug bounty program. GitHub Chief Information Security Officer Alexis Wales said the company's security team reproduced and confirmed the vulnerability within 40 minutes and deployed a fix to GitHub.com less than two hours after receiving the report. CVE-2026-3854 affects GitHub.com, GitHub Enterprise Cloud, GitHub Enterprise Cloud with Data Residency, GitHub Enterprise Cloud with Enterprise Managed Users, and GitHub Enterprise Server. Successful exploitation requires only a single maliciously crafted 'git push' command and can grant full read/write access to private repositories on GitHub.com or vulnerable GitHub Enterprise servers to attackers with push access. The vulnerability lies in how GitHub handles user-supplied options during git push operations, with values passed by users being incorporated into internal server metadata without sufficient sanitization, allowing attackers to inject additional fields trusted by the downstream service. As Wales explained on Tuesday, an attacker could bypass sandboxing protections and execute arbitrary code on the server handling the push by chaining multiple injected values together. ​"Exploitation could expose the codebases of nearly all of the world's biggest enterpr...

Read full article

Affected Software

5 affected components
GitHub github.com
GitHub Enterprise Cloud
GitHub Enterprise Cloud with Data Residency
GitHub Enterprise Cloud with Enterprise Managed Users
GitHub Enterprise Server=3.14.25, =3.15.20, =3.16.16, =3.17.13, =3.18.8, =3.19.4, >=3.20.0
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What vulnerability did GitHub fix in March 2026?

GitHub fixed a critical remote code execution vulnerability known as CVE-2026-3854.

2

What security risk was associated with the CVE-2026-3854 flaw?

The flaw could have allowed attackers to access millions of private repositories.

3

When was the vulnerability reported to GitHub?

The vulnerability was reported to GitHub on March 4, 2026.

4

Which GitHub products were affected by this vulnerability?

Affected products included GitHub.com, GitHub Enterprise Cloud, and several versions of GitHub Enterprise Server.

5

What does the term 'remote code execution' mean in the context of this vulnerability?

Remote code execution refers to an attack that allows an attacker to run arbitrary code on a server or system remotely.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203