cve.bz

CVE-2025-59956

6.5 mediumEPSS 0.4%

Medium (6.5) in coder agentapi. EPSS 0.4% chance of exploitation in the next 30 days. Fixed in github.com/coder/agentapi 0.4.0.

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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS
0.4% chance of exploitation in the next 30 days; higher than 36% of CVEs (scores of 2026-10-31)
CWEs
CWE-290, CWE-350
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-w64r-2g3w-w8w4Gogithub.com/coder/agentapi<0.4.00.4.0
GO-2025-3991Gogithub.com/coder/agentapi<0.4.00.4.0

References

Check your stackJSON