CVE & CISA-KEV Catalog

CVE-2025-59956

MEDIUM
6.5
CVSS v3
NVD

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.

How to fix

Remediation Available
agentapiNVD
Affected:< 0.4.0Fixed in:0.4.0CVE-2025-59956derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

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

Exploit Intelligence

0.40%probability of exploitation in 30 days
32ndpercentile

Low risk: more likely to be exploited than 32% of all known CVEs.

References

Release Notes1
Technical Description1
Embed a live status badge for CVE-2025-59956
CVE-2025-59956 severity badge

Markdown

[![CVE-2025-59956](https://tridentstack.com/cve/badge/CVE-2025-59956.svg)](https://tridentstack.com/cve/CVE-2025-59956)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-59956"><img src="https://tridentstack.com/cve/badge/CVE-2025-59956.svg" alt="CVE-2025-59956"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-10-08.