{"answers":{"affected":"3 open source packages ship an affected version, including langflow. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-42835 exists.","fix":"No fix has been published for CVE-2024-42835 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-42835 is a critical code injection vulnerability in Langflow Langflow, published on 31 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-42835 and fix it if it is affected.\n\nWhat it is: CVE-2024-42835 is a critical code injection vulnerability in Langflow Langflow, published on 31 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-42835 exists.\n\nAffected packages and fixed versions:\n- langflow (PyPI): affected all versions up to 1.0.12; no fix listed\n- langflow (PyPI): affected all versions up to 1.0.12; no fix listed\n- langflow (PyPI): affected all versions up to 1.0.12; no fix listed\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-2024-42835/ (Markdown: https://insights.sbomify.com/CVE-2024-42835/index.md)","id":"CVE-2024-42835","markdown":"https://insights.sbomify.com/CVE-2024-42835/index.md","name":"CVE-2024-42835","record":{"aliases":["GHSA-56m6-4mhw-h3g5","PYSEC-2024-279"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Langflow AI platform","requires_auth":"none","summary":"Attackers can execute arbitrary code remotely via the PythonCodeTool component in Langflow, requiring an upgrade to secure the application.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"langflow","vendor":"langflow"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"langflow v1.0.12 was discovered to contain a remote code execution (RCE) vulnerability via the PythonCodeTool component.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"langflow has vulnerability in PythonCodeTool component","id":"CVE-2024-42835","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"langflow:langflow","products":["langflow:langflow"],"type":"code_injection","year":"2024"},"n_packages":3,"n_references":1,"next":{"headline":"SQL injection in n/a","id":"CVE-2024-42843"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["1.0.12"],"package":"langflow","purl":null,"source":"GHSA-56m6-4mhw-h3g5"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["1.0.12"],"package":"langflow","purl":"pkg:pypi/langflow","source":"GHSA-56m6-4mhw-h3g5"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["1.0.12"],"package":"langflow","purl":"pkg:pypi/langflow","source":"PYSEC-2024-279"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2024-42834"},"products":["n/a"],"published":"2024-10-31","related":[{"cvss_score":9.8,"headline":"IBM Langflow Code Injection","id":"CVE-2026-9198","kev_date_added":"2026-08-04","published":"2026-07-17"},{"cvss_score":9.8,"headline":"Langflow Inclusion of Functionality from Untrusted Control Sphere","id":"CVE-2026-0770","kev_date_added":"2026-07-21","published":"2026-01-23"},{"cvss_score":9.8,"headline":"Langflow Missing Authentication","id":"CVE-2025-3248","kev_date_added":"2025-05-05","published":"2025-04-07"},{"cvss_score":9.4,"headline":"Langflow Origin Validation Error","id":"CVE-2025-34291","kev_date_added":"2026-05-21","published":"2025-12-05"},{"cvss_score":9.3,"headline":"Langflow Code Injection","id":"CVE-2026-33017","kev_date_added":"2026-03-25","published":"2026-03-20"},{"cvss_score":8.4,"headline":"Langflow Authorization Bypass Through User-Controlled Key","id":"CVE-2026-55255","kev_date_added":"2026-07-07","published":"2026-06-23"},{"cvss_score":10,"headline":"Unauthenticated Server-Side RCE via PythonCodeStructuredTool in Public Flows","id":"CVE-2026-10134","kev_date_added":null,"published":"2026-06-30"}],"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-03-27","vendors":["n/a"]},"summary":"Attackers can execute arbitrary code remotely via the PythonCodeTool component in Langflow, requiring an upgrade to secure the application.","url":"https://insights.sbomify.com/CVE-2024-42835/"}