Skip to main content

Registrator EUVDEUVD-2025-19118

| CVE-2025-52483 CRITICAL
Command Injection (CWE-77)
2025-06-25 security-advisories@github.com
9.8
CVSS 3.1 · GitHub Advisory
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

This vulnerability represents a critical real-world risk despite potential for high false-positive CVSS inflation. CVSS 9.8 (Network accessible, Low complexity, No privileges required, No user interaction) accurately reflects the attack surface: any external user controlling a GitHub repository name or forking a repository can trigger the vulnerability through the Registrator bot's automation workflows. The absence of complexity barriers (AC:L) and authentication requirements (PR:N) confirms trivial exploitability. The vulnerability affects all versions prior to 1.9.5 with no patches or workarounds documented, creating a 100% affected-user base for legacy deployments. While KEV/EPSS data is not provided in the prompt, the combination of (1) network-accessible entry point, (2) no authentication barrier, (3) trivial payload construction (shell metacharacters), and (4) deterministic execution path indicates HIGH exploitation probability. This is not a theoretical vulnerability—the attack requires only crafting a malicious repository name or URL and cannot be defended against through operational controls without upgrading.

Exploit ScenarioDerived

An attacker creates a GitHub repository with a malicious name containing shell metacharacters (e.g., package-name; rm -rf /; #) or crafts a fork with a poisoned clone URL. When Registrator bot processes the package registration request (an automated workflow with no manual approval), the malicious URL is passed unsanitized to the withpasswd or gettreesha functions. The shell injection allows execution of arbitrary commands in the context of the Registrator service (typically running with bot/service account privileges). The attacker achieves full RCE, potentially compromising the General registry infrastructure, stealing signing keys for package releases, injecting malicious code into packages, or pivoting to other registry systems. Attack complexity is extremely low: the malicious payload requires only standard shell syntax and the attacker only needs to trigger an automated workflow by submitting a registration request—no authentication required. No proof-of-concept is needed; the vulnerability is deterministic and easily reproducible by crafting a URL with payloads like $(command) or backtick-enclosed commands.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 15, 2026

Registrator, a GitHub app automating Julia package registration, contains critical shell injection and argument injection vulnerabilities in versions prior to 1.9.5 that can be exploited through malicious or injected clone URLs returned by GitHub. An unauthenticated remote attacker can achieve arbitrary code execution on systems running vulnerable versions with no user interaction required. No public exploits are confirmed, but the vulnerability is trivial to exploit given the direct code paths involved.

Affected VersionsENISA

Registrator.jl < 1.9.5

Affected Packages

euvd registrator_jl fix: 1.9.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Registrator is a GitHub automation application written in Julia that processes package registration workflows. The vulnerability exists in two distinct code paths: (1) the withpasswd function which appears to construct shell commands using unsanitized clone URLs returned by the GitHub API, and (2) the gettreesha function which is vulnerable to command argument injection. Both vulnerabilities fall under CWE-77 (Improper Neutralization of Special Elements used in a Command), a class covering shell metacharacter injection and argument injection attacks. The root cause is the lack of proper input validation and sanitization when constructing system commands from external data (GitHub API responses). The attack surface is the GitHub API integration layer, where clone URLs are processed without escaping shell-dangerous characters or using safe command execution APIs.

Know when Registrator gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch released
Mar 15, 2026 - 23:19 nvd
Patch available
CVE Published
Jun 25, 2025 - 17:15 nvd
CRITICAL 9.8

DescriptionGitHub Advisory

Registrator is a GitHub app that automates creation of registration pull requests for julia packages to the General registry. Prior to version 1.9.5, if the clone URL returned by GitHub is malicious (or can be injected using upstream vulnerabilities) a shell script injection can occur within the withpasswd function. Alternatively, an argument injection is possible in the gettreesha function. either of these can then lead to a potential RCE. Users should upgrade immediately to v1.9.5 to receive a fix. All prior versions are vulnerable. No known workarounds are available.

Executive ViewAI

Why It Matters

A critical vulnerability in Registrator (GitHub app for Julia package registry automation) allows remote code execution if malicious clone URLs are processed. Organizations using this tool are at immediate risk of system compromise through supply chain attack vectors. Immediate patching is essential as no workarounds exist.

Recommended Action

Within 24 hours: Identify all systems running Registrator and audit recent pull request activity for suspicious behavior. Within 7 days: Upgrade all Registrator instances to version 1.9.5 and validate successful deployment. Within 30 days: Conduct forensic review of logs for exploitation attempts and assess whether any package registrations were compromised during vulnerable periods.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 74% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Related Vulnerabilities in Registrator Command Injection Vulnerabilities

View all 2

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy