Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/coder/agentapi
  4. ›
  5. CVE-2025-59956

CVE-2025-59956: Coder AgentAPI exposed user chat history via a DNS rebinding attack

September 29, 2025 (updated October 23, 2025)

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
  • pkg.go.dev/vuln/GO-2025-3991

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. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.4.0

Fixed versions

  • 0.4.0

Solution

Upgrade to version 0.4.0 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-290: Authentication Bypass by Spoofing
  • CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action

Source file

go/github.com/coder/agentapi/CVE-2025-59956.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:42 +0000.