CVE-2025-59956: Coder AgentAPI exposed user chat history via a DNS rebinding attack
(updated )
AgentAPI prior to version 0.4.0 was susceptible to a client-side DNS rebinding attack when hosted over plain HTTP on localhost.
References
- github.blog/security/application-security/localhost-dangers-cors-and-dns-rebinding
- github.com/advisories/GHSA-w64r-2g3w-w8w4
- github.com/coder/agentapi
- github.com/coder/agentapi/commit/5c425c62447b8a9eac19e9fc5a2eae7f0803f149
- github.com/coder/agentapi/pull/49
- github.com/coder/agentapi/releases/tag/v0.4.0
- github.com/coder/agentapi/security/advisories/GHSA-w64r-2g3w-w8w4
- mcpsec.dev/advisories/2025-09-19-coder-chat-exfiltration
- nvd.nist.gov/vuln/detail/CVE-2025-59956
Code Behaviors & Features
Detect and mitigate CVE-2025-59956 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →