BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2025-59956 in Coder Agentapi

Medium 6.5

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 exfil...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.16.5
EPSS0.7%
EPSS percentile51th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Coder Agentapi < 0.4.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-59956
BreachSpider IDBS-2025-GLOBAL-299843-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Published2025-09-30
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-290: CWE-290

CWE-350: CWE-350

Related attack patterns (CAPEC)

CAPEC-59 Session Credential Falsification through Prediction via CWE-290

CAPEC-60 Reusing Session IDs (aka Session Replay) via CWE-290

CAPEC-142 DNS Cache Poisoning via CWE-350

CAPEC-275 DNS Rebinding via CWE-350

CAPEC-459 Creating a Rogue Certification Authority Certificate via CWE-290

Show all 14

CAPEC-476 Signature Spoofing by Misrepresentation via CWE-290

CAPEC-667 Bluetooth Impersonation AttackS (BIAS) via CWE-290

CAPEC-73 User-Controlled Filename via CWE-350

CAPEC-89 Pharming via CWE-350

CAPEC-461 Web Services API Signature Forgery Leveraging Hash Function Extension Weakness via CWE-290

CAPEC-473 Signature Spoof via CWE-290

CAPEC-21 Exploitation of Trusted Identifiers via CWE-290

CAPEC-22 Exploiting Trust in Client via CWE-290

CAPEC-94 Adversary in the Middle (AiTM) via CWE-290

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

AgentAPI versions 0.3.3 and below are vulnerable to a client-side DNS rebinding attack when hosted over plain HTTP on localhost, allowing unauthorized access to the /messages endpoint and exfiltration of sensitive user data.

The vulnerability arises from the use of plain HTTP on localhost, which can be exploited by an attacker to perform DNS rebinding. This attack redirects the client's requests to a malicious server, enabling unauthorized access to the /messages endpoint.

Questions

What is CVE-2025-59956?

AgentAPI versions 0.3.3 and below are vulnerable to a client-side DNS rebinding attack when hosted over plain HTTP on localhost, allowing unauthorized access to the /messages endpoint and exfiltration of sensitive user data.

What is the CVSS score for CVE-2025-59956?

CVE-2025-59956 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N. EPSS: 0.7%.

Is CVE-2025-59956 actively exploited?

No confirmed active exploitation of CVE-2025-59956 as of 2026-09-25.

How do I remediate CVE-2025-59956?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2025-59956?

CVE-2025-59956 affects Coder Agentapi.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Coder","product":"Agentapi","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.