VulnerabilityRUSTSEC-2026-0266 · internment
RUSTSEC-2026-0266: `internment` 0.8.7 was removed from crates.io due to a malicious dependency
Short answerA security vulnerability in the internment crate: `internment` 0.8.7 was removed from crates.io due to a malicious dependency. No severity score was published. No fixed version: replace the crate or remove the affected code path.
| Crate | internment |
|---|---|
| Type | Vulnerability (malicious) |
| Affected versions | From 0.8.7 onward (every version). |
| Fixed in | none |
| Severity | not scored |
| Published | 2026-08-20 |
| Last changed | 2026-08-21 |
| Also known as | none |
What to do
- Find who pulls it in:
cargo tree -i internment. - Avoid the affected API, or replace the crate.
Details from the advisory
A new version of the internment crate was published with a direct dependency on proc-macro1, which would execute a malicious build script.
The compromised version of this crate was published on 2026-08-20, and was removed approximately 90 minutes later.
The compromised version was used as part of a malware campaign targeted at users of arrayref, which was downloaded 2,285 times before being removed; see the arrayref advisory for more detail.
References
- Package: crates.io/crates/internment
- Advisory: rustsec.org/advisories/RUSTSEC-2026-0266.html
- Web: blog.rust-lang.org/2026/08/20/supply-chain-attack-on-arrayref
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Other advisories for internment
Up next
Same crateinternment: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →Did this answer your question?