Skip to content
Embrace The Red·Indexed by this site · Originally published· Attacks →

Cline exposed as capable of leaking data via Markdown image rendering; author offers protection advice

Cline: Vulnerable To Data Exfiltration And How To Protect Your Data

AI summary

Security researchers disclose that the AI coding agent Cline has a data exfiltration vulnerability: the chat pane renders Markdown images from untrusted domains, and attackers can read sensitive files such as .env during a prompt injection attack and embed the contents into image URLs, thereby exfiltrating local files without requiring human approval. The author provides reproduction steps: write a demo.md containing injected content, create a .env with a fake key, then have Cline explain the file—you can see Cline being hijacked, reading .env, and automatically rendering the image. Mitigation recommendations include not rendering Markdown images from untrusted domains and disabling Auto-approve by default, and the author notes the attack can also come from sources such as website content and MCP servers.

Read originalembracethered.com