Repository navigation
security: fix argument injection via crafted references on repository API endpoints - #8393
Merged
Merged
Conversation
… API endpoints Bumps git-module to v1.8.9, which rejects dash-prefixed revisions in RevParse so that user-controlled commit or branch references can no longer be interpreted as git command-line options. Refs GHSA-mxrh-2rxr-6mqc Claude-Session: https://claude.ai/code/session_01AeVNdNJ1PV6WqorK11Cgoe
unknwon
force-pushed
the
jc/ghsa-mxrh-2rxr-6mqc
branch
from
July 17, 2026 03:29
41d2ccb to
0fc6783
Compare
4 of 6 tasks
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.
Several repository API endpoints passed a user-controlled commit or branch reference to git without preventing it from being interpreted as a command-line option, allowing an authenticated user with read access to leak internal server details to the error logs.
This bumps git-module to v1.8.9, which rejects dash-prefixed revisions at the single point where user-controlled references are resolved, and hardens the remaining git commands as defense-in-depth.
GHSA-mxrh-2rxr-6mqc