DNS Rebinding Affecting github.com/coder/agentapi/cmd/server package, versions <0.4.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.04% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMCODERAGENTAPICMDSERVER-13147719
  • published30 Sept 2025
  • disclosed29 Sept 2025
  • creditEvan Harris

Introduced: 29 Sep 2025

NewCVE-2025-59956  (opens in a new tab)
CWE-350  (opens in a new tab)

How to fix?

Upgrade github.com/coder/agentapi/cmd/server to version 0.4.0 or higher.

Overview

Affected versions of this package are vulnerable to DNS Rebinding when hosted over plain HTTP on localhost. An attacker can access sensitive user data and chat history via the /messages endpoint that may include secret keys, file system contents, and intellectual property by enticing the user to navigate to a malicious website.

CVSS Base Scores

version 4.0
version 3.1