CVE-2026-25126

HIGH CVSS 3.1: 7.1 EPSS 0.38%
Updated Jan 29, 2026
PolarLearn
Parameter Value
CVSS 7.1 (HIGH)
Type CWE-20 (Improper Input Validation)
Vendor PolarLearn
Public PoC No

PolarLearn is a free and open-source learning program. Prior to version 0-PRERELEASE-15, the vote API route (`POST /api/v1/forum/vote`) trusts the JSON body’s `direction` value without runtime validation. TypeScript types are not enforced at runtime, so an attacker can send arbitrary strings (e.g., `"x"`) as `direction`. Downstream (`VoteServer`) treats any non-`"up"` and non-`null` value as a downvote and persists the invalid value in `votes_data`.

This can be exploited to bypass intended business logic. Version 0-PRERELEASE-15 fixes the vulnerability.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.1