GHSA-3mmg-7c2q-8938 `sha-rust` was removed from crates.io for malicious code

Not scored Published

The sha-rust crate contained malicious code designed to steal local credentials, requiring immediate removal from projects.

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-3mmg-7c2q-8938?

GHSA-3mmg-7c2q-8938 is a vulnerability in sha-rust, published on 5 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

It appeared to be attempting to steal credentials from local files.

Which versions are affected by GHSA-3mmg-7c2q-8938?

3 open source packages ship an affected version, including sha-rust.

PackageAffectedFixed in
sha-rust crates.ioAll versionsNone
sha-rust crates.ioAll versionsNone
sha-rust crates.ioFrom 0.0.0-0None

How do I fix GHSA-3mmg-7c2q-8938?

No fix has been published for GHSA-3mmg-7c2q-8938 yet. Limit exposure of the affected software until one is available.

Is GHSA-3mmg-7c2q-8938 being exploited?

There is no known exploitation of GHSA-3mmg-7c2q-8938 in the wild and no public exploit code.

Sources

Also known as RUSTSEC-2025-0146.

Is GHSA-3mmg-7c2q-8938 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free