Skip to main content
VulnerabilityPublished

@typespec/spector · TypeSpec: Unauthenticated Remote Shutdown of Spector Mock Server via POST /.admin/stop

Affects @typespec/spectorSource GCVE Database

0

CVSS 7.5 High : upgrade to 0.1.0-alpha.27 soon.

Data as of 7 Sep 2026, 10:52 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.1.0-alpha.27
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What to do

Upgrade @typespec/spector to 0.1.0-alpha.27.

Affected software

ProductAffectedFixed in
npm@typespec/spectorAffected
  • <0.1.0-alpha.27
Fixed in
  • 0.1.0-alpha.27

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available for this vulnerability. Users should update to a fixed version of @typespec/spector when released. Until patched, operators must restrict network access to the server port using external firewall rules or network segmentation to prevent untrusted clients from reaching the /.admin/stop endpoint. The vendor advisory or repository should be monitored for official fixes and updates.

Description

The @typespec/spector package version 0.1.0-alpha.27 contains a high-severity vulnerability (CVSS 7.5) where an unauthenticated HTTP POST request to the /.admin/stop endpoint can remotely shut down the mock server. The server binds to all network interfaces (0.0.0.0) by default, exposing this endpoint to any reachable client without authentication or IP restrictions. This allows an attacker to cause a complete denial of service by terminating the server process with a single request.

References

Community reviews

Loading reviews…