HIGH · CVSS 8.8 Published: 2025-03-20

CVE-2025-1796 — Technical Security Advisory & CVSS Profile

A vulnerability in langgenius/dify v0.10.1 allows an attacker to take over any account, including administrator accounts, by exploiting a weak pseudo-random number generator (PRNG) used for generating password reset codes. The application uses `random.randint` for this purpose, which is not suitable for cryptographic use and can be cracked. An attacker with access to workflow tools can extract the PRNG output and predict future password reset codes, leading to a complete compromise of the application.

Technical Metadata

IdentifierCVE-2025-1796
Base Severity / ScoreHIGH (8.8 / 10.0)
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness ClassificationCWE-338
Archive CategoriesHIGH Advisories · 2025 Index

Operational Mitigation Guidance

Prioritize remediation in the next maintenance cycle. Validate affected dependency versions in SBOM manifests and review inbound access controls. For architectural isolation principles, review per-process namespace isolation.

Upstream References

Related Security Advisories

CVE-2025-1793 CRITICAL 9.8
CVE-2025-1798 MEDIUM 6.1
CVE-2025-1814 HIGH 8.8
CVE-2025-1828 HIGH 8.8
CVE-2025-1840 HIGH 7.3
CVE-2025-1841 HIGH 7.3
CVE-2025-1850 HIGH 7.3
CVE-2025-1851 HIGH 8.8