CVE-2026-61782 Details
Description
Rsdoctor is a build analyzer tailored for projects built with Rspack. Prior to version 1.5.16, the default Rsdoctor report HTTP server started by `@rsdoctor/rspack-plugin` binds to all network interfaces (`0.0.0.0`) and serves a `POST /api/data/key` endpoint with no authentication and wildcard CORS (`Access-Control-Allow-Origin: *`). Any network-adjacent or remote attacker can send a single unauthenticated request to retrieve the full source code of all compiled JavaScript modules (`moduleCodeMap`), serialized build configuration (`configs`), error details, and other sensitive build metadata. This server is enabled by default in non-CI environments, requiring no special configuration from the victim developer. Version 1.5.16 patches the issue.
A vulnerability in the Rsdoctor Rspack plugin, affecting versions through 1.5.15, allows unauthenticated access to a report server that binds to all network interfaces. This server exposes a POST endpoint that can be used to retrieve the full source code of compiled JavaScript modules, serialized build configurations, error details, and other sensitive build metadata. The vulnerability is present by default in non-CI environments, requiring no special configuration from developers.
Users can upgrade to Rsdoctor Rspack plugin version 1.5.16 or later, which patches the vulnerability by changing the report server's default settings to bind only to localhost, restrict CORS to local origins, and require authentication for WebSocket connections. If an immediate upgrade is not possible, the report server can be disabled in the plugin configuration.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 24, 2026CISA-ADP
Assessed Sep 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/web-infra-dev/rsdoctor/security/advisories/GHSA-jmg2-rcxh-w8q3 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/web-infra-dev/rsdoctor/security/advisories/GHSA-jmg2-rcxh-w8q3 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Rsdoctor | <= 1.5.15 (semver) |
CPE
Remediation
| |
| Rsdoctor Rspack Plugin | <= 1.5.15 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 29, 2026 | CVE Modified | CISA-ADP |
| Sep 24, 2026 | New CVE Received | [email protected] |
Volerion