Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. 9router
  4. ›
  5. CVE-2026-56676

CVE-2026-56676: 9router: Image prefetch DNS rebinding allows SSRF to internal services

September 23, 2026

9router validates image URLs by resolving the host before fetching, but the later server-side fetch performs a separate DNS resolution. An attacker-controlled DNS name can resolve to a public IP during validation and then rebind to an internal Docker/private IP during the fetch. This allows the server-side image prefetch to reach internal-only HTTP services (SSRF).

References

  • github.com/advisories/GHSA-cmhj-wh2f-9cgx
  • github.com/decolua/9router/commit/c7d07448c58bec1200741de0b73305b860416b82
  • github.com/decolua/9router/releases/tag/v0.5.2
  • github.com/decolua/9router/security/advisories/GHSA-cmhj-wh2f-9cgx
  • nvd.nist.gov/vuln/detail/CVE-2026-56676

Code Behaviors & Features

Detect and mitigate CVE-2026-56676 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.5.2

Fixed versions

  • 0.5.2

Solution

Upgrade to version 0.5.2 or above.

Impact 7.4 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

npm/9router/CVE-2026-56676.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:26 +0000.