Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2026-41949: Authorization bypass in Dify file preview endpoint

Published May 18, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS8.2High · v4
EPSS0.43%39th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendors
LanggeniusDify
IdentifiersCVE-2026-41949CWE-639 · Authorization Bypass Through…

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
DifyDifyapplication
LanggeniusDifyapplication
FAQ

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.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.