CVE-2026-66885 (GCVE-0-2026-66885)

Vulnerability from cvelistv5 – Published: 2026-08-05 19:44 – Updated: 2026-08-06 13:09
VLAI
Title
Livebook Teams identity callback lacks state binding, allowing login CSRF
Summary
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.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-08-06 13:09 UTC
CWE
  • CWE-352 - Cross-Site Request Forgery (CSRF)
Assigner
EEF
Impacted products
Vendor Product Version
livebook-dev livebook Affected: 0.15.0 , < 0.18.7 (semver)
Affected: 0.19.0 , < 0.19.9 (semver)
    cpe:2.3:a:livebook-dev:livebook:*:*:*:*:*:*:*:*
Create a notification for this product.
livebook-dev livebook Affected: 0.15.0 , < 0.18.7 (other)
Affected: 0.19.0 , < 0.19.9 (other)
Affected: 0.15.0-cuda12 , < 0.18.7-cuda12 (other)
Affected: 0.19.0-cuda12 , < 0.19.9-cuda12 (other)
    cpe:2.3:a:livebook-dev:livebook:*:*:*:*:*:*:*:*
Create a notification for this product.
livebook-dev livebook Affected: 4380a411920531223088267ed1c0ad21f96ef660 , < * (git)
    cpe:2.3:a:livebook-dev:livebook:*:*:*:*:*:*:*:*
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-66885",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-08-06T13:09:14.330707Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-08-06T13:09:29.359Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://repo.hex.pm",
          "cpes": [
            "cpe:2.3:a:livebook-dev:livebook:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "Elixir.Livebook.ZTA.LivebookTeams",
            "Elixir.Livebook.Teams.Requests"
          ],
          "packageName": "livebook",
          "packageURL": "pkg:hex/livebook",
          "product": "livebook",
          "programFiles": [
            "lib/livebook/zta/livebook_teams.ex",
            "lib/livebook/teams/requests.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.Livebook.ZTA.LivebookTeams\u0027:handle_request/4"
            },
            {
              "name": "\u0027Elixir.Livebook.Teams.Requests\u0027:create_auth_request/1"
            }
          ],
          "repo": "https://github.com/livebook-dev/livebook",
          "vendor": "livebook-dev",
          "versions": [
            {
              "lessThan": "0.18.7",
              "status": "affected",
              "version": "0.15.0",
              "versionType": "semver"
            },
            {
              "lessThan": "0.19.9",
              "status": "affected",
              "version": "0.19.0",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://ghcr.io",
          "cpes": [
            "cpe:2.3:a:livebook-dev:livebook:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "Elixir.Livebook.ZTA.LivebookTeams",
            "Elixir.Livebook.Teams.Requests"
          ],
          "packageName": "livebook-dev/livebook",
          "packageURL": "pkg:oci/livebook?repository_url=ghcr.io%2Flivebook-dev",
          "product": "livebook",
          "programFiles": [
            "lib/livebook/zta/livebook_teams.ex",
            "lib/livebook/teams/requests.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.Livebook.ZTA.LivebookTeams\u0027:handle_request/4"
            },
            {
              "name": "\u0027Elixir.Livebook.Teams.Requests\u0027:create_auth_request/1"
            }
          ],
          "vendor": "livebook-dev",
          "versions": [
            {
              "lessThan": "0.18.7",
              "status": "affected",
              "version": "0.15.0",
              "versionType": "other"
            },
            {
              "lessThan": "0.19.9",
              "status": "affected",
              "version": "0.19.0",
              "versionType": "other"
            },
            {
              "lessThan": "0.18.7-cuda12",
              "status": "affected",
              "version": "0.15.0-cuda12",
              "versionType": "other"
            },
            {
              "lessThan": "0.19.9-cuda12",
              "status": "affected",
              "version": "0.19.0-cuda12",
              "versionType": "other"
            }
          ]
        },
        {
          "collectionURL": "https://github.com",
          "cpes": [
            "cpe:2.3:a:livebook-dev:livebook:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "Elixir.Livebook.ZTA.LivebookTeams",
            "Elixir.Livebook.Teams.Requests"
          ],
          "packageName": "livebook-dev/livebook",
          "packageURL": "pkg:github/livebook-dev/livebook",
          "product": "livebook",
          "programFiles": [
            "lib/livebook/zta/livebook_teams.ex",
            "lib/livebook/teams/requests.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.Livebook.ZTA.LivebookTeams\u0027:handle_request/4"
            },
            {
              "name": "\u0027Elixir.Livebook.Teams.Requests\u0027:create_auth_request/1"
            }
          ],
          "repo": "https://github.com/livebook-dev/livebook",
          "vendor": "livebook-dev",
          "versions": [
            {
              "changes": [
                {
                  "at": "21c16168263275541a6e076d0c31852c40e09a18",
                  "status": "unaffected"
                },
                {
                  "at": "33a052daa386c4ce08a9c39a07fc90f353ff6a51",
                  "status": "unaffected"
                },
                {
                  "at": "6ed2e213e9d5a19a70d7fcad5a8d616622cd2084",
                  "status": "unaffected"
                }
              ],
              "lessThan": "*",
              "status": "affected",
              "version": "4380a411920531223088267ed1c0ad21f96ef660",
              "versionType": "git"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:livebook-dev:livebook:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "0.18.7",
                  "versionStartIncluding": "0.15.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:livebook-dev:livebook:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "0.19.9",
                  "versionStartIncluding": "0.19.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "AND"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Nguy\u1ec5n C\u00f4ng T\u00fa"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Jonatan K\u0142osko"
        },
        {
          "lang": "en",
          "type": "remediation reviewer",
          "value": "Jos\u00e9 Valim"
        },
        {
          "lang": "en",
          "type": "remediation reviewer",
          "value": "Hugo Bara\u00fana"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eCross-Site Request Forgery (CSRF) vulnerability in livebook-dev livebook allows an attacker to authenticate a victim\u0027s browser session under the attacker\u0027s own Livebook Teams identity.\u003c/p\u003e\n\u003cp\u003eWhen Livebook is configured to use Livebook Teams for identity, \u003ccode\u003eLivebook.ZTA.LivebookTeams.handle_request/4\u003c/code\u003e in \u003ccode\u003elib/livebook/zta/livebook_teams.ex\u003c/code\u003e handles the OAuth-style callback carrying a \u003ccode\u003eteams_identity\u003c/code\u003e marker and a \u003ccode\u003ecode\u003c/code\u003e 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 \u003ccode\u003estate\u003c/code\u003e or nonce is generated when the flow is initiated: \u003ccode\u003eLivebook.Teams.Requests.create_auth_request/1\u003c/code\u003e in \u003ccode\u003elib/livebook/teams/requests.ex\u003c/code\u003e sends an empty request body, so no per-attempt value is ever registered, and the callback clause has nothing to compare against.\u003c/p\u003e\n\u003cp\u003eAn 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\u0027s browser completes the exchange and the resulting session is bound to the attacker\u0027s identity rather than the victim\u0027s. 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.\u003c/p\u003e\n\u003cp\u003eThe 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\u0027s account, and secrets, uploaded data, or notebook results the victim produces are exposed to the attacker rather than kept in the victim\u0027s 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.\u003c/p\u003e\n\u003cp\u003eThis issue affects livebook: from 0.15.0 before 0.18.7 and from 0.19.0 before 0.19.9.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "Cross-Site Request Forgery (CSRF) vulnerability in livebook-dev livebook allows an attacker to authenticate a victim\u0027s browser session under the attacker\u0027s own Livebook Teams identity.\n\nWhen 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.\n\nAn 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\u0027s browser completes the exchange and the resulting session is bound to the attacker\u0027s identity rather than the victim\u0027s. 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.\n\nThe 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\u0027s account, and secrets, uploaded data, or notebook results the victim produces are exposed to the attacker rather than kept in the victim\u0027s 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.\n\nThis issue affects livebook: from 0.15.0 before 0.18.7 and from 0.19.0 before 0.19.9."
            }
          ],
          "value": "Cross-Site Request Forgery (CSRF) vulnerability in livebook-dev livebook allows an attacker to authenticate a victim\u0027s browser session under the attacker\u0027s own Livebook Teams identity.\n\nWhen 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.\n\nAn 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\u0027s browser completes the exchange and the resulting session is bound to the attacker\u0027s identity rather than the victim\u0027s. 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.\n\nThe 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\u0027s account, and secrets, uploaded data, or notebook results the victim produces are exposed to the attacker rather than kept in the victim\u0027s 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.\n\nThis issue affects livebook: from 0.15.0 before 0.18.7 and from 0.19.0 before 0.19.9."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-62",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-62 Cross Site Request Forgery"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 6.8,
            "baseSeverity": "MEDIUM",
            "privilegesRequired": "LOW",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "ACTIVE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "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",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "HIGH",
            "vulnIntegrityImpact": "NONE",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-352",
              "description": "CWE-352 Cross-Site Request Forgery (CSRF)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T19:44:23.834Z",
        "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "shortName": "EEF"
      },
      "references": [
        {
          "tags": [
            "vendor-advisory",
            "related"
          ],
          "url": "https://github.com/livebook-dev/livebook/security/advisories/GHSA-pvvw-28fw-c6fg"
        },
        {
          "tags": [
            "related"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-66885.html"
        },
        {
          "tags": [
            "related"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-66885"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/livebook-dev/livebook/commit/21c16168263275541a6e076d0c31852c40e09a18"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/livebook-dev/livebook/commit/33a052daa386c4ce08a9c39a07fc90f353ff6a51"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/livebook-dev/livebook/commit/6ed2e213e9d5a19a70d7fcad5a8d616622cd2084"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "Livebook Teams identity callback lacks state binding, allowing login CSRF"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
    "assignerShortName": "EEF",
    "cveId": "CVE-2026-66885",
    "datePublished": "2026-08-05T19:44:23.834Z",
    "dateReserved": "2026-07-28T04:15:10.240Z",
    "dateUpdated": "2026-08-06T13:09:29.359Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-66885",
      "date": "2026-08-12",
      "epss": "0.0016",
      "percentile": "0.05621"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-66885\",\"sourceIdentifier\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\",\"published\":\"2026-08-05T20:17:13.007\",\"lastModified\":\"2026-08-10T16:52:00.830\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Cross-Site Request Forgery (CSRF) vulnerability in livebook-dev livebook allows an attacker to authenticate a victim\u0027s browser session under the attacker\u0027s own Livebook Teams identity.\\n\\nWhen 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.\\n\\nAn 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\u0027s browser completes the exchange and the resulting session is bound to the attacker\u0027s identity rather than the victim\u0027s. 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.\\n\\nThe 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\u0027s account, and secrets, uploaded data, or notebook results the victim produces are exposed to the attacker rather than kept in the victim\u0027s 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.\\n\\nThis issue affects livebook: from 0.15.0 before 0.18.7 and from 0.19.0 before 0.19.9.\"}],\"affected\":[{\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\",\"affectedData\":[{\"vendor\":\"livebook-dev\",\"product\":\"livebook\",\"defaultStatus\":\"unaffected\",\"collectionURL\":\"https://repo.hex.pm\",\"packageName\":\"livebook\",\"cpes\":[\"cpe:2.3:a:livebook-dev:livebook:*:*:*:*:*:*:*:*\"],\"modules\":[\"Elixir.Livebook.ZTA.LivebookTeams\",\"Elixir.Livebook.Teams.Requests\"],\"programFiles\":[\"lib/livebook/zta/livebook_teams.ex\",\"lib/livebook/teams/requests.ex\"],\"programRoutines\":[{\"name\":\"\u0027Elixir.Livebook.ZTA.LivebookTeams\u0027:handle_request/4\"},{\"name\":\"\u0027Elixir.Livebook.Teams.Requests\u0027:create_auth_request/1\"}],\"repo\":\"https://github.com/livebook-dev/livebook\",\"packageURL\":\"pkg:hex/livebook\",\"versions\":[{\"version\":\"0.15.0\",\"lessThan\":\"0.18.7\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"0.19.0\",\"lessThan\":\"0.19.9\",\"versionType\":\"semver\",\"status\":\"affected\"}]},{\"vendor\":\"livebook-dev\",\"product\":\"livebook\",\"defaultStatus\":\"unaffected\",\"collectionURL\":\"https://ghcr.io\",\"packageName\":\"livebook-dev/livebook\",\"cpes\":[\"cpe:2.3:a:livebook-dev:livebook:*:*:*:*:*:*:*:*\"],\"modules\":[\"Elixir.Livebook.ZTA.LivebookTeams\",\"Elixir.Livebook.Teams.Requests\"],\"programFiles\":[\"lib/livebook/zta/livebook_teams.ex\",\"lib/livebook/teams/requests.ex\"],\"programRoutines\":[{\"name\":\"\u0027Elixir.Livebook.ZTA.LivebookTeams\u0027:handle_request/4\"},{\"name\":\"\u0027Elixir.Livebook.Teams.Requests\u0027:create_auth_request/1\"}],\"packageURL\":\"pkg:oci/livebook?repository_url=ghcr.io%2Flivebook-dev\",\"versions\":[{\"version\":\"0.15.0\",\"lessThan\":\"0.18.7\",\"versionType\":\"other\",\"status\":\"affected\"},{\"version\":\"0.19.0\",\"lessThan\":\"0.19.9\",\"versionType\":\"other\",\"status\":\"affected\"},{\"version\":\"0.15.0-cuda12\",\"lessThan\":\"0.18.7-cuda12\",\"versionType\":\"other\",\"status\":\"affected\"},{\"version\":\"0.19.0-cuda12\",\"lessThan\":\"0.19.9-cuda12\",\"versionType\":\"other\",\"status\":\"affected\"}]},{\"vendor\":\"livebook-dev\",\"product\":\"livebook\",\"defaultStatus\":\"unaffected\",\"collectionURL\":\"https://github.com\",\"packageName\":\"livebook-dev/livebook\",\"cpes\":[\"cpe:2.3:a:livebook-dev:livebook:*:*:*:*:*:*:*:*\"],\"modules\":[\"Elixir.Livebook.ZTA.LivebookTeams\",\"Elixir.Livebook.Teams.Requests\"],\"programFiles\":[\"lib/livebook/zta/livebook_teams.ex\",\"lib/livebook/teams/requests.ex\"],\"programRoutines\":[{\"name\":\"\u0027Elixir.Livebook.ZTA.LivebookTeams\u0027:handle_request/4\"},{\"name\":\"\u0027Elixir.Livebook.Teams.Requests\u0027:create_auth_request/1\"}],\"repo\":\"https://github.com/livebook-dev/livebook\",\"packageURL\":\"pkg:github/livebook-dev/livebook\",\"versions\":[{\"version\":\"4380a411920531223088267ed1c0ad21f96ef660\",\"lessThan\":\"*\",\"versionType\":\"git\",\"status\":\"affected\",\"changes\":[{\"at\":\"21c16168263275541a6e076d0c31852c40e09a18\",\"status\":\"unaffected\"},{\"at\":\"33a052daa386c4ce08a9c39a07fc90f353ff6a51\",\"status\":\"unaffected\"},{\"at\":\"6ed2e213e9d5a19a70d7fcad5a8d616622cd2084\",\"status\":\"unaffected\"}]}]}]}],\"metrics\":{\"cvssMetricV40\":[{\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"4.0\",\"vectorString\":\"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\",\"baseScore\":6.8,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"attackRequirements\":\"NONE\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"ACTIVE\",\"vulnConfidentialityImpact\":\"HIGH\",\"vulnIntegrityImpact\":\"NONE\",\"vulnAvailabilityImpact\":\"NONE\",\"subConfidentialityImpact\":\"NONE\",\"subIntegrityImpact\":\"NONE\",\"subAvailabilityImpact\":\"NONE\",\"exploitMaturity\":\"NOT_DEFINED\",\"confidentialityRequirement\":\"NOT_DEFINED\",\"integrityRequirement\":\"NOT_DEFINED\",\"availabilityRequirement\":\"NOT_DEFINED\",\"modifiedAttackVector\":\"NOT_DEFINED\",\"modifiedAttackComplexity\":\"NOT_DEFINED\",\"modifiedAttackRequirements\":\"NOT_DEFINED\",\"modifiedPrivilegesRequired\":\"NOT_DEFINED\",\"modifiedUserInteraction\":\"NOT_DEFINED\",\"modifiedVulnConfidentialityImpact\":\"NOT_DEFINED\",\"modifiedVulnIntegrityImpact\":\"NOT_DEFINED\",\"modifiedVulnAvailabilityImpact\":\"NOT_DEFINED\",\"modifiedSubConfidentialityImpact\":\"NOT_DEFINED\",\"modifiedSubIntegrityImpact\":\"NOT_DEFINED\",\"modifiedSubAvailabilityImpact\":\"NOT_DEFINED\",\"Safety\":\"NOT_DEFINED\",\"Automatable\":\"NOT_DEFINED\",\"Recovery\":\"NOT_DEFINED\",\"valueDensity\":\"NOT_DEFINED\",\"vulnerabilityResponseEffort\":\"NOT_DEFINED\",\"providerUrgency\":\"NOT_DEFINED\"}}],\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N\",\"baseScore\":6.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"REQUIRED\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":2.8,\"impactScore\":3.6}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2026-08-06T13:09:14.330707Z\",\"id\":\"CVE-2026-66885\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-352\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:livebook:livebook:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"0.15.0\",\"versionEndExcluding\":\"0.18.7\",\"matchCriteriaId\":\"D2DF96B1-E7BE-4B24-9D03-1D53FEA54376\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:livebook:livebook:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"0.19.0\",\"versionEndExcluding\":\"0.19.9\",\"matchCriteriaId\":\"7B4998A3-46BF-4E69-8642-1156BB3E7480\"}]}]}],\"references\":[{\"url\":\"https://cna.erlef.org/cves/CVE-2026-66885.html\",\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\",\"tags\":[\"Vendor Advisory\"]},{\"url\":\"https://github.com/livebook-dev/livebook/commit/21c16168263275541a6e076d0c31852c40e09a18\",\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\",\"tags\":[\"Patch\"]},{\"url\":\"https://github.com/livebook-dev/livebook/commit/33a052daa386c4ce08a9c39a07fc90f353ff6a51\",\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\",\"tags\":[\"Patch\"]},{\"url\":\"https://github.com/livebook-dev/livebook/commit/6ed2e213e9d5a19a70d7fcad5a8d616622cd2084\",\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\",\"tags\":[\"Patch\"]},{\"url\":\"https://github.com/livebook-dev/livebook/security/advisories/GHSA-pvvw-28fw-c6fg\",\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\",\"tags\":[\"Vendor Advisory\"]},{\"url\":\"https://osv.dev/vulnerability/EEF-CVE-2026-66885\",\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\",\"tags\":[\"Third Party Advisory\"]}]}}",
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-66885\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-08-06T13:09:14.330707Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-08-06T13:09:22.979Z\"}}], \"cna\": {\"title\": \"Livebook Teams identity callback lacks state binding, allowing login CSRF\", \"source\": {\"discovery\": \"EXTERNAL\"}, \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Nguy\\u1ec5n C\\u00f4ng T\\u00fa\"}, {\"lang\": \"en\", \"type\": \"remediation developer\", \"value\": \"Jonatan K\\u0142osko\"}, {\"lang\": \"en\", \"type\": \"remediation reviewer\", \"value\": \"Jos\\u00e9 Valim\"}, {\"lang\": \"en\", \"type\": \"remediation reviewer\", \"value\": \"Hugo Bara\\u00fana\"}], \"impacts\": [{\"capecId\": \"CAPEC-62\", \"descriptions\": [{\"lang\": \"en\", \"value\": \"CAPEC-62 Cross Site Request Forgery\"}]}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV4_0\": {\"Safety\": \"NOT_DEFINED\", \"version\": \"4.0\", \"Recovery\": \"NOT_DEFINED\", \"baseScore\": 6.8, \"Automatable\": \"NOT_DEFINED\", \"attackVector\": \"NETWORK\", \"baseSeverity\": \"MEDIUM\", \"valueDensity\": \"NOT_DEFINED\", \"vectorString\": \"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\", \"providerUrgency\": \"NOT_DEFINED\", \"userInteraction\": \"ACTIVE\", \"attackComplexity\": \"LOW\", \"attackRequirements\": \"NONE\", \"privilegesRequired\": \"LOW\", \"subIntegrityImpact\": \"NONE\", \"vulnIntegrityImpact\": \"NONE\", \"subAvailabilityImpact\": \"NONE\", \"vulnAvailabilityImpact\": \"NONE\", \"subConfidentialityImpact\": \"NONE\", \"vulnConfidentialityImpact\": \"HIGH\", \"vulnerabilityResponseEffort\": \"NOT_DEFINED\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"cpes\": [\"cpe:2.3:a:livebook-dev:livebook:*:*:*:*:*:*:*:*\"], \"repo\": \"https://github.com/livebook-dev/livebook\", \"vendor\": \"livebook-dev\", \"modules\": [\"Elixir.Livebook.ZTA.LivebookTeams\", \"Elixir.Livebook.Teams.Requests\"], \"product\": \"livebook\", \"versions\": [{\"status\": \"affected\", \"version\": \"0.15.0\", \"lessThan\": \"0.18.7\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"0.19.0\", \"lessThan\": \"0.19.9\", \"versionType\": \"semver\"}], \"packageURL\": \"pkg:hex/livebook\", \"packageName\": \"livebook\", \"programFiles\": [\"lib/livebook/zta/livebook_teams.ex\", \"lib/livebook/teams/requests.ex\"], \"collectionURL\": \"https://repo.hex.pm\", \"defaultStatus\": \"unaffected\", \"programRoutines\": [{\"name\": \"\u0027Elixir.Livebook.ZTA.LivebookTeams\u0027:handle_request/4\"}, {\"name\": \"\u0027Elixir.Livebook.Teams.Requests\u0027:create_auth_request/1\"}]}, {\"cpes\": [\"cpe:2.3:a:livebook-dev:livebook:*:*:*:*:*:*:*:*\"], \"vendor\": \"livebook-dev\", \"modules\": [\"Elixir.Livebook.ZTA.LivebookTeams\", \"Elixir.Livebook.Teams.Requests\"], \"product\": \"livebook\", \"versions\": [{\"status\": \"affected\", \"version\": \"0.15.0\", \"lessThan\": \"0.18.7\", \"versionType\": \"other\"}, {\"status\": \"affected\", \"version\": \"0.19.0\", \"lessThan\": \"0.19.9\", \"versionType\": \"other\"}, {\"status\": \"affected\", \"version\": \"0.15.0-cuda12\", \"lessThan\": \"0.18.7-cuda12\", \"versionType\": \"other\"}, {\"status\": \"affected\", \"version\": \"0.19.0-cuda12\", \"lessThan\": \"0.19.9-cuda12\", \"versionType\": \"other\"}], \"packageURL\": \"pkg:oci/livebook?repository_url=ghcr.io%2Flivebook-dev\", \"packageName\": \"livebook-dev/livebook\", \"programFiles\": [\"lib/livebook/zta/livebook_teams.ex\", \"lib/livebook/teams/requests.ex\"], \"collectionURL\": \"https://ghcr.io\", \"defaultStatus\": \"unaffected\", \"programRoutines\": [{\"name\": \"\u0027Elixir.Livebook.ZTA.LivebookTeams\u0027:handle_request/4\"}, {\"name\": \"\u0027Elixir.Livebook.Teams.Requests\u0027:create_auth_request/1\"}]}, {\"cpes\": [\"cpe:2.3:a:livebook-dev:livebook:*:*:*:*:*:*:*:*\"], \"repo\": \"https://github.com/livebook-dev/livebook\", \"vendor\": \"livebook-dev\", \"modules\": [\"Elixir.Livebook.ZTA.LivebookTeams\", \"Elixir.Livebook.Teams.Requests\"], \"product\": \"livebook\", \"versions\": [{\"status\": \"affected\", \"changes\": [{\"at\": \"21c16168263275541a6e076d0c31852c40e09a18\", \"status\": \"unaffected\"}, {\"at\": \"33a052daa386c4ce08a9c39a07fc90f353ff6a51\", \"status\": \"unaffected\"}, {\"at\": \"6ed2e213e9d5a19a70d7fcad5a8d616622cd2084\", \"status\": \"unaffected\"}], \"version\": \"4380a411920531223088267ed1c0ad21f96ef660\", \"lessThan\": \"*\", \"versionType\": \"git\"}], \"packageURL\": \"pkg:github/livebook-dev/livebook\", \"packageName\": \"livebook-dev/livebook\", \"programFiles\": [\"lib/livebook/zta/livebook_teams.ex\", \"lib/livebook/teams/requests.ex\"], \"collectionURL\": \"https://github.com\", \"defaultStatus\": \"unaffected\", \"programRoutines\": [{\"name\": \"\u0027Elixir.Livebook.ZTA.LivebookTeams\u0027:handle_request/4\"}, {\"name\": \"\u0027Elixir.Livebook.Teams.Requests\u0027:create_auth_request/1\"}]}], \"references\": [{\"url\": \"https://github.com/livebook-dev/livebook/security/advisories/GHSA-pvvw-28fw-c6fg\", \"tags\": [\"vendor-advisory\", \"related\"]}, {\"url\": \"https://cna.erlef.org/cves/CVE-2026-66885.html\", \"tags\": [\"related\"]}, {\"url\": \"https://osv.dev/vulnerability/EEF-CVE-2026-66885\", \"tags\": [\"related\"]}, {\"url\": \"https://github.com/livebook-dev/livebook/commit/21c16168263275541a6e076d0c31852c40e09a18\", \"tags\": [\"patch\"]}, {\"url\": \"https://github.com/livebook-dev/livebook/commit/33a052daa386c4ce08a9c39a07fc90f353ff6a51\", \"tags\": [\"patch\"]}, {\"url\": \"https://github.com/livebook-dev/livebook/commit/6ed2e213e9d5a19a70d7fcad5a8d616622cd2084\", \"tags\": [\"patch\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"Cross-Site Request Forgery (CSRF) vulnerability in livebook-dev livebook allows an attacker to authenticate a victim\u0027s browser session under the attacker\u0027s own Livebook Teams identity.\\n\\nWhen 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.\\n\\nAn 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\u0027s browser completes the exchange and the resulting session is bound to the attacker\u0027s identity rather than the victim\u0027s. 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.\\n\\nThe 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\u0027s account, and secrets, uploaded data, or notebook results the victim produces are exposed to the attacker rather than kept in the victim\u0027s 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.\\n\\nThis issue affects livebook: from 0.15.0 before 0.18.7 and from 0.19.0 before 0.19.9.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"\u003cp\u003eCross-Site Request Forgery (CSRF) vulnerability in livebook-dev livebook allows an attacker to authenticate a victim\u0027s browser session under the attacker\u0027s own Livebook Teams identity.\u003c/p\u003e\\n\u003cp\u003eWhen Livebook is configured to use Livebook Teams for identity, \u003ccode\u003eLivebook.ZTA.LivebookTeams.handle_request/4\u003c/code\u003e in \u003ccode\u003elib/livebook/zta/livebook_teams.ex\u003c/code\u003e handles the OAuth-style callback carrying a \u003ccode\u003eteams_identity\u003c/code\u003e marker and a \u003ccode\u003ecode\u003c/code\u003e 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 \u003ccode\u003estate\u003c/code\u003e or nonce is generated when the flow is initiated: \u003ccode\u003eLivebook.Teams.Requests.create_auth_request/1\u003c/code\u003e in \u003ccode\u003elib/livebook/teams/requests.ex\u003c/code\u003e sends an empty request body, so no per-attempt value is ever registered, and the callback clause has nothing to compare against.\u003c/p\u003e\\n\u003cp\u003eAn 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\u0027s browser completes the exchange and the resulting session is bound to the attacker\u0027s identity rather than the victim\u0027s. 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.\u003c/p\u003e\\n\u003cp\u003eThe 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\u0027s account, and secrets, uploaded data, or notebook results the victim produces are exposed to the attacker rather than kept in the victim\u0027s 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.\u003c/p\u003e\\n\u003cp\u003eThis issue affects livebook: from 0.15.0 before 0.18.7 and from 0.19.0 before 0.19.9.\u003c/p\u003e\", \"base64\": false}, {\"type\": \"text/markdown\", \"value\": \"Cross-Site Request Forgery (CSRF) vulnerability in livebook-dev livebook allows an attacker to authenticate a victim\u0027s browser session under the attacker\u0027s own Livebook Teams identity.\\n\\nWhen 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.\\n\\nAn 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\u0027s browser completes the exchange and the resulting session is bound to the attacker\u0027s identity rather than the victim\u0027s. 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.\\n\\nThe 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\u0027s account, and secrets, uploaded data, or notebook results the victim produces are exposed to the attacker rather than kept in the victim\u0027s 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.\\n\\nThis issue affects livebook: from 0.15.0 before 0.18.7 and from 0.19.0 before 0.19.9.\", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-352\", \"description\": \"CWE-352 Cross-Site Request Forgery (CSRF)\"}]}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:a:livebook-dev:livebook:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"0.18.7\", \"versionStartIncluding\": \"0.15.0\"}, {\"criteria\": \"cpe:2.3:a:livebook-dev:livebook:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"0.19.9\", \"versionStartIncluding\": \"0.19.0\"}], \"operator\": \"OR\"}], \"operator\": \"AND\"}], \"providerMetadata\": {\"orgId\": \"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\", \"shortName\": \"EEF\", \"dateUpdated\": \"2026-08-05T19:44:23.834Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-66885\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-06T13:09:29.359Z\", \"dateReserved\": \"2026-07-28T04:15:10.240Z\", \"assignerOrgId\": \"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\", \"datePublished\": \"2026-08-05T19:44:23.834Z\", \"assignerShortName\": \"EEF\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…