CVE-2026-107332

Insecure Default File Permissions on Cached Credentials in AWS Toolkit for Visual Studio Code

Published Oct 8, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
Insecure file permissions in the CodeCatalyst connection handler in AWS Toolkit for VS Code before 4.10.0 allowed local users to obtain CodeCatalyst bearer tokens via reading world-readable token cache files.



To mitigate this issue, users should upgrade to version 4.10.0 or later.

Analysis

AI-generated

Technical impact

The vulnerability is a misconfigured file permission in the CodeCatalyst connection handler in AWS Toolkit for Visual Studio Code. Before 4.10.0, token cache files that hold CodeCatalyst bearer tokens were created with world‑readable permissions. A local user can read these files and retrieve an active token, allowing unauthorized use of the token to access AWS resources. This weakness corresponds to CWE‑276 (Incorrect Default Permissions) and CWE‑459 (Weakness in a Library’s Interaction with the Host).

Affected Systems

The affected product is the AWS Toolkit for Visual Studio Code, provided by Amazon Web Services. All releases prior to version 4.10.0 are vulnerable; the vendor explicitly identifies every version before 4.10.0 as impacted. No other vendors or product lines are involved. The vulnerability affects the local cache of bearer tokens used by the CodeCatalyst connection handler.

Risk and Exploitability

The CVSS score of 6.8 indicates a moderate severity. The EPSS score is not available, reflecting a lack of publicly reported exploitation data. The vulnerability is not listed in the CISA KEV catalog. The attack vector is local: an authenticated or resourceful local user can read the cache files and obtain a bearer token. With the token, an attacker can access CodeCatalyst services or other AWS resources, potentially escalating privileges or exfiltrating data. No additional network access beyond the local machine is required.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the AWS Toolkit for Visual Studio Code to version 4.10.0 or later.
  • Delete any cached bearer token files created by earlier versions of the toolkit to remove exposed credentials.
  • Ensure that the user account under which VS Code runs has limited permissions to the token cache directory so that unintended users cannot read the files.

Generated by OpenCVE AI on October 8, 2026 at 18:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Insecure file permissions in the CodeCatalyst connection handler in AWS Toolkit for VS Code before 4.10.0 allowed local users to obtain CodeCatalyst bearer tokens via reading world-readable token cache files. To mitigate this issue, users should upgrade to version 4.10.0 or later.
Title Insecure Default File Permissions on Cached Credentials in AWS Toolkit for Visual Studio Code
First Time appeared Aws
Aws aws-toolkit-vscode
Weaknesses CWE-276
CWE-459
CPEs cpe:2.3:a:aws:aws-toolkit-vscode:*:*:*:*:*:*:*:*
Vendors & Products Aws
Aws aws-toolkit-vscode
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
AMZN
Published
Updated
Oct 9, 2026, 4:18 PM
Reserved
Oct 7, 2026, 6:21 PM
Status
Awaiting Analysis
Published
Oct 8, 2026, 6:17 PM
Modified
Oct 9, 2026, 5:16 PM