{"answers":{"affected":"6 open source packages ship an affected version, including langflow and langflow-base. It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2025-3248 in the wild since at least 5 May 2025, including in ransomware campaigns.","fix":"Upgrade langflow to 1.3.0 or later. US federal agencies must fix it by 26 May 2025.","what":"CVE-2025-3248 is a critical vulnerability in Langflow Langflow, published on 7 Apr 2025."},"fix_prompt":"Check this codebase for CVE-2025-3248 and fix it if it is affected.\n\nWhat it is: CVE-2025-3248 is a critical vulnerability in Langflow Langflow, published on 7 Apr 2025. \nExploitation: Yes. Attackers have exploited CVE-2025-3248 in the wild since at least 5 May 2025, including in ransomware campaigns.\n\nAffected packages and fixed versions:\n- langflow (PyPI): affected all versions; fixed in 1.3.0\n- langflow (PyPI): affected all versions; fixed in 1.3.0\n- langflow (PyPI): affected all versions; fixed in 1.3.0\n- langflow-base (PyPI): affected all versions; fixed in 0.3.0\n- langflow-base (PyPI): affected all versions; fixed in 0.3.0\n- langflow-base (PyPI): affected all versions; fixed in 0.3.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-2025-3248/ (Markdown: https://insights.sbomify.com/CVE-2025-3248/index.md)","id":"CVE-2025-3248","markdown":"https://insights.sbomify.com/CVE-2025-3248/index.md","name":"CVE-2025-3248","record":{"aliases":["GHSA-rvqx-wpfh-mfx7","PYSEC-2025-36","PYSEC-2026-380"],"analysis":null,"analysis_generated_by":null,"assigner":"VulnCheck","cpe":[{"product":"langflow","vendor":"langflow"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"description":"Langflow versions prior to 1.3.0 are susceptible to code injection in \nthe /api/v1/validate/code endpoint. A remote and unauthenticated attacker can send crafted HTTP requests to execute arbitrary\ncode.","ecosystems":["PyPI"],"exploits":{"exploitdb":2,"first_seen":"2025-04-09","github_poc":28,"max_poc_stars":18,"metasploit":1,"nuclei":1,"refs":[{"date":"2025-06-17T09:06:20Z","kind":"github_poc","ref":"https://github.com/ynsmroztas/CVE-2025-3248-Langflow-RCE","stars":18,"title":"CVE-2025-3248 Langflow RCE Exploit"},{"date":"2025-04-10T11:45:57Z","kind":"github_poc","ref":"https://github.com/xuemian168/CVE-2025-3248","stars":12,"title":"A vulnerability scanner for CVE-2025-3248 in Langflow applications. 用于扫描 Langflow 应用中 CVE-2025-3248 漏洞的工具。"},{"date":"2025-04-16T14:00:02Z","kind":"github_poc","ref":"https://github.com/verylazytech/CVE-2025-3248","stars":10,"title":null},{"date":"2025-06-23T01:23:09Z","kind":"github_poc","ref":"https://github.com/0-d3y/langflow-rce-exploit","stars":7,"title":"Remote Code Execution Exploit for Langflow (CVE-2025-3248) - [ By S4Tech ]"},{"date":"2026-08-28T00:05:42Z","kind":"github_poc","ref":"https://github.com/hideki233/CVE-2025-3248-Langflow-RCE","stars":4,"title":null},{"date":"2025-04-10T14:04:29Z","kind":"github_poc","ref":"https://github.com/PuddinCat/CVE-2025-3248-POC","stars":3,"title":"POC of CVE-2025-3248, RCE of LangFlow"},{"date":"2025-06-23T09:36:39Z","kind":"github_poc","ref":"https://github.com/dennisec/Mass-CVE-2025-3248","stars":3,"title":"Mass-CVE-2025-3248"},{"date":"2025-09-15T00:38:05Z","kind":"github_poc","ref":"https://github.com/EQSTLab/CVE-2025-3248","stars":3,"title":"Langflow Remote Code Execution"}],"tier":"exploited"},"has_fix":true,"headline":"Langflow Missing Authentication","id":"CVE-2025-3248","indexable":true,"kev":{"dateAdded":"2025-05-05","dueDate":"2025-05-26","knownRansomwareCampaignUse":"Known","product":"Langflow","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","vendorProject":"Langflow","vulnerabilityName":"Langflow Missing Authentication Vulnerability"},"kind":"cve","links":{"ecosystem":"PyPI","product":"langflow:langflow","products":["langflow:langflow"],"type":null,"year":"2025"},"n_packages":6,"n_references":4,"next":{"headline":"TOTOLINK A6000R mtkwifi.lua apcli_cancel_wps command injection","id":"CVE-2025-3249"},"packages":[{"ecosystem":"PyPI","fixed":["1.3.0"],"introduced":["0"],"last_affected":[],"package":"langflow","purl":null,"source":"GHSA-rvqx-wpfh-mfx7"},{"ecosystem":"PyPI","fixed":["1.3.0"],"introduced":["0"],"last_affected":[],"package":"langflow","purl":"pkg:pypi/langflow","source":"GHSA-rvqx-wpfh-mfx7"},{"ecosystem":"PyPI","fixed":["1.3.0"],"introduced":["0"],"last_affected":[],"package":"langflow","purl":"pkg:pypi/langflow","source":"PYSEC-2025-36"},{"ecosystem":"PyPI","fixed":["0.3.0"],"introduced":["0"],"last_affected":[],"package":"langflow-base","purl":null,"source":"GHSA-rvqx-wpfh-mfx7"},{"ecosystem":"PyPI","fixed":["0.3.0"],"introduced":["0"],"last_affected":[],"package":"langflow-base","purl":"pkg:pypi/langflow-base","source":"GHSA-rvqx-wpfh-mfx7"},{"ecosystem":"PyPI","fixed":["0.3.0"],"introduced":["0"],"last_affected":[],"package":"langflow-base","purl":"pkg:pypi/langflow-base","source":"PYSEC-2026-380"}],"prev":{"headline":"Contact Form 7 \u003c= 6.0.5 - Order Replay Vulnerability","id":"CVE-2025-3247"},"products":["langflow"],"published":"2025-04-07","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.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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["langflow-ai"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2025-3248/"}