GHSA-g38r-8gmr-ghrf `mysten-metrics` was removed from crates.io for malicious code
A malicious Rust crate attempted to exfiltrate build machine data, requiring developers to avoid using the removed package.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is GHSA-g38r-8gmr-ghrf?
GHSA-g38r-8gmr-ghrf is a vulnerability in mysten-metrics, published on 22 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
mysten-metrics included a build script that attempted to exfiltrate data from
the build machine.
The malicious crate had 1 version published on 2026-04-20 and had no evidence of actual usage. This crate had no dependencies on crates.io.
Which versions are affected by GHSA-g38r-8gmr-ghrf?
3 open source packages ship an affected version, including mysten-metrics.
| Package | Affected | Fixed in |
|---|---|---|
mysten-metrics crates.io | All versions | None |
mysten-metrics crates.io | All versions | None |
mysten-metrics crates.io | From 0.0.0-0 | None |
How do I fix GHSA-g38r-8gmr-ghrf?
No fix has been published for GHSA-g38r-8gmr-ghrf yet. Limit exposure of the affected software until one is available.
Is GHSA-g38r-8gmr-ghrf being exploited?
There is no known exploitation of GHSA-g38r-8gmr-ghrf in the wild and no public exploit code.
Sources
Also known as RUSTSEC-2026-0107.