Cursor - Community Forum
Cursor is reading .env
Ideas
Feedback
privacy-mode
,
security
MaxTee
(Max Tee)
January 30, 2026, 10:07am
9
same bug reported here:
Upgrade to 2.4.21 removes global (default) cursorignore
show post in topic
Related topics
Topic
Replies
Views
Activity
Cursor IDE Agent Reads .env file!
Bug Reports
context
,
security
,
anthropic
2
399
February 15, 2026
Cursor AI Can Expose Secrets in .env Files (Security Concern)
Feature Requests
context
,
security
0
279
April 2, 2026
Cursor reading .env files
Feature Requests
2
3182
March 6, 2025
Cursor reads .env even though it is on .cursorignore
Bug Reports
1
434
October 11, 2025
Dot env files are being read by the agent
Bug Reports
indexing
,
context
,
security
2
115
February 28, 2026