CVE-2026-5026Langflow
High 7.0
Follow: this CVE · Langflow · Langflow We alert you by email or Slack (account required).
- Priority
- 42
- CVSS 4.0
- 7.0
- EPSS
- —
- Auth required
- Yes
- Published
- Mar 27, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
The '/api/v1/files/images/{flow_id}/{file_name}' endpoint serves SVG files with the 'image/svg+xml' content type without sanitizing their content.
Since SVG files can contain embedded JavaScript, an attacker can upload a malicious SVG that executes arbitrary JavaScript when viewed by other users, leading to stored cross-site scripting (XSS). This allows stealing authentication tokens stored in cookies, including JWT access and refresh tokens.
What to do
- Apply the vendor's security update for Langflow.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| langflow | langflow | all |
Official sources
References
Links published by the sources. Open them with care.
- www.tenable.com Vendor Advisory