Warning
vulnerableReported, not yet independently verifiedAGT-2026-0017
GitHub MCP integration: malicious public issue hijacks agent into leaking private repo data
A real bug in otherwise honest software. Check your version against the affected range below.
Invariant Labs showed that a malicious issue in a public repo can steer a user's agent, on a benign request, into reading private repository data and leaking it through a PR in the public repo. Heise and DevClass describe it as prompt injection / architectural, not a server code bug. Suggested mitigations: single-repo sessions and least-privilege tokens.
Affected
- GitHub:github/github-mcp-server
- all versions
Field marks
- Kind
- mcp server
- Agents
- claude-desktop
- Techniques
- indirect-prompt-injection, data-exfiltration
- Frameworks
- OWASP Agentic ASI01: Agent Goal HijackMITRE ATLAS AML.T0051.001OWASP Agentic ASI02: Tool Misuse and Exploitation
- Reported by
- antidote-seed
Sources
- invariantlabs.ai https://invariantlabs.ai/blog/mcp-github-vulnerability
- heise.de https://heise.de/-10400040
- devclass.com https://devclass.com/2025/05/27/researchers-warn-of-prompt-injection…
Wrong or outdated? Open an issue or PR against corpus/entries/AGT-2026-0017.json.