Quick answers
- Is CVE-2026-41949 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-41949 being exploited in the wild.
- How severe is CVE-2026-41949?
- Medium severity, with a CVSS score of 5.9, published 18 May 2026.
- Which products and versions are affected?
- Langgenius Dify <= 1.14.1.
- Is there a fix for CVE-2026-41949?
- A patch was published on 2026-05-14: Patch merged into main branch Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-41949 attacked?
- It is attacked over the network, in a network appliance.
- Am I affected by CVE-2026-41949?
- Check whether you run Langgenius Dify at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
An authorization bypass (CWE-639) exists in the `/console/api/files/{file_id}/preview` endpoint of Dify. The root cause is a failure in the `FilePreviewApi.get` controller and the underlying `FileService.get_file_preview` method to verify tenant ownership; the application retrieves files based solely on the provided UUID without checking if the requesting user belongs to the file's tenant. An attacker with a valid session (easily obtained via self-registration) can extract the first 3,000 characters of any document if they possess or can intercept the file's UUID. The vulnerability has been addressed in a pull request that adds a tenant-id filter to the database lookup query.
Affected products
- LangGenius Dify <= 1.14.1
Timeline
- 2026-05-05: other: Initial patch submitted via pull request
- 2026-05-14: patched: Patch merged into main branch
- 2026-05-18: advisory: CVE published and NVD record created