CVE-2025-59956
Beskrivelse
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.
Beskrivelsen gjengis slik kilden har publisert den, på engelsk.
Nøkkelfakta
- Publisert
- 2025-09-30
- Sist endret
- 2026-06-17
- Tildelt av
- security-advisories@github.com
- CVSS-vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N- Scoret av
- security-advisories@github.com
- Sannsynlighet for utnyttelse
-
0.4 %
høyere enn 33 %
av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15 - Rettelse finnes
- Ja, se referansene
Berørte produkter
| Leverandør | Produkt | Versjoner | Status |
|---|---|---|---|
| Coder | Agentapi | < 0.4.0 | Berørt |
| github.com/coder | agentapi (Go) | < 0.4.0 | Berørt |
Svakhetstype
-
CWE-290: Authentication Bypass by Spoofing
This attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks.
-
CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action
The product performs reverse DNS resolution on an IP address to obtain the hostname and make a security decision, but it does not properly ensure that the IP address is truly associated with the hostname.
Angrepsteknikker
Utledet gjennom svakhetstypen: CVE til CWE til CAPEC til ATT&CK. Dette viser hvilke teknikker svakhetsklassen historisk brukes til. Det er ikke en påstand om at nettopp denne sårbarheten er utnyttet slik.
- T1036.001: Invalid Code Signature
- T1134: Access Token Manipulation
- T1134.001: Token Impersonation/Theft
- T1528: Steal Application Access Token
- T1539: Steal Web Session Cookie
- T1550.004: Web Session Cookie
- T1553.002: Code Signing
- T1557: Adversary-in-the-Middle
- T1584.002: DNS Server
Referanser
- https://github.blog/security/application-security/localhost-dangers-cors-and-dns-rebinding
- https://github.com/coder/agentapi/commit/5c425c62447b8a9eac19e9fc5a2eae7f0803f149
- https://github.com/coder/agentapi/pull/49
- https://github.com/coder/agentapi/releases/tag/v0.4.0
- https://github.com/coder/agentapi/security/advisories/GHSA-w64r-2g3w-w8w4
- https://mcpsec.dev/advisories/2025-09-19-coder-chat-exfiltration
- https://mcpsec.dev/advisories/2025-09-19-coder-chat-exfiltration/
Relatert hos Berigo
Artikler
-
Falsk innloggingsside sender engangskoden videre til Microsoft
Samme produkt
2026-08-18
ANY.RUN beskriver phishingverktøyet Mirage2FA, som plasserer seg mellom offeret og Microsoft 365. Verktøyet henter passord, engangskode og den ferdig…
-
Gamle iPhone-modeller fikk 122 sikkerhetsfeil rettet i én oppdatering
Samme produkt
2026-08-18
Apple slapp fire sikkerhetsoppdateringer 17. august 2026. Oppdateringen for den eldre systemlinjen gjelder bare fire maskinvaremodeller, og retter 12…
Berører dette dere?
En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.