SEVERITY NOT PROVIDED

RUSTSEC-2026-0466: `build_dep` was removed from crates.io for malicious code

Published 2026-11-06 · Updated 2026-11-10

Summary

The crates.io package 'build_dep' was identified as malicious and removed from the registry for attempting to exfiltrate build environment telemetry to an arbitrary URL. Security teams and Rust developers should immediately verify if this package is present in their dependencies and remove it.

Who is affected

The vulnerability affects any project that included 'build_dep' as a dependency. The malicious code executed during the build process, potentially exposing sensitive data from the build environment to an external third party.

Exploitability

The severity, CVSS vector, and EPSS scores are not documented. CISA has not identified this as a Known Exploited Vulnerability.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
crates.io build_dep >= 0.0.0-0 (no fix published) not published -

FAQ

Was this vulnerability actively exploited?

There is no evidence of actual usage or exploitation provided in the record.

Is there a patch or a secure version available?

No, the crate was removed from the registry, and no fixed version was published.

How did the malicious code execute?

The crate attempted to send telemetry from the build environment whenever the code was compiled.

Original advisory description
`build_dep` attempted to send telemetry from the build environment to an arbitrary URL. The malicious crate had 1 version published on 2025-03-03, approximately 20 months before removal, and had no evidence of actual usage. This crate had no dependencies on crates.io. Thanks to [Bitbison](https://bitbison.io/) for the report.

References

Source records: RUSTSEC-2026-0466 (OSV.dev).