CVE-2026-61782
HIGH 7.5CVSS 3.1@rsdoctor/rspack-plugin has Unauthenticated HTTP API that Exposes Project Source Code and Build Metadata
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.
- Published
- 24 Sep 2026
- Last modified
- 30 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-200
- Also known as
- GHSA-jmg2-rcxh-w8q3
- Sources
- NVDJSONOSV GHSA-jmg2-rcxh-w8q3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @rsdoctor/rspack-plugin | < 1.5.16 | 1.5.16 |
References
- https://github.com/web-infra-dev/rsdoctor/security/advisories/GHSA-jmg2-rcxh-w8q3 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-61782 · ADVISORY
- https://github.com/web-infra-dev/rsdoctor/pull/1744 · WEB
- https://github.com/web-infra-dev/rsdoctor/pull/1758 · WEB
- https://github.com/web-infra-dev/rsdoctor/commit/602eb306a49b6d19c4c1ea9d8ee0f8caab9e208f · WEB
- https://github.com/web-infra-dev/rsdoctor/commit/e9aaef21f85becfe43a46f716509f41ea5edeb40 · WEB
- https://github.com/web-infra-dev/rsdoctor · PACKAGE
History
- 25 Nov 2026 21:21 UTC · NVD: first stored (published 24 Sep 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Sep 2026)