Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 31.4%top 1.9%

CVE-2026-5027: CWE-22 Improper Limitation of a Pathname to a Restricted Directory in langflow-ai langflow

0
High
VulnerabilityCVE-2026-5027cvecve-2026-5027cwe-22
Published: 03/27/2026 (03/27/2026, 14:54:53 UTC)
Source: CVE Database V5
Vendor/Project: langflow-ai
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Affected versions
=0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/10/2026, 21:29:00 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses