Advisory

PYSEC-2025-125

Also known as: CVE-2025-68478, GHSA-f43r-cc68-gpx4

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.1, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L

Dates

Published
2025-12-19 18:15 UTC
Modified
2026-05-20 09:19 UTC

Affected packages and fixes

langflow

PyPI · All systems

Affected

  • introduced 0, fixed 1.7.0 (ecosystem)

Fixed versions

1.7.0

Fix

  • Fixed version 1.7.0
    pip install --upgrade langflow==1.7.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences