CVE-2026-141372: Unlimited inflation of points, level and leaderboard position in The Hackers Labs Academy through repeatable awards for reversible actions
Improper Enforcement of a Single, Unique Action (CWE-837) in the leaderboard award paths of The Hackers Labs Academy allows any authenticated user to raise their own points, level and leaderboard position without limit, by repeating an action they are able to reverse themselves. LikeToggleView (backend/apps/community/views.py) creates a LeaderboardPoint of action LIKERECEIVED, worth 2 points, for the author of a post when a like is created; on the next call it deletes the Like row and leaves the point in place, so a like, unlike and like again sequence adds 2 points per cycle. That view carries no check that the liker is not the author of the post, so the sequence can be run against the user's own post, and its only permission class is IsAuthenticated. MarkLessonCompleteView (backend/apps/classroom/views.py) creates a LeaderboardPoint of action LESSONCOMPLETED, worth 20 points, under a guard on progress.completed, while its DELETE method sets completed back to False without removing the point, so the guard passes again and a complete, uncomplete and complete again sequence adds 20 points per cycle; that path additionally requires an active membership. No negative or compensating event exists for a reversed action. LeaderboardPoint.save recalculates user.points as the sum of every point row belonging to the user and persists it, the level property of the user model derives from user.points, and buildranking orders the top 50 by that same sum, so an inflated total carries into the level and into the weekly, monthly and global rankings. This results in the points, level and ranking position of an account being settable to any value by that account alone.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch 52e19779274678b95945517dc11b73dfc4436257
Event History
Frequently Asked Questions
Who can exploit the affected award paths?
The like-based path is available to any authenticated user. The lesson-completion path requires an authenticated user with an active membership.
Does exploitation require interaction with another user's content or account?
No. The like path does not prevent a user from liking their own post, allowing the user to generate points against self-authored content.
What happens to awarded points when the triggering action is reversed?
The affected reverse operations remove the like or reset lesson completion status, but do not remove the associated LeaderboardPoint. Repeating the action after reversal awards additional points each time.