[New Rule] Potential Remote Code Execution via Git Enterprise Server#6003
Draft
Aegrah wants to merge 3 commits into
Draft
[New Rule] Potential Remote Code Execution via Git Enterprise Server#6003Aegrah wants to merge 3 commits into
Aegrah wants to merge 3 commits into
Conversation
Contributor
Rule: New - GuidelinesThese guidelines serve as a reminder set of considerations when proposing a new rule. Documentation and Context
Rule Metadata Checks
New BBR Rules
Testing and Validation
|
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
eric-forte-elastic
approved these changes
Apr 29, 2026
Contributor
eric-forte-elastic
left a comment
There was a problem hiding this comment.
Nit, otherwise looks good. Telemetry checks out 👍
Co-authored-by: Eric Forte <119343520+eric-forte-elastic@users.noreply.github.com>
|
⛔️ Test failed Results
|
| type = "eql" | ||
| query = ''' | ||
| process where event.type == "start" and event.action in ("exec", "exec_event", "start", "ProcessRollup2", "executed", "process_started") and | ||
| process.name like~ ("git", "git.exe") and process.args == "push" and |
Contributor
There was a problem hiding this comment.
I may be misinterpreting the intention, but are we on the wrong end of the wire here? The exploit chain starts with a git push from the adversary client (we won't have viz to), whereas the GHES related processes (assuming) would be babeld, gitrpcd, etc?
Contributor
There was a problem hiding this comment.
++ this should be server side
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Detects potential remote code execution attempts via Git Enterprise Server, as a result of a vulnerability (CVE-2026-3854). Authenticated command injection via git push options in GitHub Enterprise Server allows RCE on backend nodes by abusing unsanitized push-option metadata injected into internal headers.
Ref: https://www.wiz.io/blog/github-rce-vulnerability-cve-2026-3854