{"answers":{"affected":"3 open source packages ship an affected version, including chainlit.","exploited":"There is no known exploitation of CVE-2026-45019 in the wild and no public exploit code.","fix":"Upgrade chainlit to 2.12.0 or later.","what":"CVE-2026-45019 is a high-severity server-side request forgery vulnerability in chainlit, published on 25 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-45019 and fix it if it is affected.\n\nWhat it is: CVE-2026-45019 is a high-severity server-side request forgery vulnerability in chainlit, published on 25 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-45019 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- chainlit (PyPI): affected from 2.4.0rc0; fixed in 2.12.0\n- chainlit (PyPI): affected from 2.4.0rc0; fixed in 2.12.0\n- chainlit (PyPI): affected from 2.4.0rc0; fixed in 2.12.0\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-45019/ (Markdown: https://insights.sbomify.com/CVE-2026-45019/index.md)","id":"CVE-2026-45019","markdown":"https://insights.sbomify.com/CVE-2026-45019/index.md","name":"CVE-2026-45019","record":{"aliases":["GHSA-hvfh-5mj3-5f3j","PYSEC-2026-3811"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Chainlit AI framework","requires_auth":"none","summary":"Unauthenticated attackers can trigger Server-Side Request Forgery in Chainlit when MCP is enabled, accessing internal networks and metadata endpoints.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"Chainlit is a Python framework for building production-ready conversational AI applications. From 2.4.0rc0 until 2.12.0, Chainlit deployments with features.mcp.enabled set to true in .chainlit/config.toml expose the POST /mcp endpoint without requiring authentication. For sse and streamable-http transports, ConnectSseMCPRequest and ConnectStreamableHttpMCPRequest in backend/chainlit/types.py accept a user-controlled url and optional headers dictionary without scheme validation, private-address filtering, or an allowlist. The connect_mcp handler in backend/chainlit/server.py passes these values to sse_client() or streamablehttp_client(), allowing the Chainlit server to make blind outbound requests to arbitrary internal or external services, including cloud metadata endpoints, with attacker-controlled Authorization and Cookie headers. The SSE URL sink has existed since 2.4.0rc0, while attacker-controlled header forwarding and streamable-http support were added in 2.6.4. The response is consumed internally and not returned, but the attacker can issue state-changing authenticated requests, discover internal services, scan ports, and probe metadata endpoints. This issue is fixed in version 2.12.0.","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: SSRF via MCP SSE and streamable-http transports allows unauthenticated internal network access","id":"CVE-2026-45019","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":3,"n_references":4,"next":{"headline":"Kuma: Default kuma-cp leaks admin token cross-origin via CORS wildcard + LocalhostIsAdmin","id":"CVE-2026-45021"},"packages":[{"ecosystem":"PyPI","fixed":["2.12.0"],"introduced":["2.4.0rc0"],"last_affected":[],"package":"chainlit","purl":null,"source":"GHSA-hvfh-5mj3-5f3j"},{"ecosystem":"PyPI","fixed":["2.12.0"],"introduced":["2.4.0rc0"],"last_affected":[],"package":"chainlit","purl":"pkg:pypi/chainlit","source":"GHSA-hvfh-5mj3-5f3j"},{"ecosystem":"PyPI","fixed":["2.12.0"],"introduced":["2.4.0rc0"],"last_affected":[],"package":"chainlit","purl":"pkg:pypi/chainlit","source":"PYSEC-2026-3811"}],"prev":{"headline":"Chainlit: Command injection via MCP stdio transport allows unauthenticated remote code execution","id":"CVE-2026-45018"},"products":["chainlit"],"published":"2026-08-25","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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-27","vendors":["Chainlit"]},"summary":"Unauthenticated attackers can trigger Server-Side Request Forgery in Chainlit when MCP is enabled, accessing internal networks and metadata endpoints.","url":"https://insights.sbomify.com/CVE-2026-45019/"}