CVE-2026-42239 is a high-severity security vulnerability in @budibase/backend-core (npm), affecting versions < 3.35.10. It is fixed in 3.35.10.
Summary 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. Given that Budibase has had XSS vulnerabilities (GHSA-gp5x-2v54-v2q5, stored XSS via unsanitized entity names, published April 2, 2026), 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. Details packages/backend-core/src/utils/utils.ts, lines 215-226: This function is called for setting the budibase:auth cookie which contains the signed JWT session token. With httpOnly: false, any JavaScript execution context (XSS, injected script, browser extension) can read the token via document.cookie. Missing flags: httpOnly: false → should be true (prevent JS access) No secure flag → cookie sent over HTTP (should be secure: true for HTTPS deployments) No sameSite → susceptible to cross-site request attachment (should be sameSite: 'lax') PoC Any XSS payload can steal the session: With httpOnly: true, this payload would get an empty string for the auth cookie. Without it, the full JWT is exfiltrated. Combined with GHSA-gp5x-2v54-v2q5 (stored XSS in entity names), an attacker could: Create an entity with a name containing <script> payload Any user who views that entity has their JWT stolen Attacker uses the JWT for persistent account access Impact Every XSS vulnerability, past, present, and future, becomes a full account takeover. The httpOnly flag is the primary defense that limits XSS impact to the current session/page. Without it, XSS escalates from "session riding" to "persistent credential theft." This affects all Budibase deployments since the cookie configuration is hardcoded. ATTACHMENTS BUDIBASE-TOP10-REPORT.md
CVE-2026-42239 has a CVSS score of 8.1 (High). The vector is network-reachable, high privileges required, and user interaction required. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment.
A fixed version is available (3.35.10). Upgrading removes the vulnerable code path.
npm
@budibase/backend-core (< 3.35.10)@budibase/backend-core → 3.35.10 (npm)Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter instead of chasing every advisory.
Kodem's runtime-powered SCA identifies whether CVE-2026-42239 is reachable in your applications. Explore open-source security for your team.
See if CVE-2026-42239 is reachable in your applications. Get a demo
Already deployed Kodem? See CVE-2026-42239 in your environment →Upgrade @budibase/backend-core to 3.35.10 or later to resolve this vulnerability.
Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.
CVE-2026-42239 is a high-severity security vulnerability in @budibase/backend-core (npm), affecting versions < 3.35.10. It is fixed in 3.35.10.
CVE-2026-42239 has a CVSS score of 8.1 (High). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
@budibase/backend-core (npm) versions < 3.35.10 is affected.
Yes. CVE-2026-42239 is fixed in 3.35.10. Upgrade to this version or later.
Whether CVE-2026-42239 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
Upgrade @budibase/backend-core to 3.35.10 or later.