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

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-24T16:18:52.000Z
- Modified: 2026-06-17T10:47:33.977Z
- Also known as: GHSA-4f9j-vr4p-642r
- Weaknesses: CWE-1004
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- Budibase budibase: < 3.35.10; before 3.35.10
- @budibase/backend-core (npm): before 3.35.10

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N`

## References

- <https://github.com/Budibase/budibase/security/advisories/GHSA-4f9j-vr4p-642r> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/Budibase/budibase/releases/tag/3.35.10> (patch, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42239> (advisory)
- <https://github.com/Budibase/budibase> (package)

## Sources

- CVE List: [CVE-2026-42239](https://www.cve.org/CVERecord?id=CVE-2026-42239), CVE Terms of Use, modified 2026-05-07
- GitHub Advisory Database: [GHSA-4f9j-vr4p-642r](https://github.com/advisories/GHSA-4f9j-vr4p-642r), CC-BY-4.0, modified 2026-05-11
- NVD: [CVE-2026-42239](https://nvd.nist.gov/vuln/detail/CVE-2026-42239), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-42239 · Whole record: https://cve.day/CVE-2026-42239.json · Rebuilt by cve.day 2026-11-25T22:59:20.917Z
