Malicious script injected into Amazon Q Developer for Visual Studio Code (VS Code) Extension
Medium4.0CVE-2025-8217 · Published Jul 26, 2025 · updated Jul 30, 2025
### Impact Amazon Q Developer for Visual Studio Code (VS Code) Extension is a development tool that integrates Amazon Q's AI-powered coding assistance directly into the VS Code integrated development environment (IDE). AWS is aware of and has addressed an issue in the Amazon Q Developer for VS Code Extension, which is assigned to CVE-2025-8217. In the course of our investigation of [AWS-2025-016](https://aws.amazon.com/security/security-bulletins/aws-2025-016/), we determined that Amazon Q Developer for VS Code Extension had an inappropriately scoped GitHub token in their CodeBuild configuration. With that access token, the threat actor was able to commit malicious code into the extension's open-source repository that was automatically included in a release. After we identified this, we immediately revoked and replaced the credentials, removed the malicious code from the code base, and subsequently released Amazon Q Developer for VS Code Extension version 1.85.0. AWS Security has inspected the code and determined the malicious code was distributed with the extension but was unsuccessful in executing due to a syntax error. This prevented the malicious code from making changes to ...
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| aws-toolkit-vscode Product | < 1.85.0 | 1.85.0 |
Details and references
### Impact Amazon Q Developer for Visual Studio Code (VS Code) Extension is a development tool that integrates Amazon Q's AI-powered coding assistance directly into the VS Code integrated development environment (IDE). AWS is aware of and has addressed an issue in the Amazon Q Developer for VS Code Extension, which is assigned to CVE-2025-8217. In the course of our investigation of [AWS-2025-016](https://aws.amazon.com/security/security-bulletins/aws-2025-016/), we determined that Amazon Q Developer for VS Code Extension had an inappropriately scoped GitHub token in their CodeBuild configuration. With that access token, the threat actor was able to commit malicious code into the extension's open-source repository that was automatically included in a release. After we identified this, we immediately revoked and replaced the credentials, removed the malicious code from the code base, and subsequently released Amazon Q Developer for VS Code Extension version 1.85.0. AWS Security has inspected the code and determined the malicious code was distributed with the extension but was unsuccessful in executing due to a syntax error. This prevented the malicious code from making changes to any services or customer environments. ### Impacted version: Amazon Q Developer for Visual Studio Code Extension (version 1.84.0) ### Patches AWS has taken all necessary mitigation steps to secure AWS systems and has released Amazon Q Developer Extension version 1.85.0. This includes removing 1.84.0 from distribution channels so that no further customers can install it. While the malicious code cannot execute, it is still present in existing installations of 1.84.0. As such, all installations of 1.84.0 should be removed from use and customers should update to 1.85.0, including any forked or derivative copies. To update your Amazon Q Developer for VS Code Extension: 1. Open Visual Studio Code 2. Navigate to Extensions panel 3. Locate Amazon Q Developer 4. Click Update button Please refer to the following hash for version 1.84.0: sha256:47f7840ecab6312d2733e1274c513050405886c70f2037fb2f1e9099872b0464 ### Workarounds None ### References If you have any questions or comments about this advisory, we ask that you contact AWS/Amazon Security via our [vulnerability reporting page](https://aws.amazon.com/security/vulnerability-reporting) or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue.
- CVSS 3.1
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Severity from
- GitHub (reviewed advisory)
More AWS advisories
All AWS| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Nov 102025 | Privilege Escalation in Aurora PostgreSQL instance using AWS-JDBC Wrapper | High8.0 | 2.6.5 |
| Aug 142025 | Information Disclosure in Amazon ECS Container Agent | Medium4.3 | 1.97.1 |
| Apr 152025 | Aspect order change causes different Permissions Boundary assigned to Role | Low2.2 | 2.189.1 |
| Mar 312025 | Insertion of Sensitive Information into Log File in aws-cdk-lib when using Cognito UserPoolClient Construct | Medium6.5 | 2.187.0 |
| Mar 312025 | Path Traversal in AWS SAM CLI allows file copy to local cache | Medium6.5 | 1.134.0 |
| Mar 312025 | Path Traversal in AWS SAM CLI allows file copy to build container | Medium6.5 | 1.133.0 |