CVE-2026-66885: CWE-352 Cross-Site Request Forgery (CSRF) in livebook-dev livebook
CVE-2026-66885 is a Cross-Site Request Forgery (CSRF) vulnerability in livebook-dev livebook that allows an attacker to authenticate a victim's browser session under the attacker's own Livebook Teams identity. This occurs because the OAuth callback handling does not verify that the authorization code is tied to the initiating browser session, allowing session hijacking within the same Livebook Teams organization. The vulnerability affects livebook versions from 0.15.0 before 0.18.7 and from 0.19.0 before 0.19.9.
AI Analysis
Technical Summary
The vulnerability arises in livebook-dev livebook when configured to use Livebook Teams for identity. The OAuth-style callback handler exchanges an authorization code for an access token and writes it into the victim's browser session without verifying any state or nonce that would link the callback to the original login request. Since no per-attempt state is generated or checked, an attacker who is a member of the same Livebook Teams organization can initiate a login flow, obtain an authorization code, and trick a victim into redeeming that code. This causes the victim's session to be authenticated as the attacker’s identity, not the victim’s. The victim is unaware and operates under the attacker’s account, exposing any work, secrets, or data to the attacker. The attack is constrained by the short validity window of the authorization code but is otherwise feasible.
Potential Impact
The vulnerability allows an attacker to cause a victim's browser session to be authenticated as the attacker’s Livebook Teams identity. This means that any work, uploaded data, or notebook results produced by the victim during that session are attributed to and accessible by the attacker. The victim does not authenticate as the attacker, but rather unknowingly operates under the attacker's identity, leading to potential data exposure and misattribution of actions. The attack requires the attacker to be a member of the same Livebook Teams organization and to induce the victim to open a crafted URL within a short time window.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should be cautious about opening unsolicited URLs related to Livebook Teams login flows. Monitoring for updates from livebook-dev regarding patches or mitigations is recommended.
CVE-2026-66885: CWE-352 Cross-Site Request Forgery (CSRF) in livebook-dev livebook
Description
CVE-2026-66885 is a Cross-Site Request Forgery (CSRF) vulnerability in livebook-dev livebook that allows an attacker to authenticate a victim's browser session under the attacker's own Livebook Teams identity. This occurs because the OAuth callback handling does not verify that the authorization code is tied to the initiating browser session, allowing session hijacking within the same Livebook Teams organization. The vulnerability affects livebook versions from 0.15.0 before 0.18.7 and from 0.19.0 before 0.19.9.
CVSS v4.0
Score 6.8medium
Affected software
cpe:2.3:a:livebook-dev:livebook:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises in livebook-dev livebook when configured to use Livebook Teams for identity. The OAuth-style callback handler exchanges an authorization code for an access token and writes it into the victim's browser session without verifying any state or nonce that would link the callback to the original login request. Since no per-attempt state is generated or checked, an attacker who is a member of the same Livebook Teams organization can initiate a login flow, obtain an authorization code, and trick a victim into redeeming that code. This causes the victim's session to be authenticated as the attacker’s identity, not the victim’s. The victim is unaware and operates under the attacker’s account, exposing any work, secrets, or data to the attacker. The attack is constrained by the short validity window of the authorization code but is otherwise feasible.
Potential Impact
The vulnerability allows an attacker to cause a victim's browser session to be authenticated as the attacker’s Livebook Teams identity. This means that any work, uploaded data, or notebook results produced by the victim during that session are attributed to and accessible by the attacker. The victim does not authenticate as the attacker, but rather unknowingly operates under the attacker's identity, leading to potential data exposure and misattribution of actions. The attack requires the attacker to be a member of the same Livebook Teams organization and to induce the victim to open a crafted URL within a short time window.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should be cautious about opening unsolicited URLs related to Livebook Teams login flows. Monitoring for updates from livebook-dev regarding patches or mitigations is recommended.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-07-28T04:15:10.240Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a739c88bf8831d5396b3026
Added to database: 08/05/2026, 20:26:48 UTC
Last enriched: 08/05/2026, 20:43:29 UTC
Last updated: 08/05/2026, 20:43:29 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.