Improper input validation in Polarlearn
CVE-2026-25126
- CVSS v3
- 7.1 High
- Public exploits
- 1 repository
- EPSS
- 0.004 · 32.2th percentile
- Published
- 2026-01-29
What to do
- Fixed in
0-PRERELEASE-15- Affected
- 2 affected products
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- High
I:H - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.004, 32.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Polarlearn
- Polarnl Polarlearn — versions < 0-PRERELEASE-15
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- Jvr2022/CVE-2026-25126 (1 star, last pushed 2026-01-31): CVE-2026-25126 Proof-of-Concept demonstrating vote count manipulation in PolarLearn due to improper runtime validation of the forum vote direction parameter. Published after upstream patch release.