CVE-2026-12957
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedImproper trust boundary enforcement in Language Servers for AWS before version 1.65.0 on all supported platforms may allow a for arbitrary code execution. If a local user opens a maliciously crafted workspace, any commands within the project configuration files may be automatically executed. This issue requires the user to trust the workspace when prompted. To remediate this issue, users should upgrade to Language Servers for AWS version 1.65.0 or higher.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceImproper trust boundary enforcement in AWS Language Servers allows arbitrary code execution when a user opens a malicious workspace and chooses to trust it. The vulnerability stems from the application executing commands embedded in project configuration files without sufficient validation, enabling local privilege escalation.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- Low
- Privileges
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Locate AWS Language Server installationSearch for AWS Language Server binaries (amazon-lsp, aws-lsp, or language server executables from AWS Toolkit) using 'which amazon-lsp' or 'which aws-lsp' on Linux/macOS, or check common installation directories such as /usr/local/bin, ~/.local/bin, or on Windows check Program Files and user AppData folders; if installed as an IDE extension (AWS Toolkit for VS Code, JetBrains), check extension details for the language server componentAffected if AWS Language Server executable or extension is present on the system
-
Determine installed versionRun the located binary with --version flag (e.g., 'amazon-lsp --version' or 'aws-lsp --version'); for IDE extensions, right-click the AWS Toolkit extension in your IDE's extension manager and select 'Check for Updates' or view the extension details to see the included language server versionAffected if Returned version is below 1.65.0
-
Identify workspace trust usageReview IDE activity logs or recent workspace history to determine if any workspaces from external or untrusted sources were opened and trusted; check IDE settings for workspace trust state in recent sessions - VS Code stores workspace trust state in .vscode folder metadata or recent workspaces fileAffected if User has opened and trusted workspaces from sources outside their direct control since installing the language server
Environment is affected if AWS Language Server version is below 1.65.0 AND the user has interacted with and trusted potentially malicious workspace directories containing crafted project configuration files
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade Language Servers for AWS to version 1.65.0 or higher to receive the trust boundary enforcement fix.
Language Servers for AWS version 1.65.0
- Check the current installed version of Language Servers for AWS
- Download Language Servers for AWS version 1.65.0 or later from the official AWS source (aws.amazon.com or official GitHub releases)
- Install or update to version 1.65.0 or higher following the standard installation process
- Verify the installed version is 1.65.0 or higher to confirm the remediation
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation2.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,152.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-12957 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-12957 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data