Skip to content

security: fix argument injection via crafted references on repository API endpoints - #8393

Merged
unknwon merged 1 commit into
mainfrom
jc/ghsa-mxrh-2rxr-6mqc
Jul 17, 2026
Merged

unknwon merged 1 commit into
mainfrom
jc/ghsa-mxrh-2rxr-6mqc

Conversation

@unknwon

@unknwon unknwon commented Jul 17, 2026 •

Copy link
Copy Markdown
Member

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

@unknwon unknwon added this to the 0.14.4 milestone Jul 17, 2026
… 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
unknwon force-pushed the jc/ghsa-mxrh-2rxr-6mqc branch from 41d2ccb to 0fc6783 Compare July 17, 2026 03:29
@unknwon
unknwon merged commit 7cfff0a into main Jul 17, 2026
8 checks passed
@unknwon
unknwon deleted the jc/ghsa-mxrh-2rxr-6mqc branch July 17, 2026 03:33
unknwon added a commit that referenced this pull request Nov 11, 2026
@unknwon unknwon mentioned this pull request Nov 11, 2026
4 of 6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant