Security mailing lists by PureSourceCode

CVE-2025-59956

MEDIUM 6.5CVSS 3.1

Coder AgentAPI exposed user chat history via a DNS rebinding attack

AgentAPI is an HTTP API for Claude Code, Goose, Aider, Gemini, Amp, and Codex. Versions 0.3.3 and below are susceptible to a client-side DNS rebinding attack when hosted over plain HTTP on localhost. An attacker can gain access to the /messages endpoint served by the Agent API. This allows for the unauthorized exfiltration of sensitive user data, specifically local message history, which can include secret keys, file system contents, and intellectual property the user was working on locally. This issue is fixed in version 0.4.0.

Published
30 Sep 2025
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-290CWE-350
Also known as
GHSA-w64r-2g3w-w8w4GO-2025-3991
Sources
NVDJSONOSV GHSA-w64r-2g3w-w8w4JSONOSV GO-2025-3991JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD coder agentapi
cpe:2.3:a:coder:agentapi:*:*:*:*:*:*:*:*
< 0.4.0 0.4.0
OSV Go github.com/coder/agentapi < 0.4.0 0.4.0

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 30 Sep 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Oct 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 29 Sep 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.