
Detailed CVE-2026-51788 advisory for a DoS vulnerability in cleverange_auth v0.1.10, with technical analysis, CVSS scoring, and mitigation guidance for developers.
CVE ID: CVE-2026-51788
Status: Assigned
Date Discovered: 2026-04-27
Researcher: Aykhan Isgandarli
Severity: High (CVSS v3.1: 7.5)
CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Product: cleverange_auth
Affected Version: v0.1.10
CWE: CWE-400 (Uncontrolled Resource Consumption), CWE-770 (Allocation of Resources Without Limits)
A Denial of Service (DoS) vulnerability exists in cleverange_auth version 0.1.10. The vulnerability is caused by the automatic generation of verification records and immediate email delivery whenever a new User object is created.
If an application using this package exposes a publicly accessible registration endpoint without appropriate abuse protections such as rate limiting or CAPTCHA, an unauthenticated remote attacker can repeatedly create new accounts and trigger excessive email generation and database writes, resulting in resource exhaustion.
File
accounts/models.py
Function
@receiver(post_save, sender=User)
def create_verification(...)
When a new User object is created, the create_verification post-save signal automatically performs the following operations:
Verification object.account_code.verify_code.The relevant code path is:
@receiver(post_save, sender=User)
def create_verification(sender, instance, created, **kwargs):
if created:
current_user = Verification.objects.create(user=instance)
ac_code = ''.join([str(random.randint(0, 999)).zfill(3) for _ in range(4)])
current_user.account_code = ac_code
code_num = ''.join([str(random.randint(0, 999)).zfill(3) for _ in range(2)])
current_user.verify_code = code_num
email.send(fail_silently=False)
Because the signal performs these actions automatically for every newly created user, applications that do not implement request throttling or other anti-automation controls may allow attackers to repeatedly trigger expensive operations.
An unauthenticated attacker may repeatedly submit registration requests to trigger:
User and Verification recordsThe impact depends on how the application using the package exposes its registration functionality and what abuse protections are implemented by the application.
| Property | Value |
|---|---|
| Attack Vector | Network |
| Privileges Required | None |
| User Interaction | None |
| Authentication | Not Required |
The package automatically performs resource-intensive operations whenever a new User instance is created, including:
When these operations are exposed through an unauthenticated registration workflow without rate limiting or other abuse protections, they can be repeatedly triggered by an attacker, leading to uncontrolled resource consumption.
Applications using this package should implement multiple layers of abuse protection, including:
Discovered and responsibly reported by Aykhan Isgandarli.
This advisory is provided for defensive and educational purposes. Administrators and developers using affected versions should apply appropriate mitigations and follow secure development practices to reduce the risk of resource exhaustion attacks.
| Attack Complexity | Low |