RUSTSEC-2026-0471: `sec-gemini` was removed from crates.io for malicious code
Published 2026-11-06 · Updated 2026-11-10
Summary
The sec-gemini crate for Rust contained malicious code designed to exfiltrate telemetry from the build environment to an arbitrary URL. All engineering and security teams that have included this crate in their projects must act immediately.
Who is affected
Affected deployments are those using the sec-gemini crate via crates.io. The malicious functionality is triggered during the build environment process, potentially exposing sensitive data to an external URL.
Exploitability
CVSS vector, base score, and EPSS are not documented. CISA KEV status is no, indicating no active exploitation is currently documented.
Remediation
- Remove the sec-gemini crate from your project dependencies immediately.
- No fixed version is published for sec-gemini.
How to check your project
- Check Cargo.lock or Cargo.toml files within your projects for any presence of the 'sec-gemini' dependency.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| crates.io | sec-gemini |
>= 0.0.0-0 (no fix published) | not published | - |
FAQ
What is sec-gemini?
sec-gemini is a crate that was published on crates.io and subsequently removed due to malicious code attempting to send telemetry from the build environment.
Is there a fixed version available?
No fixed version is published.
Was the crate widely used?
The crate had 1 version published and had no evidence of actual usage.
Original advisory description
References
- PACKAGE https://crates.io/crates/sec-gemini
- ADVISORY https://rustsec.org/advisories/RUSTSEC-2026-0471.html
Source records: RUSTSEC-2026-0471 (OSV.dev).