---
id: CVE-2025-3248
title: |-
  Langflow versions prior to 1.3.0 are susceptible to code injection in 
  the /api/v1/validate/code endpoint
summary: >-
  Langflow versions prior to 1.3.0 are susceptible to code injection in 

  the /api/v1/validate/code endpoint. A remote and unauthenticated attacker can
  send crafted HTTP requests to execute arbitrary

  code.
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-306
  - CWE-94
  - CWE-306
vendor: langflow
product: langflow
affected:
  - langflow < 1.3.0
patched:
  - langflow 1.3.0
published: '2025-04-07'
updated: '2026-07-14'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-3248'
references:
  - url: 'https://github.com/langflow-ai/langflow/pull/6911'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/langflow-ai/langflow/releases/tag/1.3.0'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.horizon3.ai/attack-research/disclosures/unsafe-at-any-speed-abusing-python-exec-for-unauth-rce-in-langflow-ai/
    label: disclosure@vulncheck.com
  - url: 'https://www.vulncheck.com/advisories/langflow-unauthenticated-rce'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-3248
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - kev
  - in-the-wild
  - exploit-available
epss: 0.9999
epssPercentile: 0.99985
kev: true
kevDateAdded: '2025-05-05'
kevDueDate: '2025-05-26'
kevRansomware: true
exploited: true
exploitAvailable: true
ingestedAt: '2026-07-15T13:44:02.726Z'
exploits:
  exploitdb: true
  github: 28
  githubRepos:
    - 'https://github.com/xuemian168/CVE-2025-3248'
    - 'https://github.com/PuddinCat/CVE-2025-3248-POC'
    - 'https://github.com/verylazytech/CVE-2025-3248'
  metasploit:
    - exploit/multi/http/langflow_unauth_rce_cve_2025_3248
  nuclei:
    - CVE-2025-3248
  checkedAt: '2026-09-19T16:22:58.817Z'
---

## Overview

Langflow versions prior to 1.3.0 are susceptible to code injection in 
the /api/v1/validate/code endpoint. A remote and unauthenticated attacker can send crafted HTTP requests to execute arbitrary
code.

## Affected

- `langflow < 1.3.0`

## Remediation

Upgrade past the affected range:

- `langflow 1.3.0`
