gcdRadar
archive/Patch now/AIR-2026-1061
closedclosed 4 May 2026Patch now2 Disclosed vulnerabilityAI

CVE-2026-42138: Unauthenticated XSS vulnerability in Dify

Dify

An unauthenticated file upload flaw in Dify allows attackers to upload SVG files containing malicious XSS. The vulnerability has been addressed in version 1.13.1.

disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why

CVSS
6.9
EPSS
<0.01 · top 86% · 2026-11-13
fix status
Fix status unknown
first report
4 May 2026
last update
4 May 2026

Timeline · 1

  1. 4 May 2026CVE-2026-42138: Dify is an open-source LLM app development platform.

Sources · 1

Advisories and databases

  1. 2026-05-04
    CVE-2026-42138: Dify is an open-source LLM app development platform.
    NVD · nvd.nist.gov/vuln/detail/CVE-2026-42138

Titles and links belong to their publishers. The summary above is written by gcdRadar in its own words; data is CC BY-SA 4.0.

Classification

AI role
Attack on AI
categories
Infrastructure vulnerability
severity
2 · Disclosed vulnerability
fix status
Fix status unknown
targets
Framework / tooling
owasp llm top 10
LLM03:2025 Supply Chain
mitre atlas
no technique for these categories
dates
happened 4 May 2026 · first reported 4 May 2026
origin
NVD
Vulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
record
confidence 0.95 · created 2026-10-18 10:04Z · updated 2026-10-18 10:04Z

Lane, AI role, categories and severity come from the classifier; the OWASP and ATLAS rows are derived from the categories. How these are assigned

Copy a brief

This record as a short Markdown brief, for a ticket, a chat or a coding agent.

the brief as text
# CVE-2026-42138: Unauthenticated XSS vulnerability in Dify

https://gcdradar.vercel.app/incidents/cve-2026-42138-unauthenticated-xss-vulnerability-in-dify · AIR-2026-1061 · closed 2026-05-04

- Lane: Patch now
- Severity: 2 (Disclosed vulnerability)
- Fix status: Fix status unknown
- First reported: 2026-05-04
- AI role: Attack on AI
- Products: Dify
- CVE ids: CVE-2026-42138
- CVSS: 6.9

## Summary

An unauthenticated file upload flaw in Dify allows attackers to upload SVG files containing malicious XSS. The vulnerability has been addressed in version 1.13.1.

## What to do

No action recorded; read the sources below and the vendor's advisory.

## Latest updates

- 2026-05-04: CVE-2026-42138: Dify is an open-source LLM app development platform. (https://nvd.nist.gov/vuln/detail/CVE-2026-42138)

## Sources

- 2026-05-04 NVD: CVE-2026-42138: Dify is an open-source LLM app development platform. https://nvd.nist.gov/vuln/detail/CVE-2026-42138

Verify against the vendor's advisory before changing production. Data CC BY-SA 4.0, https://gcdradar.vercel.app.

Related

  1. closed9.1
    Dify Dify Authorization Bypass Leads to Tenant Trace Configuration Exposure

    Patch now · Disclosed · since 18 May 2026 · CVE-2026-41947

    AI
  2. closed9.2
    Dify CVE-2026-41948: Dify path traversal in Plugin Daemon REST API

    Patch now · Disclosed · since 18 May 2026 · CVE-2026-41948

    AI
  3. closed8.2
    Dify CVE-2026-41949: Dify authorization bypass in file preview endpoint

    Patch now · Disclosed · since 18 May 2026 · CVE-2026-41949

    AI
  4. closed6.5
    Dify CVE-2026-41950: Authorization bypass in Dify allows unauthorized file access

    Patch now · Disclosed · since 5 May 2026 · CVE-2026-41950

    AI
  5. closed5.3
    Dify CVE-2026-34082: Authorization flaw in Dify allows chat deletion

    Patch now · Disclosed · since 20 Apr 2026 · CVE-2026-34082

    AI
  6. closed8.3
    Dify CVE-2026-105762: SSRF vulnerability in Dify remote file upload endpoint

    Patch now · Disclosed · since 6 Oct 2026 · CVE-2026-105762

    AI