{"id":"CVE-2026-61782","published":"2026-09-24T18:17:16.333","lastModified":"2026-09-29T04:17:57.130","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.","cvssScore":7.5,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","cwes":["CWE-200"],"vendors":[],"products":[],"references":[{"url":"https://github.com/web-infra-dev/rsdoctor/security/advisories/GHSA-jmg2-rcxh-w8q3","tags":[]},{"url":"https://github.com/web-infra-dev/rsdoctor/security/advisories/GHSA-jmg2-rcxh-w8q3","tags":[]}],"exploitRefs":[{"url":"https://github.com/web-infra-dev/rsdoctor/security/advisories/GHSA-jmg2-rcxh-w8q3","tags":[]},{"url":"https://github.com/web-infra-dev/rsdoctor/security/advisories/GHSA-jmg2-rcxh-w8q3","tags":[]}],"hasPoc":true,"ai":{"summary":"Rsdoctor's default report server binds to all interfaces and exposes sensitive build data via an unauthenticated API endpoint with wildcard CORS, allowing remote attackers to retrieve complete source code and build metadata without any authentication or authorization.","exploitability":"Very easy to exploit with no prerequisites - attackers need only send a single POST request to the exposed endpoint to access all compiled JavaScript modules, build configurations, and sensitive metadata.","blast_radius":"High impact across multiple development environments as the server runs by default in non-CI settings, potentially exposing source code of entire projects to remote attackers.","remediation":"Upgrade to version 1.5.16 or later which patches the unauthenticated API endpoint and restrictive CORS policy.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["information-disclosure","web","build-tools","unauthenticated-access"],"model":"garnet-coder","analyzedAt":"2026-10-18T10:34:29.767Z"}}