Skip to content
Heist/ feed
Back to feed
Medium

Privilege Escalation in langgenius/dify

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-11821
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 16:55 UTC · Revision 1

Source evidence

Privilege Escalation in langgenius/dify

core-osv · Original source

Published 20 Mar 2025, 10:08 UTC

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.

osv:CVE-2024-11821
Complete source record
{
  "id": "c293b12b874e32304b29c2ae1770da7e5e236c74d1fd9ca842b0529ca44dc432",
  "url": "https://osv.dev/vulnerability/CVE-2024-11821",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Privilege Escalation in langgenius/dify",
    "summary": "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.",
    "evidence": "osv:CVE-2024-11821",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-11821",
      "aliases": [
        "CVE-2024-11821"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/langgenius/dify",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1f5cc071f8e3541df5d16b258059b157a7b60b73"
                },
                {
                  "last_affected": "1f5cc071f8e3541df5d16b258059b157a7b60b73"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:langgenius:dify:0.9.1:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0.9.1"
                      },
                      {
                        "last_affected": "0.9.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.9.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-11821.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:21.253951320Z",
      "provider": "osv",
      "references": [
        "https://huntr.com/bounties/76d5986d-3882-4ea7-81cb-f00400e5c6b6",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/11xxx/CVE-2024-11821.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-11821"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-250"
        ],
        "cna_assigner": "@huntr_ai",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/11xxx/CVE-2024-11821.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-11821",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 487407,
  "published_at": "2025-03-20T10:08:59.022+00:00"
}