{"answers":{"affected":"2 open source packages ship an affected version, including budibase. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27702 exists.","fix":"Upgrade budibase to 3.30.4 or later.","what":"CVE-2026-27702 is a critical code injection vulnerability in budibase, published on 25 Feb 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-27702 and fix it if it is affected.\n\nWhat it is: CVE-2026-27702 is a critical code injection vulnerability in budibase, published on 25 Feb 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27702 exists.\n\nAffected packages and fixed versions:\n- budibase (npm): affected all versions; fixed in 3.30.4\n- budibase (npm): affected all versions; fixed in 3.30.4\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-27702/ (Markdown: https://insights.sbomify.com/CVE-2026-27702/index.md)","id":"CVE-2026-27702","markdown":"https://insights.sbomify.com/CVE-2026-27702/index.md","name":"CVE-2026-27702","record":{"aliases":["GHSA-rvhr-26g4-p2r8"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Budibase low-code platform","requires_auth":"low_privilege","summary":"Authenticated users can execute arbitrary JavaScript on Budibase Cloud servers via unsafe eval, leading to code execution and data theft.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"budibase","vendor":"budibase"}],"cvss":{"score":9.9,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-95","name":"Improper Neutralization of Directives in Dynamically Evaluated Code"},{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-20","name":"Improper Input Validation"}],"description":"Budibase is a low code platform for creating internal tools, workflows, and admin panels. Prior to version 3.30.4, an unsafe `eval()` vulnerability in Budibase's view filtering implementation allows any authenticated user (including free tier accounts) to execute arbitrary JavaScript code on the server. This vulnerability ONLY affects Budibase Cloud (SaaS) - self-hosted deployments use native CouchDB views and are not vulnerable. The vulnerability exists in `packages/server/src/db/inMemoryView.ts` where user-controlled view map functions are directly evaluated without sanitization. The primary impact comes from what lives inside the pod's environment: the `app-service` pod runs with secrets baked into its environment variables, including `INTERNAL_API_KEY`, `JWT_SECRET`, CouchDB admin credentials, AWS keys, and more. Using the extracted CouchDB credentials, we verified direct database access, enumerated all tenant databases, and confirmed that user records (email addresses) are readable. Version 3.30.4 contains a patch.","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":"Budibase Vulnerable to Remote Code Execution via Unsafe eval() in View Filter Map Function (Budibase Cloud)","id":"CVE-2026-27702","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"RIOT has an Out-of-Bounds Write in nanoCoAP Handler","id":"CVE-2026-27703"},"packages":[{"ecosystem":"npm","fixed":["3.30.4"],"introduced":["0"],"last_affected":[],"package":"budibase","purl":null,"source":"GHSA-rvhr-26g4-p2r8"},{"ecosystem":"npm","fixed":["3.30.4"],"introduced":["0"],"last_affected":[],"package":"budibase","purl":"pkg:npm/budibase","source":"GHSA-rvhr-26g4-p2r8"}],"prev":{"headline":"LiveCodes vulnerable to JavaScript Injection via untrusted PR title in i18n-update-pull workflow","id":"CVE-2026-27701"},"products":["budibase"],"published":"2026-02-25","related":[{"cvss_score":10,"headline":"Budibase: Anonymous NoSQL operator injection via published-app query templates","id":"CVE-2026-54350","kev_date_added":null,"published":"2026-06-26"},{"cvss_score":9.6,"headline":"Budibase: Arbitrary file read by workspace-builder via PWA-zip symlink upload","id":"CVE-2026-54352","kev_date_added":null,"published":"2026-06-26"},{"cvss_score":9.6,"headline":"Budibase: Server-Side Request Forgery via REST Connector with Empty Default Blacklist","id":"CVE-2026-31818","kev_date_added":null,"published":"2026-04-03"},{"cvss_score":9.6,"headline":"Budibase PWA ZIP Upload Path Traversal Allows Reading Arbitrary Server Files Including All Environment Secrets","id":"CVE-2026-30240","kev_date_added":null,"published":"2026-03-09"},{"cvss_score":9.1,"headline":"Budibase: Authentication Bypass via Unanchored Regex in Public Endpoint Matcher — Unauthenticated Access to Protected Endpoints","id":"CVE-2026-41428","kev_date_added":null,"published":"2026-04-24"},{"cvss_score":9.1,"headline":"Budibase: Unauthenticated Remote Code Execution via Webhook Trigger and Bash Automation Step","id":"CVE-2026-35216","kev_date_added":null,"published":"2026-04-03"}],"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":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-25","vendors":["Budibase"]},"summary":"Authenticated users can execute arbitrary JavaScript on Budibase Cloud servers via unsafe eval, leading to code execution and data theft.","url":"https://insights.sbomify.com/CVE-2026-27702/"}