Skip to content
MediumNewsLLM-specific

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

Published
Record updated
View JSON

Summary

Cline, a popular AI coding agent with over 2 million downloads and 47k GitHub stars, renders markdown images from untrusted domains in its chat box. An attacker can use prompt injection to make Cline read a sensitive file such as a .env file and append its contents to an image URL, exfiltrating the data without human approval. The researcher reported the issue to the Cline project on May 29, 2025, and says it remains unaddressed after 90+ days.

Mitigation

The researcher recommends not rendering markdown images from untrusted domains, or asking for confirmation before loading them, and disabling "Auto-approve" by default to limit which files can be read. Developers can partially protect themselves by not enabling auto-execution of commands, though this does not help if sensitive information is already in the chat context.