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

CVE-2026-56678: 9router: Kiro region injection allows authenticated SSRF with Authorization header forwarding

September 23, 2026

The Kiro API-key validation endpoint builds an upstream URL using a user-controlled region value. By supplying a crafted region such as kiro-canary.local:8443#, an authenticated attacker can cause 9router to send the Kiro validation request to an attacker-controlled host under the constructed codewhisperer.<region> hostname. The request forwards the submitted Kiro API key as an Authorization: Bearer header.

References

  • github.com/advisories/GHSA-6mwv-4mrm-5p3m
  • github.com/decolua/9router/commit/126aa244c5b51b74ab8c7594e3418fcf4437bf6f
  • github.com/decolua/9router/releases/tag/v0.5.6
  • github.com/decolua/9router/security/advisories/GHSA-6mwv-4mrm-5p3m
  • nvd.nist.gov/vuln/detail/CVE-2026-56678

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.5.6

Fixed versions

  • 0.5.6

Solution

Upgrade to version 0.5.6 or above.

Impact 6.4 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation
  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 13 Oct 2026 00:16:20 +0000.