Cyber Resilience

CVE-2024-12776

Auth Bypass in Langgenius Dify 0.10.1

Public PoCAuth Bypass
Published
20 March 2025
Modified
14 July 2025
CVSS Score v3 8.1
Click a component to see what it means
Raw vectorCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0061 46th percentile
Risk Priority 60 floored blend · peak EPSS

Summary

CVE-2024-12776 is a high-severity Authentication Bypass by Primary Weakness (CWE-305) vulnerability in Langgenius Dify. Its CVSS base score is 8.1 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 46th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

This vulnerability is AI-related — categorised as LLM Application Platforms; in the Other ATLAS/OWASP Terms risk domain.

The strongest mitigations our analysis identified map to IA-2 (Identification and Authentication (Organizational Users)) and IA-8 (Identification and Authentication (Non-organizational Users)) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

In langgenius/dify v0.10.1, the `/forgot-password/resets` endpoint does not verify the password reset code, allowing an attacker to reset the password of any user, including administrators. This vulnerability can lead to a complete compromise of the application.

CWE(s)

AI Security AnalysisAI

AI Category
LLM Application Platforms
Risk Domain
Other ATLAS/OWASP Terms
OWASP Top 10 for LLMs 2025
None mapped
Classification Reason
Matched keywords: dify

Related Threats

MITRE ATT&CK Enterprise Techniques

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-12775Same product: Langgenius Dify
CVE-2025-0184Same product: Langgenius Dify
CVE-2025-29720Same product: Langgenius Dify
CVE-2026-41950Same product: Langgenius Dify
CVE-2024-11821Same product: Langgenius Dify
CVE-2026-42138Same product: Langgenius Dify
CVE-2025-49149Same product: Langgenius Dify
CVE-2024-11824Same product: Langgenius Dify
CVE-2025-58747Same product: Langgenius Dify
CVE-2025-3467Same product: Langgenius Dify

Affected Assets

langgenius
dify
0.10.1

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 5 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V6.4.3
  • V7.2.4

Mitigating Controls (NIST 800-53 r5) AI

Requires unique identification and authentication of users, structurally blocking bypass of the mechanism.

Requires unique identification and authentication of non-organizational users, blocking bypass paths.

Enforces approved authorizations so a bypass weakness cannot be exploited to reach resources.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 full match
prevents

Secure development practices throughout the SDLC prevent the primary weaknesses that enable authentication bypass.

PR.AA-03 mostly match
prevents

Strong authentication mechanisms and policy enforcement directly reduce bypass opportunities arising from implementation flaws.

ID.RA-01 partial match
prevents

Identifying and recording vulnerabilities catches the primary weaknesses that allow authentication bypass.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can detect authentication bypass conditions before deployment.

prevents

Secure development lifecycle reduces likelihood of introducing bypass flaws during implementation.

prevents

Secure coding practices help prevent the primary weakness that enables authentication bypass.

mitigates

Information access restriction complements authentication by limiting what can be reached even if bypass occurs.

prevents

Secure authentication mechanisms directly address bypass risks in the implemented authentication process.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (authoritative rows only; rows rated `none` are excluded).

Ubuntu 22.04 (1 rule)
  • V-260470 Ubuntu 22.04 LTS, when booted, must require authentication upon booting into single-user and maintenance modes. prevents CWE-305
Ubuntu 24.04 (1 rule)
  • V-270675 Ubuntu 24.04 LTS when booted must require authentication upon booting into single-user and maintenance modes. prevents CWE-305

References