GitLab Duo Prompt Injection Vulnerability Exposes Source Code
Security researchers discovered an indirect prompt injection vulnerability in GitLab Duo that could allow attackers to exfiltrate source code, manipulate code suggestions, and leak confidential vulnerabilities through the AI-powered coding assistant.
What happened
Security researchers from Legit Security discovered an indirect prompt injection vulnerability in GitLab Duo, an AI-powered coding assistant integrated into GitLab and based on Anthropic's Claude models.
Attackers could exploit the flaw to exfiltrate private source code, manipulate AI-generated code suggestions, and leak confidential zero-day vulnerabilities through seemingly innocuous inputs.
Classification
Sources and evidence
Sources not yet published
This record was researched and written by the Index from original reporting. Its sources are still being verified by an editor, and they are listed here once that check is complete. Until then the record carries no reviewer.