CVE-2026-5027: CWE-22 Improper Limitation of a Pathname to a Restricted Directory in langflow-ai langflow
A path traversal vulnerability exists in langflow-ai langflow in the 'POST /api/v2/files' endpoint. The 'filename' parameter from multipart form data is not sanitized, allowing attackers to write files to arbitrary filesystem locations using '.. /' sequences. This can lead to full compromise of confidentiality, integrity, and availability of the affected system.
AI Analysis
Technical Summary
CVE-2026-5027 is a CWE-22 path traversal vulnerability in langflow-ai langflow. The vulnerability arises because the 'POST /api/v2/files' endpoint fails to properly sanitize the 'filename' parameter in multipart form data. An attacker can exploit this by including path traversal sequences ('../') in the filename, enabling arbitrary file write to locations outside the intended directory. This can result in complete system compromise including data disclosure, modification, and denial of service.
Potential Impact
Successful exploitation allows an attacker with at least low privileges to write arbitrary files anywhere on the filesystem accessible to the application. This can lead to full confidentiality, integrity, and availability impact, including arbitrary code execution, data tampering, and service disruption.
Mitigation Recommendations
No official patch or fix is currently available for this vulnerability. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is released, restrict access to the vulnerable endpoint to trusted users only and monitor for suspicious activity related to file uploads.
CVE-2026-5027: CWE-22 Improper Limitation of a Pathname to a Restricted Directory in langflow-ai langflow
Description
A path traversal vulnerability exists in langflow-ai langflow in the 'POST /api/v2/files' endpoint. The 'filename' parameter from multipart form data is not sanitized, allowing attackers to write files to arbitrary filesystem locations using '.. /' sequences. This can lead to full compromise of confidentiality, integrity, and availability of the affected system.
CVSS v3.1
Score 8.8high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-5027 is a CWE-22 path traversal vulnerability in langflow-ai langflow. The vulnerability arises because the 'POST /api/v2/files' endpoint fails to properly sanitize the 'filename' parameter in multipart form data. An attacker can exploit this by including path traversal sequences ('../') in the filename, enabling arbitrary file write to locations outside the intended directory. This can result in complete system compromise including data disclosure, modification, and denial of service.
Potential Impact
Successful exploitation allows an attacker with at least low privileges to write arbitrary files anywhere on the filesystem accessible to the application. This can lead to full confidentiality, integrity, and availability impact, including arbitrary code execution, data tampering, and service disruption.
Mitigation Recommendations
No official patch or fix is currently available for this vulnerability. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is released, restrict access to the vulnerable endpoint to trusted users only and monitor for suspicious activity related to file uploads.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- tenable
- Date Reserved
- 2026-03-27T14:51:30.515Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69c69ee73c064ed76fb956b7
Added to database: 03/27/2026, 15:14:47 UTC
Last enriched: 06/10/2026, 21:29:00 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 183
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.