Registrator GitHub App Argument Injection Vulnerability in Clone URL Handling Allowing Remote Code Execution

Vulnerability

A critical argument injection vulnerability has been identified in the Registrator GitHub app, specifically in versions prior to 1.9.5. This vulnerability arises in the 'gettreesha()' function, where external inputs can be injected into command execution. If the clone URL provided by GitHub is malicious or can be manipulated through upstream vulnerabilities, it may lead to remote code execution. Users are advised to upgrade to version 1.9.5 immediately, as no workarounds are available.

Impact

Exploitation of this vulnerability allows for argument injection in the 'gettreesha()' function, which can be exploited to execute arbitrary code remotely.

Reproduction

To reproduce this vulnerability, use a version of the Registrator GitHub app prior to 1.9.5. Inject a malicious clone URL that could exploit upstream vulnerabilities into the application. When the 'gettreesha()' function is called, the injected argument can be executed as a command, leading to remote code execution.

Remediation

Users should upgrade to Registrator version 1.9.5, which addresses this vulnerability.

Added: Jun 25, 2025, 6:14 PM
Updated: Jun 25, 2025, 6:14 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
7.7
remediation
7.7
relevance
0.2
threat
1.6
urgency
2.9
incentive
5.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.