CVE-2026-5026
Last modified
CVE-2026-5026 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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.. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Langflow | Langflow | All versions |
References
- https://www.tenable.com/security/research/tra-2026-25Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-5026?
How severe is CVE-2026-5026?
How do I fix CVE-2026-5026?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-50254An unauthenticated remote attacker can repeatedly send a sin…8.7
- CVE-2026-50255Incorrect default permissions issue exists in Optical Disc A…6.7
- CVE-2026-50256A stack-based buffer overflow flaw was found in the X.Org X …7.8
- CVE-2026-50257A use-after-free flaw was found in the X.Org X server and Xw…7.8
- CVE-2026-50258A stack-based buffer overflow flaw was found in the X.Org X …7.8
- CVE-2026-50259A stack-based buffer overflow flaw was found in the X.Org X …7.8
- CVE-2026-50260A use-after-free flaw was found in the X.Org X server and Xw…7.8
- CVE-2026-50261A use-after-free flaw was found in the X.Org X server and Xw…7.8
- CVE-2026-50262An out-of-bounds read flaw was found in the X.Org X server a…5.5
- CVE-2026-50263A use-after-free flaw was found in the X.Org X server and Xw…5.5
- CVE-2026-50264An out-of-bounds write flaw was found in the X.Org X server …7.8
- CVE-2026-50265Rejected reason: This CVE ID was assigned as a duplicate of …
Are you affected by CVE-2026-5026?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
