Skip to main content
Mallory
HighVulnerability

CVE-2026-56104: Session hijacking in Chainlit WebSocket session restoration

Published Jun 22, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS8.8High · v4
EPSS0.42%37th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Chainlit
IdentifiersCVE-2026-56104CWE-862 · Missing Authorization

Chainlit versions before 2.10.1 contain a missing-authorization vulnerability in WebSocket session restoration. The restore_existing_session path accepts a valid sessionId without verifying that the requester owns the session, allowing an unauthenticated attacker to restore and inherit an authenticated victim's session. Successful exploitation grants the victim's permissions and roles, enabling unauthorized tool invocation and access to victim-restricted data.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

An attacker can impersonate an authenticated user within the restored session, inherit that user's permissions and roles, access restricted data, and invoke tools available to the victim without authorization.

Mitigation

If you can’t patch tonight, do this now.

No separate workaround is specified; upgrading to a fixed version is the available mitigation.

Remediation

Patch, then assume compromise.

Upgrade the PyPI chainlit package and affected related packages to version 2.10.1 or later. Verify that WebSocket session restoration enforces session ownership checks.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
ChainlitChainlitapplication
FAQ

Frequently asked questions

Is CVE-2026-56104 exploited in the wild?
As of Oct 6, 2026, Mallory has no reports of CVE-2026-56104 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-56104?
As of Oct 6, 2026, Mallory has found no public exploit for CVE-2026-56104.
Is there a patch for CVE-2026-56104?
Upgrade the PyPI chainlit package and affected related packages to version 2.10.1 or later. Verify that WebSocket session restoration enforces session ownership checks.
What products are affected by CVE-2026-56104?
Chainlit.
How severe is CVE-2026-56104?
CVE-2026-56104 has a CVSS v4 score of 8.8 (High) and an EPSS score of 0.42% (37th percentile) as of Oct 6, 2026.
Activity feed

Recent activity

4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.