How Researchers Got Root in Copilot Enterprise’s Python Sandbox
In 2025, researchers at Eye Security showed they could gain root privileges inside the Python sandbox that Microsoft Copilot Enterprise uses to run code. A script running as root called the pgrep command without its full path, and a directory the researchers could write to came earlier in the search path, so uploading a file named pgrep made root run their code.