Description
The internment crate 0.8.7 for Rust can trigger execution of malicious code when compiling a project that uses the crate, because it has a rogue dependency that registers with a command-and-control server to offer arbitrary code execution.
Published: 2026-08-21
Score: 9.8 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

During Rust compilation of a project that includes the internment crate version 0.8.7, the crate’s rogue dependency registers with a command‑and‑control server enabling arbitrary code execution. This represents a CWE‑506 weakness – a trust boundary violation during build‑time code execution. The flaw permits an attacker to run code with the build environment’s privileges, potentially compromising the developer’s machine and any artifacts produced by the build.

Affected Systems

The vulnerability affects the internment crate version 0.8.7 distributed by the droundy vendor. Any Rust project that pulls this specific crate version from a Cargo registry or includes it directly in Cargo.toml is impacted.

Risk and Exploitability

The CVSS score of 9.8 classifies this issue as critical, indicating a high potential for confidentiality, integrity, and availability compromise. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog. The attack vector is inferred to be exploitation during the build step, requiring the presence of the vulnerable crate in a developer’s workspace. An attacker who can supply or replace the crate in the dependency resolution process, or who can directly influence the Cargo registry, can trigger the malicious code execution.

Generated by OpenCVE AI on August 21, 2026 at 04:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the internment crate to a version that removes the rogue dependency or remove the crate entirely if it is not required
  • Run cargo audit and review Cargo.lock to confirm no additional vulnerable dependencies are present
  • Restrict Cargo registry access or use a pinned Cargo.toml to prevent insertion of malicious crate revisions

Generated by OpenCVE AI on August 21, 2026 at 04:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 21 Aug 2026 04:30:00 +0000

Type Values Removed Values Added
Title Malicious Build-Time Code Execution via Rogue Dependency in Internment Crate

Fri, 21 Aug 2026 01:00:00 +0000

Type Values Removed Values Added
Description The internment crate 0.8.7 for Rust can trigger execution of malicious code when compiling a project that uses the crate, because it has a rogue dependency that registers with a command-and-control server to offer arbitrary code execution.
Weaknesses CWE-506
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-08-21T00:39:02.071Z

Reserved: 2026-08-21T00:39:01.558Z

Link: CVE-2026-77649

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-21T01:17:01.837

Modified: 2026-08-21T01:17:01.837

Link: CVE-2026-77649

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T04:15:04Z

Weaknesses