6.5

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

Analyzed
AliasesGHSA-w64r-2g3w-w8w4GO-2025-3991
Published 29-09-2025Last modified 30-09-2025

Vulnerability summary

CVE-2025-59956 is a medium (CVSS 6.5) vulnerability in coder agentapi. EPSS estimates a 0.44% chance of exploitation in the next 30 days, higher than 40.2% of scored vulnerabilities. 2 public exploits are recorded.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

CIRCL last checked 05-12-2026

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.44%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits2reference

Advisory lineage

Upstream 0 · Downstream 3 · Related 3

Timeline

  1. 29-09-2025
    PublishedVulnerability first disclosed.
  2. 30-09-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.44%

Chance of exploitation in the next 30 days

Percentile

40%

Versus all other CVEs

30-day change

Increase +0.02 pp

From 0.43% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

2 found
  • referenceUnverified

    Exploit Reference (mcpsec.dev)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (mcpsec.dev)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Coder1 product
Github.com/coder1 product
  • agentapi< 0.4.0

2 vendors · 2 products

References

10 links