{"answers":{"affected":"2 open source packages ship an affected version, including @budibase/backend-core.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-48147 exists.","fix":"Upgrade @budibase/backend-core to 3.35.4 or later.","what":"CVE-2026-48147 is a medium-severity vulnerability in budibase, published on 27 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-48147 and fix it if it is affected.\n\nWhat it is: CVE-2026-48147 is a medium-severity vulnerability in budibase, published on 27 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-48147 exists.\n\nAffected packages and fixed versions:\n- @budibase/backend-core (npm): affected all versions; fixed in 3.35.4\n- @budibase/backend-core (npm): affected all versions; fixed in 3.35.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-48147/ (Markdown: https://insights.sbomify.com/CVE-2026-48147/index.md)","id":"CVE-2026-48147","markdown":"https://insights.sbomify.com/CVE-2026-48147/index.md","name":"CVE-2026-48147","record":{"aliases":["GHSA-wxq7-x3qp-vcr8"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["privilege_escalation","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Budibase low-code platform","requires_auth":"none","summary":"An unauthenticated attacker can bypass CSRF protection in Budibase Worker by injecting route patterns into the query string, allowing unauthorized state-changing actions like admin invites.","user_interaction":"required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"},{"id":"CWE-185","name":"Incorrect Regular Expression"}],"description":"Budibase is an open-source low-code platform. Prior to 3.35.4, the buildMatcherRegex() / matches() functions in packages/backend-core/src/middleware/matchers.ts route patterns are compiled into unanchored regular expressions and tested against ctx.request.url, which includes the full query string. The CSRF middleware in the Budibase Worker uses this matching system to decide whether to skip CSRF token validation. An unauthenticated attacker can forge state-changing cross-origin requests against any Worker API endpoint by injecting a public route pattern into the query string, causing the CSRF middleware to skip token validation entirely. This allows actions such as sending admin invites, modifying global configuration, and managing users without a valid CSRF token. This vulnerability is fixed in 3.35.4.","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: Unanchored Regex in `matchers.ts` Allows CSRF Bypass via Query String Injection in Budibase Worker","id":"CVE-2026-48147","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"csrf","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"Budibase: Unvalidated VectorDB Host Parameter Enables SSRF","id":"CVE-2026-48148"},"packages":[{"ecosystem":"npm","fixed":["3.35.4"],"introduced":["0"],"last_affected":[],"package":"@budibase/backend-core","purl":null,"source":"GHSA-wxq7-x3qp-vcr8"},{"ecosystem":"npm","fixed":["3.35.4"],"introduced":["0"],"last_affected":[],"package":"@budibase/backend-core","purl":"pkg:npm/%40budibase/backend-core","source":"GHSA-wxq7-x3qp-vcr8"}],"prev":{"headline":"Budibase: SSRF via OAuth2 Config Validation — Missing fetchWithBlacklist Protection","id":"CVE-2026-48146"},"products":["budibase"],"published":"2026-05-27","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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-27","vendors":["Budibase"]},"summary":"An unauthenticated attacker can bypass CSRF protection in Budibase Worker by injecting route patterns into the query string, allowing unauthorized state-changing actions like admin invites.","url":"https://insights.sbomify.com/CVE-2026-48147/"}