Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-1796

published high CVSS 3.0 · 7.5

Admin account takeover through weak Pseudo-Random number generator used in generating password reset codes in langgenius/dify

Published
20 Mar 2025, 10:08:46 UTC
Updated
15 Oct 2025, 12:50:50 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
langgenius — langgenius/difyunspecified through latest Affected Not stated @huntr_ai

Description

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.

en · @huntr_ai · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.0
Base score
7.5 / 10
Severity
high
Provider
@huntr_ai · cna
Vector string
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
langgenius langgenius/dify unspecified through latest (affected · custom) @huntr_ai · cna

Weaknesses

1
  • CWE-338 CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) (@huntr_ai · cna)

References

1

Provider assertions

2

@huntr_ai · cna

Admin account takeover through weak Pseudo-Random number generator used in generating password reset codes in langgenius/dify

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.1
Searchable
yes
Content hash
cc2a754b793c8f4f99b56c4c0192ba6ac899afb4c7f9be35e2cd5fb9e1deb3d9
Ingested
23 Sep 2026, 08:38:52 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected