{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.65.0"
                  },
                  {
                    "fixed": "1.78.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "0.0.113"
                  },
                  {
                    "fixed": "0.0.127"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "original_tag": "v1.78.0",
                "range": [
                  {
                    "fixed": "ccefbd6ba5c794ccacf0200bf6facc3bfab56908"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "76ded574296e021c8a7514a3238cdb3b19b22165"
            },
            {
              "fixed": "ccefbd6ba5c794ccacf0200bf6facc3bfab56908"
            },
            {
              "introduced": "71c53d10a14c154e1790c622ffaa3f476f15fc22"
            },
            {
              "fixed": "d493511cc333dd6a1b7d40b056ea807e41cd8274"
            }
          ],
          "repo": "https://github.com/amazon-q-developer/language-servers",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "AMZN",
    "cwe_ids": [
      "CWE-1023"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137931.json"
  },
  "details": "Incomplete comparison in the MCP server consent check in Language Servers for AWS 1.65.0 before 1.78.0 might allow an actor to execute arbitrary code on a developer's workstation without a new consent prompt via a modified workspace MCP configuration, due to an incomplete fix for CVE-2026-12957.\n\n\n\nTo remediate this issue, users should upgrade to Language Servers for AWS 1.78.0 or later (npm @aws/lsp-codewhisperer 0.0.127 or later). Amazon Q Developer IDE plugin users should restart their IDE to receive the latest language server and keep the plugin up to date.",
  "id": "CVE-2026-137931",
  "modified": "2026-12-01T21:46:10.022862589Z",
  "published": "2026-12-01T20:07:55.051Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://aws.amazon.com/security/security-bulletins/2026-206-aws/"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Amazon-Q-Developer/language-servers/releases/tag/v1.78.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137931.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-137931"
    },
    {
      "type": "FIX",
      "url": "https://www.npmjs.com/package/@aws/lsp-codewhisperer/v/0.0.127"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Incomplete fix for CVE-2026-12957: incomplete MCP server consent fingerprint in Language Servers for AWS"
}