{"answers":{"affected":"2 open source packages ship an affected version, including @budibase/backend-core. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42239 exists.","fix":"Upgrade @budibase/backend-core to 3.35.10 or later.","what":"CVE-2026-42239 is a high-severity vulnerability in budibase, published on 7 May 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-42239 and fix it if it is affected.\n\nWhat it is: CVE-2026-42239 is a high-severity vulnerability in budibase, published on 7 May 2026. An attacker needs administrator access to exploit it, 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-42239 exists.\n\nAffected packages and fixed versions:\n- @budibase/backend-core (npm): affected all versions; fixed in 3.35.10\n- @budibase/backend-core (npm): affected all versions; fixed in 3.35.10\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-42239/ (Markdown: https://insights.sbomify.com/CVE-2026-42239/index.md)","id":"CVE-2026-42239","markdown":"https://insights.sbomify.com/CVE-2026-42239/index.md","name":"CVE-2026-42239","record":{"aliases":["GHSA-4f9j-vr4p-642r"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["account_takeover","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Budibase low-code platform","requires_auth":"high_privilege","summary":"Attackers can steal session cookies via XSS due to missing httpOnly flag, leading to full account takeover in Budibase.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"budibase","vendor":"budibase"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-1004","name":"Sensitive Cookie Without 'HttpOnly' Flag"}],"description":"Budibase is an open-source low-code platform. Prior to version 3.35.10, the budibase:auth cookie containing the JWT session token is set with httpOnly: false at packages/backend-core/src/utils/utils.ts:218. JavaScript can read this cookie via document.cookie. This means every XSS becomes a full account takeover — the attacker steals the JWT and has persistent access to the victim's account. The cookie also lacks secure: true (sent over plaintext HTTP) and sameSite attribute. This issue has been patched in version 3.35.10.","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 auth session cookies are set with httpOnly:false — any XSS can lead to full account takeover","id":"CVE-2026-42239","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"ParquetSharp: Possible Stack Overflow When Reading a ParquetFile with Large Decimal Type Width","id":"CVE-2026-42241"},"packages":[{"ecosystem":"npm","fixed":["3.35.10"],"introduced":["0"],"last_affected":[],"package":"@budibase/backend-core","purl":null,"source":"GHSA-4f9j-vr4p-642r"},{"ecosystem":"npm","fixed":["3.35.10"],"introduced":["0"],"last_affected":[],"package":"@budibase/backend-core","purl":"pkg:npm/%40budibase/backend-core","source":"GHSA-4f9j-vr4p-642r"}],"prev":{"headline":"Unauthenticated Remote Code Execution via Backup Restore in nginx-ui","id":"CVE-2026-42238"},"products":["budibase"],"published":"2026-05-07","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.9,"headline":"Budibase Vulnerable to Remote Code Execution via Unsafe eval() in View Filter Map Function (Budibase Cloud)","id":"CVE-2026-27702","kev_date_added":null,"published":"2026-02-25"},{"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-05-07","vendors":["Budibase"]},"summary":"Attackers can steal session cookies via XSS due to missing httpOnly flag, leading to full account takeover in Budibase.","url":"https://insights.sbomify.com/CVE-2026-42239/"}