Back to list

TypeSpec: Unauthenticated Remote Shutdown of Spector Mock Server via POST /.admin/stop — GHSA-7Q9C-HPX7-9CWM

GitHub · GitHub · GHSA-7Q9C-HPX7-9CWM

ID
GHSA-7Q9C-HPX7-9CWM
Date
Source
GitHub
Vendor
GitHub
Threat
high
CVSS
7.5

Summary

### Summary `@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…

Timeline

Published by source
2026-09-04

Risk context

  • Reported severity or threat level: high.
  • Reported CVSS score: 7.5 out of 10.
  • Review exposure for the affected product or family: npm: @typespec/spector.

Product

npm: @typespec/spector

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Evidence and provenance

Canonical advisory ID
GHSA-7Q9C-HPX7-9CWM
Source
GitHub
Vendor
GitHub
Published by source
2026-09-04
Last source activity
2026-09-04
Curated by
hlukh.ch

Related advisories and connections

These advisories are connected by shared CVE, product, vendor, source, or time signals.