MSC-2026-6117
Published:June 10, 2026
Updated:June 10, 2026
The Rust crate onering v1.4.1 was discovered to be compromised with malicious code injected into its build script (build.rs). The malicious build script locates the consuming project's repository and runs git commands to harvest commit metadata and code diffs — effectively stealing your source code at build time. The stolen data is then disguised as a Sentry telemetry event and silently exfiltrated to an attacker controlled endpoint. Both the crates.io registry version and the maintainer's GitHub repository were affected, so developers pulling from either source were at risk.
Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH