ghtier

These write-ups are not threat intelligence and are not kept up to date as an incident develops. They are here to show how each attack worked, so you can find and fix the same techniques in your own setup. For the latest on an incident, read its sources.

← All incidents

CVE-2026-3854: push-option metadata RCE

Fixed 2026 · Fixed

Any user who could push to a repository on GitHub Enterprise Server, even one they created themselves, could put a delimiter into a git push option, inject extra fields into internal service headers and run code on the instance.

Access held
T2Contents: WriteCode execution on the instance
Full summary

CVE-2026-3854 (CVSS 8.8) let an attacker with push access to any repository on GitHub Enterprise Server run code on the instance. During a git push, the values of push options were copied into internal service headers without being cleaned, and the header format used a delimiter that can also appear in user input. A crafted push option could therefore add metadata fields of the attacker's choosing, which led to remote code execution. Push access is the lowest bar of all the Enterprise Server flaws on this site: on many instances any user can create a repository and push to it. It was reported through the bug bounty and fixed in 3.14.24, 3.15.19, 3.16.15, 3.17.12, 3.18.6 and 3.19.3.

How it unfolded

Pick a step to zoom into it. A dashed line is a step the sources do not state. Blue dots are the checklist items that break the step.

Whole path

Member with write accessway inContents: WriteAny user's own repositoryVulnerability in GitHubEnterprise Serverway inEscalate from a GHES roleto roottechniqueCode execution on theinstanceInjected push option

The whole attack, one row per step. Pick a step on the left, or click a box in its row.

Frameworks

Part of

Fixed. First seen March 2026. Mapping by ghtier, not yet reviewed. Threat landscape

Sources