CVE-2026-68746
JSON

7.7high

Livebook Teams identity check fails open when the deployment group is unresolvable, allowing unauthenticated access

Severity
7.7high CVSS:4.0 by EEF
Exploit likelihood
0.68% (higher than 53% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
EEF
Also known as
EEF-CVE-2026-68746GHSA-74j5-6grg-g6wj

Description

Not Failing Securely ('Failing Open') vulnerability in livebook-dev livebook allows an unauthenticated network client to obtain full access to a Livebook server that enforces identity through Livebook Teams. A Livebook Agent or App Server connected to Livebook Teams caches the identifier of the deployment group it belongs to, and resolves that identifier against a locally cached list of deployment groups on every request in order to decide whether Teams identity enforcement is active. Livebook.Hubs.TeamClient.handle_call/3 in lib/livebook/hubs/team_client.ex does not distinguish a deployment group that could not be resolved from one that was resolved with identity enforcement switched off: the clause matches only the case where a group was found with enforcement enabled, and falls through to a catch-all that reports enforcement as switched off for everything else. The two neighbouring functions that decide user and application access resolve the same identifier and treat the same unresolved result as a denial. When the identity status is reported as switched off, Livebook.ZTA.LivebookTeams.authenticate/3 in lib/livebook/zta/livebook_teams.ex returns empty identity metadata and allows the request to continue instead of halting it. LivebookWeb.UserPlug.build_current_user/3 merges that empty metadata into a newly built user, whose access type defaults to full access, and LivebookWeb.AuthPlug.authorized?/1 grants access to any user holding full access. The cached identifier becomes unresolvable when the deployment group it refers to is deleted while the agent is not connected to receive the change, most concretely when a deployment group is deleted during the window in which an agent is disconnected or reconnecting. The client removes the group from its cached list without clearing the identifier that refers to it. Any client able to reach the affected server over the network is then granted the same access as a fully privileged member of the organisation, including the ability to read notebooks and configured secrets, execute code on the server's runtime, and disrupt its operation. This issue affects livebook: from 0.19.7 before 0.19.9.

Affected

Product or packageVersionsReported by
livebookfrom 0.19.7 before 0.19.9CVE List
livebook-dev/livebookfrom 0.19.7 before 0.19.9, from 0.19.7-cuda12 before 0.19.9-cuda12, from 6592a0faf973943a3c8de5e9871a4c9493d78671 before d374e90647edbb00286bfee9182c0161d29a8e07, from 82e0b8009a59298dbad8638e01dbc9b0d7798353 before d6d0dfa746b172540442852f74de4a9deacc433b, from fc2c87c6b0276705281842acbe17142d1ac4d555 before 2d3a2c710c880abd24a2bc888d3cf5239d98cf72CVE List
livebook (Hex)from 0.19.7 before 0.19.9Erlang Ecosystem Foundation
https://github.com/livebook-dev/livebookfrom 6592a0faf973943a3c8de5e9871a4c9493d78671 before d374e90647edbb00286bfee9182c0161d29a8e07, from 82e0b8009a59298dbad8638e01dbc9b0d7798353 before d6d0dfa746b172540442852f74de4a9deacc433b, from fc2c87c6b0276705281842acbe17142d1ac4d555 before 2d3a2c710c880abd24a2bc888d3cf5239d98cf72Erlang Ecosystem Foundation
livebook livebookfrom 0.19.7 before 0.19.9NVD

All scores

EEF7.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Erlang Ecosystem FoundationNot scored CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-636

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

Not Failing Securely ('Failing Open') vulnerability in livebook-dev livebook allows an unauthenticated network client to obtain full access to a Livebook server that enforces identity through Livebook Teams. A Livebook Agent or App Server connected to Livebook Teams caches the identifier of the deployment group it belongs to, and resolves that identifier against a locally cached list of deployment groups on every request in order to decide whether Teams identity enforcement is active. Livebook.Hubs.TeamClient.handle_call/3 in lib/livebook/hubs/team_client.ex does not distinguish a deployment group that could not be resolved from one that was resolved with identity enforcement switched off: the clause matches only the case where a group was found with enforcement enabled, and falls through to a catch-all that reports enforcement as switched off for everything else. The two neighbouring functions that decide user and application access resolve the same identifier and treat the same unresolved result as a denial. When the identity status is reported as switched off, Livebook.ZTA.LivebookTeams.authenticate/3 in lib/livebook/zta/livebook_teams.ex returns empty identity metadata and allows the request to continue instead of halting it. LivebookWeb.UserPlug.build_current_user/3 merges that empty metadata into a newly built user, whose access type defaults to full access, and LivebookWeb.AuthPlug.authorized?/1 grants access to any user holding full access. The cached identifier becomes unresolvable when the deployment group it refers to is deleted while the agent is not connected to receive the change, most concretely when a deployment group is deleted during the window in which an agent is disconnected or reconnecting. The client removes the group from its cached list without clearing the identifier that refers to it. Any client able to reach the affected server over the network is then granted the same access as a fully privileged member of the organisation, including the ability to read notebooks and configured secrets, execute code on the server's runtime, and disrupt its operation. This issue affects livebook: from 0.19.7 before 0.19.9.

Erlang Ecosystem Foundation

Summary

Not Failing Securely ('Failing Open') vulnerability in livebook-dev livebook allows an unauthenticated network client to obtain full access to a Livebook server that enforces identity through Livebook Teams.

A Livebook Agent or App Server connected to Livebook Teams caches the identifier of the deployment group it belongs to, and resolves that identifier against a locally cached list of deployment groups on every request in order to decide whether Teams identity enforcement is active. Livebook.Hubs.TeamClient.handle_call/3 in lib/livebook/hubs/team_client.ex does not distinguish a deployment group that could not be resolved from one that was resolved with identity enforcement switched off: the clause matches only the case where a group was found with enforcement enabled, and falls through to a catch-all that reports enforcement as switched off for everything else. The two neighbouring functions that decide user and application access resolve the same identifier and treat the same unresolved result as a denial.

When the identity status is reported as switched off, Livebook.ZTA.LivebookTeams.authenticate/3 in lib/livebook/zta/livebook_teams.ex returns empty identity metadata and allows the request to continue instead of halting it. LivebookWeb.UserPlug.build_current_user/3 merges that empty metadata into a newly built user, whose access type defaults to full access, and LivebookWeb.AuthPlug.authorized?/1 grants access to any user holding full access.

The cached identifier becomes unresolvable when the deployment group it refers to is deleted while the agent is not connected to receive the change, most concretely when a deployment group is deleted during the window in which an agent is disconnected or reconnecting. The client removes the group from its cached list without clearing the identifier that refers to it. Any client able to reach the affected server over the network is then granted the same access as a fully privileged member of the organisation, including the ability to read notebooks and configured secrets, execute code on the server's runtime, and disrupt its operation.

This issue affects livebook: from 0.19.7 before 0.19.9.

Configurations

This vulnerability affects Livebook servers that enforce identity through Livebook Teams. Servers not connected to Livebook Teams, or connected without a deployment group, are not affected.

Livebook Teams has also been changed to reject deletion of a deployment group while agents belonging to it are connected, which removes the most direct route into the vulnerable state. A connected agent may still reach an unresolvable cached deployment group as a result of connection failures or network errors.

NVD (es)

Vulnerabilidad de “fallo abierto” (no fallar de forma segura) en livebook-dev livebook permite a un cliente de red no autenticado obtener acceso completo a un servidor Livebook que aplica la identidad a través de Livebook Teams. Un Agente Livebook o Servidor de Aplicaciones conectado a Livebook Teams almacena en caché el identificador del grupo de despliegue al que pertenece, y resuelve ese identificador contra una lista de grupos de despliegue almacenada localmente en caché en cada solicitud para decidir si la aplicación de identidad de Teams está activa. Livebook.Hubs.TeamClient.handle_call/3 en lib/livebook/hubs/team_client.ex no distingue un grupo de despliegue que no pudo ser resuelto de uno que fue resuelto con la aplicación de identidad desactivada: la cláusula coincide solo con el caso en que se encontró un grupo con la aplicación habilitada, y pasa a una cláusula de captura general que informa la aplicación como desactivada para todo lo demás. Las dos funciones adyacentes que deciden el acceso de usuario y aplicación resuelven el mismo identificador y tratan el mismo resultado no resuelto como una denegación. Cuando el estado de identidad se informa como desactivado, Livebook.ZTA.LivebookTeams.authenticate/3 en lib/livebook/zta/livebook_teams.ex devuelve metadatos de identidad vacíos y permite que la solicitud continúe en lugar de detenerla. LivebookWeb.UserPlug.build_current_user/3 fusiona esos metadatos vacíos en un usuario recién construido, cuyo tipo de acceso por defecto es acceso completo, y LivebookWeb.AuthPlug.authorized?/1 otorga acceso a cualquier usuario que posea acceso completo. El identificador almacenado en caché se vuelve irresoluble cuando el grupo de despliegue al que se refiere es eliminado mientras el agente no está conectado para recibir el cambio, más concretamente cuando un grupo de despliegue es eliminado durante la ventana en la que un agente está desconectado o reconectándose. El cliente elimina el grupo de su lista almacenada en caché sin borrar el identificador que se refiere a él. Cualquier cliente capaz de alcanzar el servidor afectado a través de la red se le concede entonces el mismo acceso que a un miembro con plenos privilegios de la organización, incluyendo la capacidad de leer cuadernos y secretos configurados, ejecutar código en el entorno de ejecución del servidor, y perturbar su funcionamiento. Este problema afecta a livebook: desde 0.19.7 antes de 0.19.9.

References

https://github.com/livebook-dev/livebook/security/advisories/GHSA-74j5-6grg-g6wjadvisory, related, vendor-advisory
https://cna.erlef.org/cves/CVE-2026-68746.htmlrelated, vendor-advisory, web
https://osv.dev/vulnerability/EEF-CVE-2026-68746related, third-party-advisory
https://github.com/livebook-dev/livebook/commit/6592a0faf973943a3c8de5e9871a4c9493d78671related, web
https://github.com/livebook-dev/livebook/commit/82e0b8009a59298dbad8638e01dbc9b0d7798353related, web
https://github.com/livebook-dev/livebook/commit/fc2c87c6b0276705281842acbe17142d1ac4d555related, web
https://github.com/livebook-dev/livebook/commit/2d3a2c710c880abd24a2bc888d3cf5239d98cf72fix, patch
https://github.com/livebook-dev/livebook/commit/d374e90647edbb00286bfee9182c0161d29a8e07fix, patch
https://github.com/livebook-dev/livebook/commit/d6d0dfa746b172540442852f74de4a9deacc433bfix, patch
https://hex.pm/packages/livebookpackage

Sources

SourceRecordLicence
CVE ListCVE-2026-68746 changed 2026-11-20CVE Terms of Use
Erlang Ecosystem FoundationEEF-CVE-2026-68746 changed 2026-11-25CC-BY-4.0
NVDCVE-2026-68746 changed 2026-11-20Public domain