Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
coder agentapi
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

AgentAPI是Coder开源的一个接口项目。 AgentAPI 0.3.3及之前版本存在安全漏洞,该漏洞源于容易受到客户端DNS重绑定攻击,可能导致未经授权的敏感用户数据泄露。

CVSS 6.5 · Medium EPSS 0.43% · P35
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-59956

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
AgentAPI exposed user chat history via a DNS rebinding attack
Source: CVE Program / CVE List V5
Vulnerability 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: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
不恰当地信任反向DNS
Source: CVE Program / CVE List V5
Vulnerability Title
AgentAPI 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
AgentAPI是Coder开源的一个接口项目。 AgentAPI 0.3.3及之前版本存在安全漏洞,该漏洞源于容易受到客户端DNS重绑定攻击,可能导致未经授权的敏感用户数据泄露。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
coder agentapi < 0.4.0 -

II. Public POCs for CVE-2025-59956

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-59956

请登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2025-59956

No comments yet


Leave a comment