{"answers":{"affected":"2 open source packages ship an affected version, including @rsdoctor/rspack-plugin.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-61782 exists.","fix":"Upgrade @rsdoctor/rspack-plugin to 1.5.16 or later.","what":"CVE-2026-61782 is a high-severity vulnerability in web-infra-dev rsdoctor, published on 24 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-61782 and fix it if it is affected.\n\nWhat it is: CVE-2026-61782 is a high-severity vulnerability in web-infra-dev rsdoctor, published on 24 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-61782 exists.\n\nAffected packages and fixed versions:\n- @rsdoctor/rspack-plugin (npm): affected all versions; fixed in 1.5.16\n- @rsdoctor/rspack-plugin (npm): affected all versions; fixed in 1.5.16\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-61782/ (Markdown: https://insights.sbomify.com/CVE-2026-61782/index.md)","id":"CVE-2026-61782","markdown":"https://insights.sbomify.com/CVE-2026-61782/index.md","name":"CVE-2026-61782","record":{"aliases":["GHSA-jmg2-rcxh-w8q3"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Rspack build analyzer","requires_auth":"none","summary":"Remote attackers can access unauthenticated HTTP APIs to steal source code and build metadata from Rsdoctor instances running on all network interfaces.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"@rsdoctor/rspack-plugin has Unauthenticated HTTP API that Exposes Project Source Code and Build Metadata","id":"CVE-2026-61782","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"Wazuh: RBAC permission-effect check in mask_sensitive_config allows low-privilege users to read cluster.key","id":"CVE-2026-61783"},"packages":[{"ecosystem":"npm","fixed":["1.5.16"],"introduced":["0"],"last_affected":[],"package":"@rsdoctor/rspack-plugin","purl":null,"source":"GHSA-jmg2-rcxh-w8q3"},{"ecosystem":"npm","fixed":["1.5.16"],"introduced":["0"],"last_affected":[],"package":"@rsdoctor/rspack-plugin","purl":"pkg:npm/%40rsdoctor/rspack-plugin","source":"GHSA-jmg2-rcxh-w8q3"}],"prev":{"headline":"pg_partman has privilege escalation through SQL injection in create_partition_time()","id":"CVE-2026-61781"},"products":["rsdoctor"],"published":"2026-09-24","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-29","vendors":["web-infra-dev"]},"summary":"Remote attackers can access unauthenticated HTTP APIs to steal source code and build metadata from Rsdoctor instances running on all network interfaces.","url":"https://insights.sbomify.com/CVE-2026-61782/"}