Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Environment
- Cursor version: 3.9.16 (042b3c1a4c53f2c3808067f519fbfc67b72cad80, x64)
- OS: Windows 11 (build 26200) + WSL2 Ubuntu-24.04
- Project path (as opened in Cursor): \wsl.localhost\Ubuntu-24.04\home\cyril\dev\portif
- Launch method: Opening WSL repo from Ubuntu (
cursor .) — issue persists in latest Cursor - Repo is valid in WSL:
/home/cyril/dev/portifexists, README.md readable viawslCLI
Summary
After upgrading to Cursor 3.x, the AI agent cannot reliably read/search/execute in my WSL Ubuntu repo. Some file tools work via UNC path, but others resolve Linux paths to invalid Windows paths (C:\home\cyril\...), Glob searches time out, and Shell commands return empty/no response. This makes the agent effectively unable to work on WSL projects.
Steps to reproduce
- On Windows 11, use WSL2 with Ubuntu-24.04
- Open project at
\\wsl.localhost\Ubuntu-24.04\home\cyril\dev\portif(or reopen from recent projects) - Start an Agent chat and ask it to explore the repo (list files, read Makefile, run shell commands)
- Observe inconsistent/broken tool behavior
Expected behavior
- All agent tools (Read, Grep, Glob, Shell) operate on the WSL filesystem
- Linux paths like
/home/cyril/dev/portifresolve correctly inside WSL - Status bar shows
WSL: Ubuntu-24.04when in remote-WSL mode - Agent can index and read
.cursor/rules, source files, etc.
Actual behavior (observed in a live agent session)
| Tool | Result |
|---|---|
Read via \\wsl.localhost\...\README.md |
Works |
| Grep in workspace | Works |
Glob on /home/cyril/dev/portif |
Fails — resolves to C:\home\cyril\dev\portif (does not exist) |
Glob * via UNC path |
Times out after 25s |
Shell with working_directory: /home/cyril/dev/portif |
Intermittent — often empty output / no exit status |
Shell via wsl -d Ubuntu-24.04 -e bash -c "..." |
Works when it runs |
Suspected root cause
Workspace registered as file://wsl.localhost/... (UNC) instead of proper remote URI vscode-remote://wsl+ubuntu/.... This matches known WSL issues in Cursor 3.x / Agents Window where:
- Duplicate workspace storage entries conflict
ms-vscode-remote.remote-wslconflicts withanysphere.remote-wsl- Extension host fails to start within 60s → “Agent Execution Timed Out”
Workarounds attempted / recommended
- Open via
cd ~/dev/portif && cursor .from WSL terminal - Confirm bottom-left shows
WSL: Ubuntu-24.04 - Uninstall
ms-vscode-remote.remote-wsl, keep onlyanysphere.remote-wsl wsl --shutdown, delete~/.cursor-server, clean staleworkspaceStorageentries withfile://wsl.localhost/...- Use Editor Window (
cursor --classic) instead of Agents Window
Impact
Severe — WSL-based development is my primary workflow. Agent is unusable for repo exploration, testing, and multi-file edits. Considering canceling subscription if unresolved.
Request ID
[Please paste from this chat: “…” menu → Copy Request ID]
Logs
[Please attach via Help → Developer: Export Logs → Main, Window, Extension Host]
Steps to Reproduce
dd
Expected Behavior
dd
Operating System
Windows 10/11
Version Information
ddddddddddd
Does this stop you from using Cursor
Yes - Cursor is unusable