high7.4
CVE-2026-56676
9router: Image prefetch DNS rebinding allows SSRF to internal services
Impact
9Router is an AI router & token saver. Prior to 0.5.2, 9router validates image URLs by resolving the host before fetching, but open-sse/translator/concerns/image.js performs the later server-side image fetch with a separate DNS resolution. An authenticated attacker with access to the LLM proxy can use a vision-capable model and an attacker-controlled DNS name that first resolves to a public IP and then rebinds to an internal address, allowing server-side requests to internal-only HTTP services. This issue is fixed in version 0.5.2.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | 9router | <= 0.4.80 | 0.5.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-cmhj-wh2f-9cgx
- https://github.com/decolua/9router/security/advisories/GHSA-cmhj-wh2f-9cgx
- https://nvd.nist.gov/vuln/detail/CVE-2026-56676
- https://github.com/decolua/9router/commit/c7d07448c58bec1200741de0b73305b860416b82
- https://github.com/decolua/9router/releases/tag/v0.5.2