Home / livebook-dev / livebook / CVE-2026-66885
CVE-2026-66885: is it exploited, and which versions of livebook-dev livebook are affected and fixed?
CVE-2026-66885 is a cross-site request forgery (CSRF) vulnerability in livebook-dev livebook. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: livebook from 0.15.0 before 0.18.7, livebook from 0.19.0 before 0.19.9, livebook from 0.15.0-cuda12 before 0.18.7-cuda12 and 1 more (CVE record by EEF). Fixed in 0.18.7, 0.19.9, 0.18.7-cuda12 and 0.19.9-cuda12 (CVE record by EEF). Severity: Medium (6.8, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record December 2, 2026, 12:47 UTC and NVD December 2, 2026, 14:13 UTC.
What is CVE-2026-66885?
Livebook Teams identity callback lacks state binding, allowing login CSRF
Cross-Site Request Forgery (CSRF) vulnerability in livebook-dev livebook allows an attacker to authenticate a victim's browser session under the attacker's own Livebook Teams identity. When Livebook is configured to use Livebook Teams for identity, Livebook.ZTA.LivebookTeams.handle_request/4 in lib/livebook/zta/livebook_teams.ex handles the OAuth-style callback carrying a teams_identity marker and a code parameter. The clause exchanges that code for an access token and writes the token into the browser session without verifying any value that ties the callback to the browser session that started the login. No state or nonce is generated when the flow is initiated: Livebook.Teams.Requests.create_auth_request/1 in lib/livebook/teams/requests.ex sends an empty request body, so no per-attempt value is ever registered, and the callback clause has nothing to compare against. An attacker who holds membership in the same Livebook Teams organisation as the target instance can therefore begin the login flow themselves, retain the resulting authorization code without redeeming it, and induce a victim to open a crafted URL carrying that code. The victim's browser completes the exchange and the resulting session is bound to the attacker's identity rather than the victim's. The victim is not required to hold any particular privilege, and no credential belonging to the victim is involved. The vulnerability does not allow the attacker to authenticate as the victim. The consequence is that a user believes they are working in their own authenticated session while they are in fact operating as another identity. Work performed in that session is attributed to the attacker's account, and secrets, uploaded data, or notebook results the victim produces are exposed to the attacker rather than kept in the victim's own account. The authorization code must be redeemed within a short window after the login flow begins, which constrains the timing of the attack but not its feasibility. This issue affects livebook: from 0.15.0 before 0.18.7 and from 0.19.0 before 0.19.9.
From the CVE record by EEF, last updated December 2, 2026, 12:42 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| livebook-dev | livebook | from 0.15.0 before 0.18.7 from 0.19.0 before 0.19.9 | 0.18.7, 0.19.9 |
| livebook-dev | livebook livebook-dev/livebook | from 0.15.0 before 0.18.7 from 0.15.0-cuda12 before 0.18.7-cuda12 from 0.19.0 before 0.19.9 from 0.19.0-cuda12 before 0.19.9-cuda12 | 0.18.7, 0.18.7-cuda12, 0.19.9, 0.19.9-cuda12 |
| livebook-dev | livebook livebook-dev/livebook | not stated |
As the CVE record by EEF states it, last updated December 2, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| livebook | livebook | from 0.15.0 before 0.18.7 | application |
| livebook | livebook | from 0.19.0 before 0.19.9 | application |
NVD analysis (status Modified), last modified December 2, 2026, 13:17 UTC.
How severe is CVE-2026-66885?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.8 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | EEF |
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-66885 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, August 6, 2026)
- EPSS
- 0.21% probability of exploitation activity in the next 30 days, percentile 11.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-352 Cross-Site Request Forgery
Where are the vendor advisories and references?
- Livebook Teams Identity OAuth-style callback has no state/nonce binding, enabling login CSRF vendor-advisory, related
- EEF CNA record for CVE-2026-66885 related
- OSV record EEF-CVE-2026-66885 related
- Introducing commit 4380a41 in livebook-dev/livebook related
- Fix commit 21c1616 in livebook-dev/livebook patch
- Fix commit 33a052d in livebook-dev/livebook patch
- Fix commit 6ed2e21 in livebook-dev/livebook patch
Who found and reported it?
- Nguyễn Công Tú (finder)
- Jonatan Kłosko (remediation developer)
- Hugo Baraúna (remediation reviewer)
- José Valim (remediation reviewer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- July 28, 2026
- Published
- August 5, 2026, 19:44 UTC
- CVE record updated
- December 2, 2026, 12:42 UTC by EEF
- NVD
- Modified, last modified December 2, 2026, 13:17 UTC
- Last checked
- CVE list December 2, 2026, 12:47 UTC; NVD December 2, 2026, 14:13 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect livebook?
- Aug 5, 2026CVE-2026-66298 livebook-dev livebook: origin not validated
- Aug 5, 2026CVE-2026-66297 livebook-dev livebook: OS command injection
- Aug 5, 2026CVE-2026-66881 livebook-dev livebook: path traversal
- Aug 5, 2026CVE-2026-68746 livebook-dev livebook: not Failing Securely
- Jun 22, 2023CVE-2023-35174 livebook-dev livebook: OS command injection
Questions about CVE-2026-66885
Is CVE-2026-66885 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.21% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of livebook-dev livebook are affected by CVE-2026-66885?
livebook from 0.15.0 before 0.18.7, livebook from 0.19.0 before 0.19.9, livebook from 0.15.0-cuda12 before 0.18.7-cuda12 and livebook from 0.19.0-cuda12 before 0.19.9-cuda12, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-66885?
0.18.7, 0.19.9, 0.18.7-cuda12 and 0.19.9-cuda12, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-66885?
Medium (6.8, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-66885?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.