CVE-2026-41949: Authorization bypass in Dify file preview endpoint
- Vendors
- LanggeniusDify
CVE-2026-41949 affects Dify before version 1.14.2 (including 1.14.1 and prior). The vulnerability is an authorization bypass in the document file preview endpoint, /console/api/files/{file_id}/preview. The endpoint verifies that the referenced object is a Document but does not enforce ownership, tenant, or workspace permission checks before returning preview data. As a result, any authenticated user who knows or can obtain a valid file UUID can request preview content for documents uploaded by other users, workspaces, or tenants. The exposed response is limited to approximately 3,000 characters of the target document, but this is sufficient to disclose sensitive content from uploaded files.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation results in unauthorized disclosure of document contents across tenant and workspace boundaries. An attacker can read preview text from arbitrary uploaded documents belonging to other users or customers, enabling cross-tenant data exposure and leakage of sensitive business information, prompts, internal documents, or other uploaded content. The issue is confidentiality-focused; the provided material does not indicate direct integrity or availability impact from this CVE.
Mitigation
If you can’t patch tonight, do this now.
Until patched, restrict or disable access to /console/api/files/{file_id}/preview using reverse-proxy, WAF, or network-layer controls. Limit console access and self-registration where possible, especially in Dify Cloud deployments. Monitor for anomalous preview requests involving many distinct file UUIDs, review logs for unauthorized access attempts, and reduce exposure of sensitive uploaded documents until the fix is deployed.
Remediation
Patch, then assume compromise.
Upgrade Dify to version 1.14.2 or later, which addresses CVE-2026-41949. If immediate upgrade is not possible, apply the vendor patch referenced in the associated fix/PR and validate that the preview endpoint now enforces file ownership, tenant isolation, and workspace authorization checks before returning content.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-41949 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2026-41949 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-41949?
- Yes. As of Sep 25, 2026, Mallory has reports of a public exploit for CVE-2026-41949.
- Is there a patch for CVE-2026-41949?
- Upgrade Dify to version 1.14.2 or later, which addresses CVE-2026-41949. If immediate upgrade is not possible, apply the vendor patch referenced in the associated fix/PR and validate that the preview endpoint now enforces file ownership, tenant isolation, and workspace authorization checks before returning content.
- What products are affected by CVE-2026-41949?
- Dify and Langgenius Dify.
- How severe is CVE-2026-41949?
- CVE-2026-41949 has a CVSS v4 score of 8.2 (High) and an EPSS score of 0.43% (39th percentile) as of Sep 25, 2026.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.