Unauthenticated code execution via exposed validation endpoint
Published Apr 7, 2025 · Updated Jul 14, 2026
Code injection in Langflow before 1.3.0 allows remote attackers to execute arbitrary code through the unauthenticated validation API. The validate_code path passes submitted Python to exec while loading a temporary module, so decorators and default-argument expressions run immediately. Network access to the endpoint is sufficient to run commands with the privileges and data access of the Langflow server process.
Summary
What happened
Code injection in Langflow before 1.3.0 allows remote attackers to execute arbitrary code through the unauthenticated validation API. The validate_code path passes submitted Python to exec while loading a temporary module, so decorators and default-argument expressions run immediately. Network access to the endpoint is sufficient to run commands with the privileges and data access of the Langflow server process.
The record
- CVE
- CVE-2025-3248
- Published
- Apr 7, 2025
- Updated
- Jul 14, 2026
- Vendor
- Langflow
- Product
- Langflow
- Classifications
- CWE-94, CWE-306, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 7, 2025CVE publishedPublication date reported by the CVE source.
- May 5, 2025Exploitation reportedCISA Known Exploited Vulnerabilities catalog entry
- Jul 14, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <1.3.0
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
View daily counts
| Reporting day | Unique IPs |
|---|---|
| Sep 9, 2026 | Unavailable |
| Sep 10, 2026 | Unavailable |
| Sep 11, 2026 | Unavailable |
| Sep 12, 2026 | Unavailable |
| Sep 13, 2026 | Unavailable |
| Sep 14, 2026 | 17 |
| Sep 15, 2026 | 20 |
Weakness, pattern, technique
Public exploit references
- Horizon3.ai decorator and default-argument proof of conceptfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA Known Exploited Vulnerabilities catalog entryknown exploited catalog
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo