CVE-2026-5707: OS Command Injection in AWS Research and Engineering Studio Virtual Desktop Session Name Handling
- Vendor
- Amazon Web Services
CVE-2026-5707 is an OS command injection vulnerability in AWS Research and Engineering Studio (RES) affecting versions 2025.03 through 2025.12.01. The flaw is caused by unsanitized input in the handling of virtual desktop session names, where attacker-controlled session name data is incorporated into an OS command without proper sanitization. A remote authenticated attacker can supply a crafted session name and trigger arbitrary command execution on the virtual desktop host. Successful exploitation results in command execution with root privileges on that host.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows a remote authenticated attacker to execute arbitrary commands as root on the virtual desktop host. This can lead to full compromise of the affected host, including unauthorized access to sensitive data on the system, modification or destruction of data, installation of persistence mechanisms, lateral movement from the compromised desktop environment, and disruption of service availability. The provided CVSS vectors indicate high impact to confidentiality, integrity, and availability.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, apply the AWS-provided mitigation patch referenced in the AWS security bulletin and RES GitHub resources. Until remediation is completed, reduce exposure by limiting access to authenticated RES users who can create or manipulate virtual desktop sessions, closely monitoring session creation activity and virtual desktop hosts for anomalous command execution, and restricting administrative pathways that could enable abuse of crafted session names.
Remediation
Patch, then assume compromise.
Upgrade AWS Research and Engineering Studio (RES) to version 2026.03, which contains the fix for this vulnerability. For environments that cannot be upgraded immediately, apply the corresponding mitigation patch provided by AWS for existing deployments. Organizations maintaining forked or derivative RES codebases should merge the upstream fix into their custom deployments.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-5707 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2026-5707 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-5707?
- Yes. As of Sep 25, 2026, Mallory has reports of a public exploit for CVE-2026-5707.
- Is there a patch for CVE-2026-5707?
- Upgrade AWS Research and Engineering Studio (RES) to version 2026.03, which contains the fix for this vulnerability. For environments that cannot be upgraded immediately, apply the corresponding mitigation patch provided by AWS for existing deployments.
- What products are affected by CVE-2026-5707?
- Amazon Web Services Research And Engineering Studio.
- How severe is CVE-2026-5707?
- CVE-2026-5707 has a CVSS v4 score of 8.7 (High) and an EPSS score of 1.0% (64th percentile) as of Sep 25, 2026.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.