{"answers":{"affected":"3 open source packages ship an affected version, including chainlit.","exploited":"There is no known exploitation of CVE-2026-56104 in the wild and no public exploit code.","fix":"Upgrade chainlit to 2.10.1 or later.","what":"CVE-2026-56104 is a high-severity authentication bypass vulnerability in chainlit, published on 22 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-56104 and fix it if it is affected.\n\nWhat it is: CVE-2026-56104 is a high-severity authentication bypass vulnerability in chainlit, published on 22 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-56104 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- chainlit (PyPI): affected all versions; fixed in 2.10.1\n- chainlit (PyPI): affected all versions; fixed in 2.10.1\n- chainlit (PyPI): affected all versions; fixed in 2.10.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-56104/ (Markdown: https://insights.sbomify.com/CVE-2026-56104/index.md)","id":"CVE-2026-56104","markdown":"https://insights.sbomify.com/CVE-2026-56104/index.md","name":"CVE-2026-56104","record":{"aliases":["GHSA-c39v-8hrw-h448","PYSEC-2026-4028"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Chainlit web framework","requires_auth":"low_privilege","summary":"Unauthenticated attackers can hijack user sessions via WebSocket restoration, gaining unauthorized access to tools and data.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","version":"4.0"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"description":"Chainlit before 2.10.1 contains a session hijacking vulnerability that allows unauthenticated attackers to restore and inherit authenticated user sessions by presenting a valid sessionId during WebSocket session restoration without ownership verification. Attackers can exploit the restore_existing_session path to assume a victim's permissions and roles, enabling unauthorized invocation of tools and access to data restricted to the authenticated victim.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Chainlit \u003c 2.10.1 Session Hijacking via WebSocket Session Restoration","id":"CVE-2026-56104","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":3,"n_references":4,"next":{"headline":"ALSA Library \u003c 1.2.16.1 Double-Free via parse_def() in conf.c","id":"CVE-2026-56109"},"packages":[{"ecosystem":"PyPI","fixed":["2.10.1"],"introduced":["0"],"last_affected":[],"package":"chainlit","purl":null,"source":"GHSA-c39v-8hrw-h448"},{"ecosystem":"PyPI","fixed":["2.10.1"],"introduced":["0"],"last_affected":[],"package":"chainlit","purl":"pkg:pypi/chainlit","source":"GHSA-c39v-8hrw-h448"},{"ecosystem":"PyPI","fixed":["2.10.1"],"introduced":["0"],"last_affected":[],"package":"chainlit","purl":"pkg:pypi/chainlit","source":"PYSEC-2026-4028"}],"prev":{"headline":"OpenBSD ieee80211_crypto_tkip.c TKIP MIC Countermeasure Logic Inversion DoS","id":"CVE-2026-56101"},"products":["chainlit"],"published":"2026-06-22","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["Chainlit"]},"summary":"Unauthenticated attackers can hijack user sessions via WebSocket restoration, gaining unauthorized access to tools and data.","url":"https://insights.sbomify.com/CVE-2026-56104/"}