{"schemaVersion":3,"id":"CVE-2025-3248","aliases":["GHSA-rvqx-wpfh-mfx7","PYSEC-2025-36","PYSEC-2026-380"],"status":"published","duplicateOf":null,"title":"Langflow Missing Authentication Vulnerability","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.","dates":{"published":"2025-04-07T14:22:38.980Z","modified":"2026-10-08T15:21:16.208Z","reserved":null,"kevAdded":["2025-05-05T00:00:00.000Z"],"kevDue":["2025-05-26T00:00:00.000Z"]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":9.3,"severity":"critical","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.99993,"percentile":0.99987,"severity":"critical","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.002999999999997449,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.9999},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.9999,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.9999,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.9999,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.9999,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.9999,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.9999,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.9999,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.9999,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.9999,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.9999,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.99993,"percentile":0.99987}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.9999,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.9999,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.9999,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.99993,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.99993,"percentile":0.99987}]},"kev":{"state":"listed","entries":[{"source":"cisa","sourceLabel":"CISA","dateAdded":"2025-05-05T00:00:00.000Z","dueDate":"2025-05-26T00:00:00.000Z","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.","name":"Langflow Missing Authentication Vulnerability","description":"Langflow contains a missing authentication vulnerability in the /api/v1/validate/code endpoint that allows a remote, unauthenticated attacker to execute arbitrary code via crafted HTTP requests.","notes":[{"type":"text","value":"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"},{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2025-3248","label":"nvd.nist.gov/vuln/detail/CVE-2025-3248"}],"vendor":"Langflow","product":"Langflow","ransomware":true,"ransomwareUse":"Known","exploitationType":null}],"listedCount":1,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":true,"entry":{"source":"cisa","sourceLabel":"CISA","dateAdded":"2025-05-05T00:00:00.000Z","dueDate":"2025-05-26T00:00:00.000Z","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.","name":"Langflow Missing Authentication Vulnerability","description":"Langflow contains a missing authentication vulnerability in the /api/v1/validate/code endpoint that allows a remote, unauthenticated attacker to execute arbitrary code via crafted HTTP requests.","notes":[{"type":"text","value":"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"},{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2025-3248","label":"nvd.nist.gov/vuln/detail/CVE-2025-3248"}],"vendor":"Langflow","product":"Langflow","ransomware":true,"ransomwareUse":"Known","exploitationType":null}},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"known","sources":["cisa"]},"exploits":[{"id":"REF_C59257B65C7C1098","name":"Exploit Reference (horizon3.ai)","source":"reference","url":"https://www.horizon3.ai/attack-research/disclosures/unsafe-at-any-speed-abusing-python-exec-for-unauth-rce-in-langflow-ai/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"52262","name":"Langflow 1.3.0 -  Remote Code Execution (RCE)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/52262","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":"remote","platforms":["multiple"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"remote","platform":"multiple","file":"exploits/multiple/remote/52262.txt","codes":["CVE-2025-3248"]},"metasploit":null},{"id":"52364","name":"Langflow 1.2.x - Remote Code Execution (RCE)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/52364","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":null,"platforms":["multiple"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"webapps","platform":"multiple","file":"exploits/multiple/webapps/52364.py","codes":["CVE-2025-3248"]},"metasploit":null},{"id":"MSF_EXPLOIT_MULTI_HTTP_LANGFLOW_UNAUTH_RCE_CVE_2025_3248","name":"Langflow AI RCE","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/multi/http/langflow_unauth_rce_cve_2025_3248.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/multi/http/langflow_unauth_rce_cve_2025_3248","rank":"600","rankName":"excellent","postAuth":false,"check":true,"stability":["crash-safe"],"sideEffects":["artifacts-on-disk","ioc-in-logs"],"reliability":["repeatable-session"]}}],"exploitCount":4,"weaknesses":[{"id":"CWE-306","name":"Missing Authentication for Critical Function","description":"The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/306.html"},{"id":"CWE-94","name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"}],"affected":[{"vendor":"langflow-ai","product":"langflow","name":"langflow","label":"langflow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3.0","eol":null,"hubHref":"/vendor/langflow-ai/langflow"},{"vendor":"langflow","product":"langflow","name":"Langflow","label":"langflow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3.0","eol":null,"hubHref":"/vendor/langflow/langflow"},{"vendor":"PyPI","product":"langflow","name":"langflow","label":"langflow","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/langflow","purlType":"pypi","versions":[{"text":"< 1.3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3.0","eol":null,"hubHref":null},{"vendor":"PyPI","product":"langflow-base","name":"langflow-base","label":"langflow-base","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/langflow-base","purlType":"pypi","versions":[{"text":"< 0.3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.3.0","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/langflow-ai/langflow/pull/6911","label":"github.com/langflow-ai/langflow/pull/6911","hostname":"github.com","tags":["Issue Tracking","WEB","FIX","Patch"]},{"url":"https://github.com/langflow-ai/langflow/releases/tag/1.3.0","label":"github.com/langflow-ai/langflow/releases/tag/1.3.0","hostname":"github.com","tags":["Release Notes","WEB"]},{"url":"https://www.horizon3.ai/attack-research/disclosures/unsafe-at-any-speed-abusing-python-exec-for-unauth-rce-in-langflow-ai/","label":"www.horizon3.ai/attack-research/…","hostname":"www.horizon3.ai","tags":["Exploit","WEB","Third Party Advisory"]},{"url":"https://www.vulncheck.com/advisories/langflow-unauthenticated-rce","label":"www.vulncheck.com/advisories/langflow-unauthenticated-rce","hostname":"www.vulncheck.com","tags":["Third Party Advisory","WEB"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-3248","label":"www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-3248","hostname":"www.cisa.gov","tags":["Government Resource","WEB","US Government Resource"]},{"url":"https://github.com/langflow-ai/langflow/security/advisories/GHSA-rvqx-wpfh-mfx7","label":"github.com/langflow-ai/langflow/security/advisories/GHSA-rvqx-wpfh-mfx7","hostname":"github.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-3248","label":"nvd.nist.gov/vuln/detail/CVE-2025-3248","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/langflow-ai/langflow/commit/faac4db133de32fcb6d483fa9ff52f40ce42bdc0","label":"github.com/langflow-ai/langflow/commit/faac4db133de32fcb6d483fa9ff52f40ce42bdc0","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/langflow-ai/langflow","label":"github.com/langflow-ai/langflow","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://www.horizon3.ai/attack-research/disclosures/unsafe-at-any-speed-abusing-python-exec-for-unauth-rce-in-langflow-ai","label":"www.horizon3.ai/attack-research/…","hostname":"www.horizon3.ai","tags":["WEB"]},{"url":"https://pypi.org/project/langflow-base","label":"pypi.org/project/langflow-base","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-rvqx-wpfh-mfx7","label":"github.com/advisories/GHSA-rvqx-wpfh-mfx7","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CVE-2026-33017"]},"timeline":[{"kind":"published","date":"2025-04-07T14:22:38.980Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"kev-added","date":"2025-05-05T00:00:00.000Z","label":"Added to CISA KEV","detail":"Langflow Missing Authentication Vulnerability","source":"cisa"},{"kind":"kev-due","date":"2025-05-26T00:00:00.000Z","label":"CISA remediation due","detail":"Apply mitigations per vendor instructions.","source":"cisa"},{"kind":"modified","date":"2026-10-08T15:21:16.208Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":90,"level":"critical","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T14:57:27.755Z","stale":false,"partial":false}}