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.
Use CWE-79, Langflow vendor hub and Langflow product page to widen CVE-2026-5026 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2026-33017, CVE-2026-33309 and CVE-2026-27966 for nearby disclosures in the same product family.