Skip to content
Heist/ feed
Back to feed
Medium

Dify Allows Insecure User Role Access Control for APP DSL Exporting

Type: advisorySources: OSV

Dify is an open-source LLM app development platform. In versions 0.6.8 and prior, a vulnerability was identified in the DIFY AI where normal users are improperly granted permissions to export APP DSL. The feature in '/export' should only allow administrator users to export DSL. A workaround for this vulnerability involves updating the access control mechanisms to enforce stricter user role permissions and implementing role-based access controls (RBAC) to ensure that only users with admin privileges can export the APP DSL. This vulnerability is fixed in 0.6.13.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-32790
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 02:05 UTC · Revision 1

Source evidence

Dify Allows Insecure User Role Access Control for APP DSL Exporting

core-osv · Original source

Published 18 Apr 2025, 12:15 UTC

Dify is an open-source LLM app development platform. In versions 0.6.8 and prior, a vulnerability was identified in the DIFY AI where normal users are improperly granted permissions to export APP DSL. The feature in '/export' should only allow administrator users to export DSL. A workaround for this vulnerability involves updating the access control mechanisms to enforce stricter user role permissions and implementing role-based access controls (RBAC) to ensure that only users with admin privileges can export the APP DSL. This vulnerability is fixed in 0.6.13.

osv:CVE-2025-32790
Complete source record
{
  "id": "400f70bc28fc88c04e10be4184944ee78b2177f4ae4f3e9d409888839293a887",
  "url": "https://osv.dev/vulnerability/CVE-2025-32790",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Dify Allows Insecure User Role Access Control for APP DSL Exporting",
    "summary": "Dify is an open-source LLM app development platform. In versions 0.6.8 and prior, a vulnerability was identified in the DIFY AI where normal users are improperly granted permissions to export APP DSL. The feature in '/export' should only allow administrator users to export DSL. A workaround for this vulnerability involves updating the access control mechanisms to enforce stricter user role permissions and implementing role-based access controls (RBAC) to ensure that only users with admin privileges can export the APP DSL. This vulnerability is fixed in 0.6.13.",
    "evidence": "osv:CVE-2025-32790",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-32790",
      "aliases": [
        "CVE-2025-32790",
        "GHSA-jp6m-v4gw-5vgp"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/langgenius/dify",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "17f22347ae5971f3b325ac99ade6a9e81061c581"
                },
                {
                  "fixed": "59ad091e69736bc9dc1a3bace62ec0a232346246"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:langgenius:dify:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.6.13"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "59ad091e69736bc9dc1a3bace62ec0a232346246"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.6.12-fix1",
            "0.6.12",
            "0.6.11",
            "0.6.10",
            "0.6.9",
            "0.6.8",
            "0.6.7",
            "0.6.6",
            "0.6.5",
            "0.6.4",
            "0.6.3",
            "0.6.2",
            "0.6.1",
            "0.6.0-fix1",
            "0.6.0",
            "0.5.11-fix1",
            "0.5.11",
            "0.5.10",
            "0.5.9",
            "0.5.8",
            "0.5.7",
            "0.5.6",
            "0.5.5",
            "0.5.4",
            "0.5.3",
            "0.5.2",
            "0.5.1",
            "0.5.0",
            "0.4.9",
            "0.4.8",
            "0.4.7",
            "0.4.6",
            "0.4.5",
            "0.4.4",
            "0.4.3",
            "0.4.2",
            "0.4.1",
            "0.4.0",
            "0.3.34",
            "0.3.33",
            "0.3.32",
            "0.3.31-fix3",
            "0.3.31-fix2",
            "0.3.31-fix1",
            "0.3.31",
            "0.3.30",
            "0.3.29",
            "0.3.28",
            "0.3.27",
            "0.3.26",
            "0.3.25",
            "0.3.24",
            "0.3.23",
            "0.3.22",
            "0.3.21",
            "0.3.20",
            "0.3.19",
            "0.3.18",
            "0.3.17",
            "0.3.16",
            "0.3.15",
            "0.3.14",
            "0.3.13",
            "0.3.12",
            "0.3.11",
            "0.3.10",
            "0.3.9",
            "0.3.8",
            "0.3.7",
            "0.3.6",
            "0.3.5",
            "0.3.4",
            "0.3.3",
            "0.3.2",
            "0.3.1",
            "0.3.0",
            "0.2.2",
            "0.2.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-32790.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.620497709Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32790.json",
        "https://github.com/langgenius/dify/security/advisories/GHSA-jp6m-v4gw-5vgp",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-32790",
        "https://github.com/langgenius/dify/commit/59ad091e69736bc9dc1a3bace62ec0a232346246",
        "https://github.com/langgenius/dify/pull/5841"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-284"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32790.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-32790",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 509358,
  "published_at": "2025-04-18T12:15:11.487+00:00"
}