CVE-2026-66885: Livebook Teams identity callback lacks state binding, allowing login CSRF
Noroxi assessment
Priority: Monitor (action score 27/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.24% (FIRST EPSS).
- Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. No special conditions are required; it is repeatable.
- Fixed version: livebook-dev livebook 0.18.7, 0.18.7-cuda12, 0.19.9.
Low priority for now. Upgrade to livebook-dev livebook 0.18.7, 0.18.7-cuda12, 0.19.9 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Aug 5, 2026
- Updated
- Nov 10, 2026
- EPSS
- 0.2% · 15th percentile
- CWE
- CWE-352
Report tools
Action score
27
Low priority for now.
- CVSS
- 27 / 40 · 6.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · EEF
- 6.8
- NVD has not scored this yet; the score shown is the CNA’s.
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
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| livebook | livebook | cpe:2.3:a:livebook:livebook |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- livebook livebook0.15.0 and later · before 0.18.7
- livebook livebook0.19.0 and later · before 0.19.9
Versions reported by the vendor
Affected version ranges reported by the assigning authority (EEF). Independent of NVD's CPE analysis and usually ahead of it.
livebook-dev livebook
- 0.15.0 and later · before 0.18.7affected · semver
- 0.19.0 and later · before 0.19.9affected · semver
- 0.15.0 and later · before 0.18.7affected · other
- 0.15.0-cuda12 and later · before 0.18.7-cuda12affected · other
- 0.19.0 and later · before 0.19.9affected · other
- 0.19.0-cuda12 and later · before 0.19.9-cuda12affected · other
- 4380a411920531223088267ed1c0ad21f96ef660 and lateraffected · gitfixed in 21c16168263275541a6e076d0c31852c40e09a18, 33a052daa386c4ce08a9c39a07fc90f353ff6a51, 6ed2e213e9d5a19a70d7fcad5a8d616622cd2084
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Hex | livebook | from 0.15.0 · before 0.18.7 | 0.18.7 |
| Hex | livebook | from 0.19.0 · before 0.19.9 | 0.19.9 |
Same product
livebook: all recordsOther highest-scoring records for the same primary product.
- CVE-2023-35174Livebook Desktop's protocol handler can be exploited to execute arbitrary command on Windows39Monitor
- CVE-2026-66298JS-view sandboxed output can synthesize keyboard events to trigger unconfirmed global shortcuts34Monitor
- CVE-2026-68746Livebook Teams identity check fails open when the deployment group is unresolvable, allowing unauthenticated access30Monitor
Published before and after this one in the same product
- ← EarlierCVE-2026-66297Aug 5, 2026 · Unescaped deployment environment variables in generated setup commands21Monitor
- ← EarlierCVE-2026-66881Aug 5, 2026 · Path traversal in imported file_entries name allows arbitrary file write via URL-type entry download28Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| livebook-dev livebook | 0.18.7 | Vendor (CNA) |
| livebook-dev livebook | 0.18.7-cuda12 | Vendor (CNA) |
| livebook-dev livebook | 0.19.9 | Vendor (CNA) |
| livebook-dev livebook | 0.19.9-cuda12 | Vendor (CNA) |
| livebook-dev livebook | 21c16168263275541a6e076d0c31852c40e09a18 | Vendor (CNA) |
| livebook-dev livebook | 33a052daa386c4ce08a9c39a07fc90f353ff6a51 | Vendor (CNA) |
| livebook-dev livebook | 6ed2e213e9d5a19a70d7fcad5a8d616622cd2084 | Vendor (CNA) |
| Hex:livebook | 0.18.7 | Package registry (OSV) |
| Hex:livebook | 0.19.9 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Nguyễn Công Túfinder
- Jonatan Kłoskoremediation developer
- José Valimremediation reviewer
- Hugo Baraúnaremediation reviewer
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- Integrity
- Availability
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- A
- Scope
- X
Weakness class (CWE)
CWE-352 · Cross-Site Request Forgery (CSRF)CVSS vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
nvd-secondary
Root cause
State-changing requests rely on the session cookie the browser sends automatically; nothing verifies that the request came from the user’s own page.
The bug in code
The whole CWE-352 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
app.use(session({ cookie: { httpOnly: true } }));
app.post("/account/address", updateAddress);Fixed
app.use(session({ cookie: { httpOnly: true, sameSite: "lax" } }));
app.post("/account/address", csrfProtection, updateAddress);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
- github.com/livebook-dev/livebook/commit/21c16168263275541a6e076d0c31852c40e09a18
- github.com/livebook-dev/livebook/commit/33a052daa386c4ce08a9c39a07fc90f353ff6a51
- github.com/livebook-dev/livebook/commit/4380a411920531223088267ed1c0ad21f96ef660
- github.com/livebook-dev/livebook/commit/6ed2e213e9d5a19a70d7fcad5a8d616622cd2084
- github.com/livebook-dev/livebook/security/advisories/GHSA-pvvw-28fw-c6fg
- osv.dev/vulnerability/EEF-CVE-2026-66885
Vendor advisories and official records. Exploit/PoC links are deliberately left out.