---
id: "GHSA-9g5j-qgqm-857j"
kind: "vulnerability"
aliases: ["GHSA-9g5j-qgqm-857j"]
title: "CVE-2026-107332 - Insecure default file permissions on cached credentials in AWS Toolkit for Visual Studio Code"
severity: "medium"
cvss: null
epss: null
exploited: false
status: "open"
category: "vendor"
products: []
ecosystems: []
tags: ["aws", "codecatalyst", "developer-workstation", "lab-disclosure", "vendor", "vs-code"]
not_affected_if: ["no-codecatalyst-use", "single-user-machine", "version-4.10.0-or-later"]
published_at: null
first_seen_at: "2026-10-24T18:43:45+00:00"
updated_at: "2026-10-25T04:51:45+00:00"
sources: [{"source": "lab", "url": "https://aws.amazon.com/security/security-bulletins/rss/2026-129-aws/", "first_seen_at": "2026-10-24T18:43:45+00:00"}]
---

# CVE-2026-107332 - Insecure default file permissions on cached credentials in AWS Toolkit for Visual Studio Code

The AWS Toolkit for Visual Studio Code cached a user's CodeCatalyst bearer token to a file with world-readable permissions and did not delete it after a Dev Environment session ended. A local user or process on the same machine can read that file and take the token.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed AWS Toolkit version in Visual Studio Code; versions below `4.10.0` are affected.
- Look for files named `codecatalyst..token` in the AWS Toolkit extension's Visual Studio Code global storage directory and check their permissions.

## Fix

- Upgrade the AWS Toolkit for Visual Studio Code extension to `4.10.0` or later.
- Until upgraded, delete any `codecatalyst..token` files in the extension's global storage directory after each session.
- Rotate the CodeCatalyst bearer token if a cached file may have been readable by other users on the machine.

## Timeline

- 2026-10-24T18:43:45+00:00 lab https://aws.amazon.com/security/security-bulletins/rss/2026-129-aws/ — AWS: CVE-2026-107332 - Insecure default file permissions on cached credentials in AWS Toolkit for Visual Studio Code

## Documents

- [advisory] AWS: CVE-2026-107332 - Insecure default file permissions on cached credentials in AWS Toolkit for Visual Studio Code https://aws.amazon.com/security/security-bulletins/rss/2026-129-aws/

## From the sources

CVE-2026-107332 - Insecure default file permissions on cached credentials in AWS Toolkit for Visual Studio Code

### CVE-2026-107332 - Insecure default file permissions on cached credentials in AWS Toolkit for Visual Studio Code

Bulletin ID: 2026-129-AWS Scope: AWS Content Type: Important (requires attention) Publication Date: 10/08/2026 10:30 AM PDT

Description:

AWS Toolkit for Visual Studio Code is an open source extension that lets developers work with AWS services, including Amazon CodeCatalyst, from within Visual Studio Code. We identified CVE-2026-107332, an issue in the CodeCatalyst connection handler. When a user connected to a CodeCatalyst Dev Environment, the extension cached the user's CodeCatalyst bearer token to a file with world-readable permissions and did not remove the file after the session ended. A local user or process on the same machine with access to the file system was able to read this file and obtain the bearer token.

Impacted versions: < 4.10.0

Resolution:

This issue has been addressed in AWS Toolkit for Visual Studio Code version 4.10.0, released on July 9, 2026. Version 4.10.0 writes the token cache file with owner-only permissions and deletes it when the Dev Environment is stopped. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes.

Workarounds:

Users who cannot upgrade immediately can delete any files named codecatalyst..token in the AWS Toolkit extension's Visual Studio Code global storage directory after each session.

References:

- CVE-2026-107332
- GHSA-9g5j-qgqm-857j

 Please email aws-security@amazon.com with any security questions or concerns.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
