—
GO-2025-3991
Coder AgentAPI exposed user chat history via a DNS rebinding attack in github.com/coder/agentapi
Quick fix
GO-2025-3991 — github.com/coder/agentapi: upgrade to the fixed version with the command below.
go get github.com/coder/agentapi@v0.4.0Details
Coder AgentAPI exposed user chat history via a DNS rebinding attack in github.com/coder/agentapi
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/coder/agentapi
Introduced in:
0Fixed in: 0.4.0Fix
go get github.com/coder/agentapi@v0.4.0References
- https://github.com/coder/agentapi/security/advisories/GHSA-w64r-2g3w-w8w4[ADVISORY]
- https://nvd.nist.gov/vuln/detail/CVE-2025-59956[ADVISORY]
- https://github.com/coder/agentapi/commit/5c425c62447b8a9eac19e9fc5a2eae7f0803f149[FIX]
- https://github.com/coder/agentapi/pull/49[FIX]
- https://github.blog/security/application-security/localhost-dangers-cors-and-dns-rebinding[WEB]
- https://github.com/coder/agentapi/releases/tag/v0.4.0[WEB]
- https://mcpsec.dev/advisories/2025-09-19-coder-chat-exfiltration[WEB]