{"id":"GHSA-9g5j-qgqm-857j","kind":"vulnerability","aliases":["GHSA-9g5j-qgqm-857j"],"related":[],"title":"CVE-2026-107332 - Insecure default file permissions on cached credentials in AWS Toolkit for Visual Studio Code","description":"CVE-2026-107332 - Insecure default file permissions on cached credentials in AWS Toolkit for Visual Studio Code\n\n### CVE-2026-107332 - Insecure default file permissions on cached credentials in AWS Toolkit for Visual Studio Code\n\nBulletin ID: 2026-129-AWS Scope: AWS Content Type: Important (requires attention) Publication Date: 10/08/2026 10:30 AM PDT\n\nDescription:\n\nAWS 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.\n\nImpacted versions: < 4.10.0\n\nResolution:\n\nThis 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.\n\nWorkarounds:\n\nUsers 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.\n\nReferences:\n\n- CVE-2026-107332\n- GHSA-9g5j-qgqm-857j\n\n Please email aws-security@amazon.com with any security questions or concerns.","summary":"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.","severity":"medium","cvss":null,"epss":null,"exploited":false,"exploited_at":null,"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"],"how_to_check":"- Check the installed AWS Toolkit version in Visual Studio Code; versions below `4.10.0` are affected.\n- 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.\n- Until upgraded, delete any `codecatalyst..token` files in the extension's global storage directory after each session.\n- Rotate the CodeCatalyst bearer token if a cached file may have been readable by other users on the machine.","status":"open","published_at":null,"first_seen_at":"2026-10-24T18:43:45+00:00","triaged_at":"2026-10-25T04:51:45+00:00","updated_at":"2026-10-25T04:51:45+00:00","category":"vendor","confidence":0.8,"triage":{"at":"2026-10-25T04:51:45Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade the AWS Toolkit for Visual Studio Code extension to `4.10.0` or later.\n- Until upgraded, delete any `codecatalyst..token` files in the extension's global storage directory after each session.\n- Rotate the CodeCatalyst bearer token if a cached file may have been readable by other users on the machine.","reach":"local","title":"AWS Toolkit for VS Code: CodeCatalyst token cached world-readable on disk","impact":"medium","summary":"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.","category":"vendor","nicknames":[],"who_cares":["aws","vs-code","codecatalyst","developer-workstation"],"confidence":0.8,"needs_auth":"no","worst_case":"Local user reads the file and obtains the CodeCatalyst bearer token","analyst_note":"","how_to_check":"- Check the installed AWS Toolkit version in Visual Studio Code; versions below `4.10.0` are affected.\n- Look for files named `codecatalyst..token` in the AWS Toolkit extension's Visual Studio Code global storage directory and check their permissions.","needs_analyst":false,"not_affected_if":["no-codecatalyst-use","version-4.10.0-or-later","single-user-machine"],"who_is_affected":"Developers who connected the AWS Toolkit for Visual Studio Code to a CodeCatalyst Dev Environment on a machine with other local users or processes. Machines without CodeCatalyst connections, and those already on version 4.10.0 or later, are not exposed.","user_interaction":"no","needs_special_setup":"no","severity_if_unknown":"medium"},"cost_usd":0.000711,"input_tokens":3911,"output_tokens":639,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-107332':3A,92C,109C,174C,340C '-129':127C '-2026':2A,91C,108C,173C,339C '10':139C '10/08/2026':138C '2026':126C,266C '30':140C '4.10.0':246C,261C,268C '857j':22A,27A,345C '9':265C '9g5j':20A,25A,343C 'abl':234C 'access':228C 'address':252C 'amazon':163C 'attent':135C 'aw':12A,28B,41B,101C,118C,128C,130C,144C,160C,254C,324C 'aws-security@amazon.com':348C 'bearer':52B,198C,242C 'bulletin':124C 'cach':9A,47B,98C,115C,193C,272C 'cannot':312C 'code':17A,39B,46B,106C,123C,149C,169C,259C,301C,330C 'codecatalyst':29B,51B,164C,179C,188C,197C,320C 'concern':354C 'connect':180C,185C 'content':131C 'credenti':10A,99C,116C 'cve':1A,90C,107C,172C,338C 'date':137C 'default':5A,94C,111C 'delet':65B,280C,316C 'deriv':300C 'descript':143C 'dev':69B,189C,284C 'develop':31B,157C 'developer-workst':30B 'directori':333C 'disclosur':35B 'email':347C 'end':72B,217C 'ensur':296C 'environ':70B,190C,285C 'extens':154C,192C,326C 'file':6A,56B,85B,95C,112C,202C,213C,231C,238C,273C,318C 'fix':308C 'fork':298C 'ghsa':19A,24A,342C 'ghsa-9g5j-qgqm-857j':18A,23A,341C 'global':331C 'handler':181C 'id':125C 'identifi':171C 'immedi':314C 'impact':244C 'import':133C 'includ':162C 'incorpor':305C 'insecur':4A,93C,110C 'issu':176C,249C 'juli':264C 'lab':34B 'lab-disclosur':33B 'latest':293C 'let':156C 'local':74B,219C 'machin':81B,226C 'name':319C 'new':307C 'obtain':240C 'open':152C 'owner':276C 'owner-on':275C 'patch':303C 'pdt':142C 'permiss':7A,61B,96C,113C,207C,278C 'pleas':346C 'process':77B,222C 'public':136C 'qgqm':21A,26A,344C 'question':352C 'read':83B,236C 'readabl':60B,206C 'recommend':289C 'refer':337C 'releas':262C 'remov':211C 'requir':134C 'resolut':247C 'scope':129C 'secur':351C 'servic':161C 'session':71B,216C,336C 'sourc':153C 'stop':287C 'storag':332C 'studio':16A,45B,105C,122C,148C,168C,258C,329C 'system':232C 'take':87B 'token':53B,89B,199C,243C,271C,321C 'toolkit':13A,42B,102C,119C,145C,255C,325C 'type':132C 'upgrad':290C,313C 'user':49B,75B,184C,195C,220C,310C 'vendor':36B 'version':245C,260C,267C,294C 'visual':15A,44B,104C,121C,147C,167C,257C,328C 'vs':38B 'vs-code':37B 'within':166C 'work':158C 'workaround':309C 'workstat':32B 'world':59B,205C 'world-read':58B,204C 'write':269C","nicknames":[],"mitigations":[],"who_affected":"Developers who connected the AWS Toolkit for Visual Studio Code to a CodeCatalyst Dev Environment on a machine with other local users or processes. Machines without CodeCatalyst connections, and those already on version 4.10.0 or later, are not exposed.","tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":null,"kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"lab","external_id":"https://aws.amazon.com/security/security-bulletins/rss/2026-129-aws/#GHSA-9g5j-qgqm-857j","url":"https://aws.amazon.com/security/security-bulletins/rss/2026-129-aws/","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-10-24T18:43:45+00:00","fetched_at":"2026-10-24T18:43:45+00:00","note":"AWS: CVE-2026-107332 - Insecure default file permissions on cached credentials in AWS Toolkit for Visual Studio Code"}],"documents":[{"id":2884,"url":"https://aws.amazon.com/security/security-bulletins/rss/2026-129-aws/","title":"AWS: CVE-2026-107332 - Insecure default file permissions on cached credentials in AWS Toolkit for Visual Studio Code","kind":"advisory","source":"lab","text":"CVE-2026-107332 - Insecure default file permissions on cached credentials in AWS Toolkit for Visual Studio Code\n\n### CVE-2026-107332 - Insecure default file permissions on cached credentials in AWS Toolkit for Visual Studio Code\n\nBulletin ID: 2026-129-AWS Scope: AWS Content Type: Important (requires attention) Publication Date: 10/08/2026 10:30 AM PDT\n\nDescription:\n\nAWS 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.\n\nImpacted versions: < 4.10.0\n\nResolution:\n\nThis 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.\n\nWorkarounds:\n\nUsers 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.\n\nReferences:\n\n- CVE-2026-107332\n- GHSA-9g5j-qgqm-857j\n\n Please email aws-security@amazon.com with any security questions or concerns.","published_at":null,"relation":"advisory","confidence":null,"note":null}],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}