CVE-2025-8217: Malicious Code Injection in Amazon Q Developer VS Code Extension 1.84.0
CVE-2025-8217 concerns malicious code embedded in version 1.84.0 of the Amazon Q Developer extension for Visual Studio Code. An attacker used an inappropriately scoped GitHub token in the project's AWS CodeBuild configuration to commit malicious code to the extension's open-source repository, which was subsequently included in a release. The injected code runs when the extension launches and is designed to invoke the Q Developer CLI, but a syntax error prevents a successful API call, leaving the intended malicious functionality inert.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
The incident compromised the integrity of the extension's source repository and distributed release. Installations of version 1.84.0 contain attacker-injected startup code; however, its syntax error prevents the intended Q Developer CLI API call from succeeding. Successful downstream command execution, data theft, or destructive actions through that injected functionality are not established.
Mitigation
If you can’t patch tonight, do this now.
Until the extension is upgraded, disable or uninstall version 1.84.0. To reduce the associated build-system exposure, disable automatic builds of untrusted pull requests, exclude pull-request events from CodeBuild webhook filters, or restrict triggering actors to trusted users. Where public contributions must be built, use CodeBuild-hosted self-hosted GitHub Actions runners, which are identified as unaffected by the token-extraction issue. Prefer read-only repository credentials wherever write access is unnecessary.
Remediation
Patch, then assume compromise.
Remove all installations of Amazon Q Developer VS Code extension version 1.84.0 from use and upgrade to version 1.85.0. For affected build infrastructure, revoke and replace exposed repository tokens, restrict replacement credentials to the minimum necessary permissions, and prevent untrusted pull-request code from executing in environments containing sensitive repository credentials.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2025-8217 exploited in the wild?
- Yes. As of Oct 23, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2025-8217?
- As of Oct 23, 2026, Mallory has found no public exploit for CVE-2025-8217.
- Is there a patch for CVE-2025-8217?
- Remove all installations of Amazon Q Developer VS Code extension version 1.84.0 from use and upgrade to version 1.85.0. For affected build infrastructure, revoke and replace exposed repository tokens, restrict replacement credentials to the minimum necessary permissions, and prevent untrusted pull-request code from executing in environments containing sensitive repository credentials.
- How severe is CVE-2025-8217?
- CVE-2025-8217 has a CVSS v4 score of 5.1 (Medium) and an EPSS score of 0.24% (15th percentile) as of Oct 23, 2026.
Recent activity
12 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.