CVE-2024-11821 Privilege Escalation in langgenius/dify

Medium 4.3 Published Updated

Attackers can modify admin-created chatbot configurations due to missing access controls, leading to privilege escalation and unauthorized data modification.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-11821?

CVE-2024-11821 is a medium-severity missing authorization vulnerability in langgenius/dify, published on 20 Mar 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A privilege escalation vulnerability exists in langgenius/dify version 0.9.1. This vulnerability allows a normal user to modify Orchestrate instructions for a chatbot created by an admin user. The issue arises because the application does not properly enforce access controls on the endpoint /console/api/apps/{chatbot-id}/model-config, allowing unauthorized users to alter chatbot configurations.

Weakness: CWE-250

Which versions are affected by CVE-2024-11821?

It affects 1 product.

Products include Langgenius Dify.

How do I fix CVE-2024-11821?

No fix has been published for CVE-2024-11821 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2024-11821 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-11821 exists.

Sources

Also known as GHSA-97pg-wr4r-53wr.

Is CVE-2024-11821 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free