Cursor CLI's Grep and Glob now search folders outside the workspace
Before Cursor CLI v2026.10.15, a search outside the workspace could return the wrong results without saying so. When the agent asked Grep or Glob to search a folder outside your open workspace, the tools "quietly searched the workspace instead".
What changed
Grep and Glob now search the folder the agent asked for. The results come from where the agent pointed them.
Two details from the changelog:
.cursorignoreand Read deny rules still apply to files outside the workspace.- Glob now says when its results were cut off.
Why it matters
A search that silently falls back to the workspace looks like a normal result. An agent asked to look through a sibling checkout or a vendored directory could conclude a symbol did not exist when it had searched the wrong tree.
If you rely on ignore rules to keep files out of the agent's reach, the changelog says they cover paths outside the workspace too. It names .cursorignore and Read deny rules.
Sources: Cursor CLI changelog.