Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @typespec/spector
  4. ›
  5. GHSA-7q9c-hpx7-9cwm

GHSA-7q9c-hpx7-9cwm: TypeSpec: Unauthenticated Remote Shutdown of Spector Mock Server via POST /.admin/stop

September 4, 2026

@typespec/spector registers a POST /.admin/stop HTTP route with no authentication, authorization token, Origin check, or IP-source restriction. Any network-reachable client can send a single unauthenticated POST request to terminate the mock server process. Because the server binds to 0.0.0.0 by default (all interfaces), this endpoint is exposed to any host that can reach the server’s port—not just localhost—making a complete denial-of-service trivially achievable with one HTTP request. Severity is High (CVSS 7.5).

References

  • github.com/advisories/GHSA-7q9c-hpx7-9cwm
  • github.com/microsoft/typespec/commit/30d6f6598dd796e2d6aea038139d29b91e6a2da7
  • github.com/microsoft/typespec/commit/39f8f0230bb59b17464d8173b6bff4ddee8082a1
  • github.com/microsoft/typespec/pull/11274
  • github.com/microsoft/typespec/releases/tag/@typespec/spector@0.1.0-alpha.27
  • github.com/microsoft/typespec/security/advisories/GHSA-7q9c-hpx7-9cwm

Code Behaviors & Features

Detect and mitigate GHSA-7q9c-hpx7-9cwm 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.1.0-alpha.27

Fixed versions

  • 0.1.0-alpha.27

Solution

Upgrade to version 0.1.0-alpha.27 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-306: Missing Authentication for Critical Function

Source file

npm/@typespec/spector/GHSA-7q9c-hpx7-9cwm.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 05 Sep 2026 00:22:26 +0000.