# CVE-2026-61782: @rsdoctor/rspack-plugin has Unauthenticated HTTP API that Exposes Project Source Code and Build Metadata

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-24T17:32:39.856Z
- Modified: 2026-09-30T19:57:08.043Z
- Also known as: GHSA-jmg2-rcxh-w8q3
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- web-infra-dev rsdoctor: < 1.5.16
- @rsdoctor/rspack-plugin (npm): before 1.5.16

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/web-infra-dev/rsdoctor/security/advisories/GHSA-jmg2-rcxh-w8q3> (exploit, 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)

## Sources

- CVE List: [CVE-2026-61782](https://www.cve.org/CVERecord?id=CVE-2026-61782), CVE Terms of Use, modified 2026-09-29
- GitHub Advisory Database: [GHSA-jmg2-rcxh-w8q3](https://github.com/advisories/GHSA-jmg2-rcxh-w8q3), CC-BY-4.0, modified 2026-09-24
- NVD: [CVE-2026-61782](https://nvd.nist.gov/vuln/detail/CVE-2026-61782), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-61782 · Whole record: https://cve.day/CVE-2026-61782.json · Rebuilt by cve.day 2026-11-25T22:59:40.882Z
