Staging Environment: Content and features may be unstable or change without notice.
Advisory details: pypa / langflow/PYSEC-2025-125
Advisory ID pypa/langflow/PYSEC-2025-125
Aliases CVE-2025-68478
GHSA-f43r-cc68-gpx4
PYSEC-2025-125
Summary Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to version 1.7.0, if an arbitrary path is specified in the request body's `fs_path`, the server serializes the Flow object into JSON and creates/overwrites a file at that path. There is no path restriction, normalization, or allowed directory enforcement, so absolute paths (e.g., /etc/poc.txt) are interpreted as is. Version 1.7.0 fixes the issue.
Status Published
Exploitability 0.5
Weighted Severity 6.4
Risk 3.2
Affected and Fixed Packages Package Details
Introduced and Fixed Package Commit Patches Package Commit Patches Details
Weaknesses (0)
There are no known CWE.
Reference id Reference type URL
GHSA-f43r-cc68-gpx4 https://github.com/langflow-ai/langflow/security/advisories/GHSA-f43r-cc68-gpx4
No exploits are available.

No EPSS data available for this advisory.

Patch URL
There are no known patches.
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L Found at https://github.com/pypa/advisory-database/blob/main/vulns/langflow/PYSEC-2025-125.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-12-19T17:23:19Z/

Decision: Track

Source URL: https://github.com/cisagov/vulnrichment/blob/develop/2025/68xxx/CVE-2025-68478.json

Source Advisory: vulnrichment/CVE-2025-68478

View SSVC decision tree
[{'Exploitation': 'poc'},
 {'Automatable': 'no'},
 {'Technical Impact': 'partial'},
 {'Mission Prevalence': 'minimal'},
 {'Public Well-being Impact': 'material'},
 {'Mission & Well-being': 'medium'}]