{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:amazon:research_and_engineering_studio:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "2025.03"
              },
              {
                "last_affected": "2025.12.01"
              },
              {
                "introduced": "0"
              },
              {
                "fixed": "2026.03"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "fddaa266046094617749dd06dcad0aef0d986b66"
            },
            {
              "fixed": "5c1b3fb6f155a0520bcfe4b2ca463c6631dabfd3"
            }
          ],
          "repo": "https://github.com/aws/res",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "AMZN",
    "cwe_ids": [
      "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5707.json"
  },
  "details": "Unsanitized input in an OS command in the virtual desktop session name handling in AWS Research and Engineering Studio (RES) version 2025.03 through 2025.12.01 might allow a remote authenticated actor to execute arbitrary commands as root on the virtual desktop host via a crafted session name.\n\nTo remediate this issue, users are advised to upgrade to RES version 2026.03 or apply the corresponding mitigation patch to their existing environment.",
  "id": "CVE-2026-5707",
  "modified": "2026-08-12T03:51:23.479481291Z",
  "published": "2026-04-06T21:25:48.404Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://aws.amazon.com/security/security-bulletins/2026-014-aws/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5707.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/aws/res/releases/tag/2026.03"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-5707"
    },
    {
      "type": "FIX",
      "url": "https://github.com/aws/res/issues/151"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Command Injection via Virtual Desktop Session Name in AWS Research and Engineering Studio (RES)"
}