{"id":"CVE-2025-3248","published":"2025-04-07T15:15:44Z","modified":"2026-10-08T16:16:52Z","title":"Langflow Missing Authentication Vulnerability","vendor":"Langflow","product":"Langflow","tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"NVD"},"summary":{"text":"Langflow versions prior to 1.3.0 contain a code injection flaw in the /api/v1/validate/code endpoint, which is also linked to missing authentication for critical functionality. A remote attacker with no authentication and no user interaction can send crafted HTTP requests to that endpoint to execute arbitrary code.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:53:31Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.99993,"percentile":0.99987,"date":"2026-10-30","provenance":"source"},"kev":{"dateAdded":"2025-05-05","dueDate":"2025-05-26","ransomware":true,"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.","notes":"This vulnerability affects a common open-source project, third-party library, or a protocol used by different products. For more information, please see: https://github.com/advisories/GHSA-c995-4fw3-j39m ; https://nvd.nist.gov/vuln/detail/CVE-2025-3248","provenance":"source"},"vulncheckKev":{"dateAdded":"2025-04-12","exploitedFirstSeen":"2025-04-12","ransomware":true,"evidence":[{"url":"https://isc.sans.edu/diary/31850","date":"2025-04-12"},{"url":"https://censys.com/blog/scouting-a-threat-actor","date":"2025-04-28"},{"url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","date":"2025-05-05"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-05-06&host_type=src&vulnerability=cve-2025-3248","date":"2025-05-06"},{"url":"https://fortiguard.fortinet.com/threat-signal-report/6085","date":"2025-05-06"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-05-09&host_type=src&vulnerability=cve-2025-3248","date":"2025-05-09"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-05-10&host_type=src&vulnerability=cve-2025-3248","date":"2025-05-10"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-05-11&host_type=src&vulnerability=cve-2025-3248","date":"2025-05-11"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-05-12&host_type=src&vulnerability=cve-2025-3248","date":"2025-05-12"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-05-13&host_type=src&vulnerability=cve-2025-3248","date":"2025-05-13"}],"evidenceTotal":418,"provenance":"source"},"exploited":true,"otx":{"pulseCount":50,"pulses":[{"name":"Actively_Exploited_Kev | Oct 30, 2026","url":"https://otx.alienvault.com/pulse/6ae35d889ea92b4ce19c2680","created":"2026-10-29"},{"name":"Actively_Exploited_Kev | Oct 29, 2026","url":"https://otx.alienvault.com/pulse/6ae20c1db17e7057ae7d9ad1","created":"2026-10-28"},{"name":"Actively_Exploited_Kev | Oct 28, 2026","url":"https://otx.alienvault.com/pulse/6ae0ba7e0e2a97ff7b218819","created":"2026-10-27"},{"name":"Actively_Exploited_Kev | Oct 27, 2026","url":"https://otx.alienvault.com/pulse/6adf68b85c3e852f3c111d18","created":"2026-10-26"},{"name":"Actively_Exploited_Kev | Oct 24, 2026","url":"https://otx.alienvault.com/pulse/6adb740e397c3ad4799aa4cd","created":"2026-10-23"},{"name":"Actively_Exploited_Kev | Oct 23, 2026","url":"https://otx.alienvault.com/pulse/6ada236fcfba2dfa730ea482","created":"2026-10-22"},{"name":"Actively_Exploited_Kev | Oct 22, 2026","url":"https://otx.alienvault.com/pulse/6ad8d33a077cbb5cab524d80","created":"2026-10-21"},{"name":"Actively_Exploited_Kev | Oct 21, 2026","url":"https://otx.alienvault.com/pulse/6ad78130c4d1ac2be83a8b6d","created":"2026-10-20"},{"name":"Actively_Exploited_Kev | Oct 20, 2026","url":"https://otx.alienvault.com/pulse/6ad62f63c24a405a3423cc13","created":"2026-10-19"},{"name":"Actively_Exploited_Kev | Oct 19, 2026","url":"https://otx.alienvault.com/pulse/6ad4dda174e5797d0bd238b7","created":"2026-10-18"}],"provenance":"machine"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"references":[{"url":"https://github.com/langflow-ai/langflow/pull/6911","tags":["Patch"]},{"url":"https://github.com/langflow-ai/langflow/releases/tag/1.3.0","tags":["Release Notes"]},{"url":"https://www.horizon3.ai/attack-research/disclosures/unsafe-at-any-speed-abusing-python-exec-for-unauth-rce-in-langflow-ai/","tags":["Exploit","Third Party Advisory"]},{"url":"https://www.vulncheck.com/advisories/langflow-unauthenticated-rce","tags":["Third Party Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-3248","tags":["US Government Resource"]}],"techniques":[{"id":"T1203","name":"Exploitation for Client Execution","tactics":["execution"],"provenance":"source","basis":"ctid-kev","bases":["ctid-kev"],"basisDetail":"CTID Mappings Explorer KEV 07/28/2025 (ATT&CK 16.1); capability: Missing Authentication","mappingType":"exploitation_technique","evidence":[],"comment":"Unauthenticated attackers have exploited this missing authentication vulnerability by sending crafted HTTP requests, allowing them to execute arbitrary code on the target Langflow server. ","confidence":"low","confidenceNote":"server-side bug exploitable without user interaction; client-execution technique does not fit"},{"id":"T1059","name":"Command and Scripting Interpreter","tactics":["execution"],"provenance":"source","basis":"ctid-kev","bases":["ctid-kev"],"basisDetail":"CTID Mappings Explorer KEV 07/28/2025 (ATT&CK 16.1); capability: Missing Authentication","mappingType":"primary_impact","evidence":[],"comment":"Unauthenticated attackers have exploited this missing authentication vulnerability by sending crafted HTTP requests, allowing them to execute arbitrary code on the target Langflow server. ","confidence":"high"}],"reports":[],"affected":[{"ecosystem":"PyPI","package":"langflow","vulnerableRanges":["<1.3.0"],"patched":["1.3.0"],"from":["GHSA-rvqx-wpfh-mfx7","PYSEC-2025-36"],"provenance":"source"},{"ecosystem":"PyPI","package":"langflow-base","vulnerableRanges":["<0.3.0"],"patched":["0.3.0"],"from":["GHSA-rvqx-wpfh-mfx7","PYSEC-2026-380"],"provenance":"source"}],"advisories":[{"id":"GHSA-rvqx-wpfh-mfx7","url":"https://github.com/advisories/GHSA-rvqx-wpfh-mfx7","severity":"CRITICAL","ecosystem":"PyPI","package":"langflow","vulnerableRanges":["<1.3.0"],"patched":["1.3.0"],"provenance":"source","from":"GHSA"},{"id":"GHSA-rvqx-wpfh-mfx7","url":"https://github.com/advisories/GHSA-rvqx-wpfh-mfx7","severity":"CRITICAL","ecosystem":"PyPI","package":"langflow-base","vulnerableRanges":["<0.3.0"],"patched":["0.3.0"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2025-10011","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-10011","exploited":true,"exploitedSince":"2025-05-05","provenance":"source"},"exploits":[{"id":52262,"url":"https://www.exploit-db.com/exploits/52262","title":"Langflow 1.3.0 -  Remote Code Execution (RCE)","type":"remote","platform":"multiple","date":"2025-04-18","verified":false,"provenance":"source"},{"id":52364,"url":"https://www.exploit-db.com/exploits/52364","title":"Langflow 1.2.x - Remote Code Execution (RCE)","type":"webapps","platform":"multiple","date":"2025-07-16","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":2,"earliest":"2025-04-18"},"pocGithub":{"count":27,"skipped":2,"earliest":"2025-04-10","earliestUrl":"https://github.com/xuemian168/CVE-2025-3248","repos":[{"name":"ynsmroztas/CVE-2025-3248-Langflow-RCE","url":"https://github.com/ynsmroztas/CVE-2025-3248-Langflow-RCE","stars":18,"created":"2025-06-17"},{"name":"xuemian168/CVE-2025-3248","url":"https://github.com/xuemian168/CVE-2025-3248","stars":12,"created":"2025-04-10"},{"name":"verylazytech/CVE-2025-3248","url":"https://github.com/verylazytech/CVE-2025-3248","stars":10,"created":"2025-04-16"},{"name":"0-d3y/langflow-rce-exploit","url":"https://github.com/0-d3y/langflow-rce-exploit","stars":7,"created":"2025-06-23"},{"name":"hideki233/CVE-2025-3248-Langflow-RCE","url":"https://github.com/hideki233/CVE-2025-3248-Langflow-RCE","stars":4,"created":"2026-08-28"}]},"metasploit":[{"name":"Langflow AI RCE","module":"exploit/multi/http/langflow_unauth_rce_cve_2025_3248","type":"exploit","disclosureDate":"2025-04-09","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/langflow_unauth_rce_cve_2025_3248.rb"}],"nuclei":[{"id":"CVE-2025-3248","name":"Langflow AI - Unauthenticated Remote Code Execution","severity":"critical","path":"http/cves/2025/CVE-2025-3248.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-3248.yaml"}],"first":{"date":"2025-04-09","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/langflow_unauth_rce_cve_2025_3248.rb"},"provenance":"source"},"exploitRefs":["https://www.horizon3.ai/attack-research/disclosures/unsafe-at-any-speed-abusing-python-exec-for-unauth-rce-in-langflow-ai/"],"flow":[{"stage":"primary","techniques":["T1059"],"provenance":"source"},{"stage":"related","techniques":["T1203"],"provenance":"source","lowConfidence":true}],"timeline":[{"date":"2025-04-07","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-3248","provenance":"source"},{"date":"2025-04-09","kind":"exploit-public","label":"First public exploit: Metasploit; later: PoC-in-GitHub 2025-04-10, Exploit-DB 2025-04-18","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/langflow_unauth_rce_cve_2025_3248.rb","provenance":"source"},{"date":"2025-04-12","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://isc.sans.edu/diary/31850","provenance":"source"},{"date":"2025-05-05","kind":"kev","label":"Added to CISA KEV (known ransomware use)","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2025-05-05","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-10011","provenance":"source"}],"speed":{"daysToPublicExploit":2,"firstExploitFrom":"Metasploit","daysToKev":28},"priority":{"score":79.9,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 567 days ago"},{"name":"Known ransomware use","points":10.0,"detail":"CISA KEV and VulnCheck KEV: Known"},{"name":"EPSS percentile","points":20.0,"detail":"percentile 0.9999"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD reference tagged Exploit; 2 Exploit-DB entries; 27 PoC-in-GitHub repos; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"50 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-langflow-cve-2025-3248","children":[{"from":"CVE-2025-3248","to":"CVE-2026-33017","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-rvqx-wpfh-mfx7","via":"related"},{"kind":"osv-related","provenance":"source","id":"GHSA-vwmf-pq79-vjvx","via":"reference","url":"https://github.com/advisories/GHSA-rvqx-wpfh-mfx7"},{"kind":"osv-related","provenance":"source","id":"PYSEC-2026-379","via":"reference","url":"https://github.com/advisories/GHSA-rvqx-wpfh-mfx7"}]}],"packageHistory":[{"cve":"CVE-2024-37014","published":"2024-06-10","fixed":"1.0.15","kev":false},{"cve":"CVE-2026-55446","published":"2026-06-23","fixed":"1.0.19","kev":false},{"cve":"CVE-2025-3248","published":"2025-04-07","fixed":"1.3.0","kev":true},{"cve":"CVE-2025-57760","published":"2025-08-25","fixed":"1.5.1","kev":false,"link":{"from":"CVE-2025-3248","to":"CVE-2025-57760","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:langflow","fromFixed":"1.3.0","toFixed":"1.5.1","daysApart":140}]}},{"cve":"CVE-2026-34046","published":"2026-03-27","fixed":"1.5.1","kev":false},{"cve":"CVE-2025-34291","published":"2025-12-05","fixed":"1.7.0","kev":true}],"package":"PyPI:langflow"}}