PYSEC-2025-103
Details
Dify v1.9.1 is vulnerable to Insecure Permissions. An unauthenticated attacker can directly send HTTP GET requests to the /console/api/system-features endpoint without any authentication credentials or session tokens. The endpoint fails to implement proper authorization checks, allowing anonymous access to sensitive system configuration data. NOTE: The maintainer states that the endpoint is unauthenticated by design and serves as a bootstrap mechanism required for the dashboard initialization. They also state that the description inaccurately classifies the returned data as sensitive system configuration, stating that the data is non-sensitive and required for client-side rendering. No PII, credentials, or secrets are exposed.
Are you affected?
Enter the version of the package you're using.
Affected packages
0No fixed version published yet for dify-client (pip). Pin to a known-safe version or switch to an alternative.
References
- https://gist.github.com/Cristliu/dfc5f3a31dc6d7fff2754867e5c649a5[WEB]
- https://gist.github.com/Cristliu/cddc0cbbf354de51106ab63a11be94af[ADVISORY]
- https://github.com/langgenius/dify/discussions[REPORT]
- https://github.com/langgenius/dify/issues/31368#issuecomment-3783712203[REPORT]
- https://github.com/langgenius/dify/pull/31392[FIX]
- https://github.com/langgenius/dify/pull/31417[FIX]