CVE-2026-77649: The internment crate 0.8.7 for Rust can trigger execution of malicious code when compiling a project that u...
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.
Security readout for executives and security teams
Plain-English summary
A malicious dependency in Rust’s internment crate version 0.8.7 can run attacker-controlled code while software is compiled. This threatens developer machines and build systems, where source code, signing credentials, deployment tokens, and production access may be available.
Executive priority
Treat this as an immediate build-environment incident, not merely a library update. Pause affected pipelines, establish whether compilation occurred, protect credentials, and require clean rebuilds before further releases. Systems holding signing or production credentials deserve the highest priority.
Technical view
CVE-2026-77649 is a supply-chain compromise classified as CWE-506. Compiling a project using internment 0.8.7 can execute a rogue dependency that registers with command-and-control infrastructure and enables arbitrary code execution. The supplied record assigns CVSS 3.1 score 9.8.
Likely exposure
Exposure is limited by the supplied record to projects that resolved and compiled internment 0.8.7, directly or transitively. Lockfiles, dependency inventories, build caches, and CI histories should determine whether that version entered any developer or build environment.
Exploitation context
The malicious package behavior and command-and-control registration demonstrate an intentional supply-chain attack. However, this CVE is not listed as KEV, and the supplied evidence does not establish the number of compromised victims or continuing command-and-control availability.
Researcher notes
The supplied evidence identifies internment 0.8.7 and build-time execution through a rogue dependency. It does not provide complete indicators, victim counts, persistence details, or a confirmed safe replacement version. Consult the cited Rust and RustSec advisories for current remediation and indicators.
Mitigation direction
Stop compiling or distributing projects that resolve internment 0.8.7.
Follow current Rust and RustSec guidance for selecting a trusted dependency version.
Isolate and investigate developer or CI systems that compiled the affected version.
Rebuild affected artifacts in a clean environment using reviewed dependencies.
Rotate exposed build, signing, repository, cloud, and deployment credentials after investigation.
Validation and detection
Search Cargo.lock files and dependency inventories for internment version 0.8.7.
Review historical CI logs and build caches for resolution of the affected version.
Identify every developer workstation and build runner that compiled affected projects.
Review build-time network telemetry using indicators published by the cited advisories.
Verify replacement builds no longer resolve the affected crate version or rogue dependency.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-506: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
6Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: yesTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-506 · source CWE mapping
Embedded Malicious Code
Embedded Malicious Code represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.