Skip to content
Race condition Write-up Advanced

CVE-2026–7791: Amazon WorkSpaces’de Gizlenen Ayrıcalık Yük

The Windows client for Amazon WorkSpaces runs a service called Skylight Workspace Config Service with SYSTEM privileges, and that service rotates log files in a way that leaves a race window between checking a file and using it. A normal, non-admin user logged in to the machine could swap the file during that window and get code executed as SYSTEM.

Erdem Ceylan Follow

Published on medium.com

Amazon’un kurumsal uzak masaüstü çözümü WorkSpaces’in Windows istemcisinde kritik bir güvenlik açığı keşfedildi. Normal bir şirket çalışanı — yani admin olmayan, sıradan bir kullanıcı — bu açığı kullanarak tüm sistemin en yüksek yetkisine, yani SYSTEM hesabına erişebiliyor.

Erdem Ceylan, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a time-of-check to time-of-use race: the SYSTEM service validates a log file and then reopens or writes to it by path, so the file can be replaced with a symbolic link or junction in between.

Impact

A logged-in low-privileged user could gain full SYSTEM control of the WorkSpaces desktop, leading to access to all files, other users' sessions, persistence and lateral movement; the text gives no evidence that a defence blocked it.

What the attacker needed

Logged-in non-admin user on the desktop; WorkSpaces client below 2.6.2034.0; ability to create symlinks or junctions

The fix

The text says to update the WorkSpaces Windows client to version 2.6.2034.0 or later, which it presents as the primary fix.

How it was found

  1. Confirm the WorkSpaces client version and that the Skylight service is running.
  2. Map where the service writes and rotates its log files and check their permissions.
  3. Prepare a symbolic link or directory junction that redirects the log file path to a system location.
  4. Wait for log rotation and place the link inside the short window between check and use.
  5. The SYSTEM service writes to the attacker-chosen location, giving SYSTEM-level execution.
  6. Use SYSTEM rights to clear logs and hide the activity.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Some programs run with much higher power than the person using the computer, so they can do things an ordinary user cannot. This service checks that a log file is safe and then, a moment later, writes to it; if an attacker swaps the file in that tiny gap, the service writes to the attacker's file instead. Because the service runs as SYSTEM, the most powerful account on Windows, the attacker ends up with full control of the machine.

What is Race condition?

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.

More by Erdem Ceylan

View all

7 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.