CVE-2026-42239 Budibase auth session cookies are set with httpOnly:false — any XSS can lead to full account takeover

High 8.1 Published Updated

Attackers can steal session cookies via XSS due to missing httpOnly flag, leading to full account takeover in Budibase.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-42239?

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.

Official 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.

Weakness: CWE-1004

Which versions are affected by CVE-2026-42239?

2 open source packages ship an affected version, including @budibase/backend-core. It affects 1 product.

PackageAffectedFixed in
@budibase/backend-core npmAll versions3.35.10
@budibase/backend-core npmAll versions3.35.10

Products include Budibase Budibase.

How do I fix CVE-2026-42239?

Upgrade @budibase/backend-core to 3.35.10 or later.

Is CVE-2026-42239 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42239 exists.

Sources

Also known as GHSA-4f9j-vr4p-642r.

Is CVE-2026-42239 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free