{"answers":{"affected":"2 open source packages ship an affected version, including @feathersjs/mongodb. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-29793 in the wild and no public exploit code.","fix":"Upgrade @feathersjs/mongodb to 5.0.42 or later.","what":"CVE-2026-29793 is a critical SQL injection vulnerability in @feathersjs mongodb, published on 10 Mar 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-29793 and fix it if it is affected.\n\nWhat it is: CVE-2026-29793 is a critical SQL injection vulnerability in @feathersjs mongodb, published on 10 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-29793 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @feathersjs/mongodb (npm): affected from 5.0.0; fixed in 5.0.42\n- @feathersjs/mongodb (npm): affected from 5.0.0; fixed in 5.0.42\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-29793/ (Markdown: https://insights.sbomify.com/CVE-2026-29793/index.md)","id":"CVE-2026-29793","markdown":"https://insights.sbomify.com/CVE-2026-29793/index.md","name":"CVE-2026-29793","record":{"aliases":["GHSA-p9xr-7p9p-gpqx"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"FeathersJS MongoDB adapter","requires_auth":"none","summary":"Attackers can inject NoSQL operators via WebSocket id parameters to bypass filters and access or modify arbitrary database records.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"feathers","vendor":"feathersjs"}],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-943","name":"Improper Neutralization of Special Elements in Data Query Logic"}],"description":"Feathersjs is a framework for creating web APIs and real-time applications with TypeScript or JavaScript.  From 5.0.0 to before 5.0.42, Socket.IO clients can send arbitrary JavaScript objects as the id argument to any service method (get, patch, update, remove). The transport layer performs no type checking on this argument. When the service uses the MongoDB adapter, these objects pass through getObjectId() and land directly in the MongoDB query as operators. Sending {$ne: null} as the id matches every document in the collection. This vulnerability is fixed in 5.0.42.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"NoSQL Injection via WebSocket id Parameter in MongoDB Adapter","id":"CVE-2026-29793","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"sql_injection","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"Vikunja has Rate-Limit Bypass for Unauthenticated Users via Spoofed Headers","id":"CVE-2026-29794"},"packages":[{"ecosystem":"npm","fixed":["5.0.42"],"introduced":["5.0.0"],"last_affected":[],"package":"@feathersjs/mongodb","purl":null,"source":"GHSA-p9xr-7p9p-gpqx"},{"ecosystem":"npm","fixed":["5.0.42"],"introduced":["5.0.0"],"last_affected":[],"package":"@feathersjs/mongodb","purl":"pkg:npm/%40feathersjs/mongodb","source":"GHSA-p9xr-7p9p-gpqx"}],"prev":{"headline":"Feathersjs has an OAuth Callback Account Takeover","id":"CVE-2026-29792"},"products":["mongodb"],"published":"2026-03-10","related":[{"cvss_score":9.3,"headline":"Feathersjs has an OAuth Callback Account Takeover","id":"CVE-2026-29792","kev_date_added":null,"published":"2026-03-10"},{"cvss_score":8.2,"headline":"Feathers exposes internal headers via unencrypted session cookie","id":"CVE-2026-27193","kev_date_added":null,"published":"2026-02-21"},{"cvss_score":7.6,"headline":"Feathers has an origin validation bypass via prefix matching","id":"CVE-2026-27192","kev_date_added":null,"published":"2026-02-21"},{"cvss_score":7.5,"headline":"feathersjs socket handler allows abusing implicit toString","id":"CVE-2023-37899","kev_date_added":null,"published":"2023-07-19"},{"cvss_score":7.4,"headline":"Feathers: Open Redirect in OAuth callback enables account takeover","id":"CVE-2026-27191","kev_date_added":null,"published":"2026-02-21"}],"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-03-11","vendors":["@feathersjs"]},"summary":"Attackers can inject NoSQL operators via WebSocket id parameters to bypass filters and access or modify arbitrary database records.","url":"https://insights.sbomify.com/CVE-2026-29793/"}