# RUSTSEC-2026-0266: `internment` 0.8.7 was removed from crates.io due to a malicious dependency

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-08-20T12:00:00.000Z
- Modified: 2026-08-21T06:30:03.165Z

## Description

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][arrayref-advisory] for more detail.

[arrayref-advisory]: https://rustsec.org/advisories/RUSTSEC-2026-0260.html

(As written by RustSec Advisory Database.)

## Affected

- internment (crates.io): from 0.8.7-0

## References

- <https://crates.io/crates/internment> (package)
- <https://rustsec.org/advisories/RUSTSEC-2026-0266.html> (advisory)
- <https://blog.rust-lang.org/2026/08/20/supply-chain-attack-on-arrayref> (web)

## Sources

- RustSec Advisory Database: [RUSTSEC-2026-0266](https://rustsec.org/advisories/RUSTSEC-2026-0266.html), CC0-1.0, modified 2026-08-21

---

Page: https://cve.day/RUSTSEC-2026-0266 · Whole record: https://cve.day/RUSTSEC-2026-0266.json · Rebuilt by cve.day 2026-11-25T22:56:43.401Z
