CVE-2025-59956: medium-severity vulnerability in coder agentapi
AgentAPI exposed user chat history via a DNS rebinding attack
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
AgentAPI on unencrypted HTTP localhost is vulnerable to DNS rebinding attacks, allowing attackers to steal user chat history including secrets and sensitive files. This affects versions 0.3.3 and below.
A DNS rebinding attack targets AgentAPI instances running on plain HTTP (localhost), exploiting lack of hostname validation to redirect requests from an attacker-controlled domain to the local /messages endpoint. Pre-conditions include the victim visiting an attacker's website while AgentAPI runs locally; impact includes unauthorized access to message history containing credentials, file contents, and proprietary code.