Skip to main content
← All vulnerabilities
CVE-2026-25126

PolarLearn's unvalidated vote direction allows vote count manipulation

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0-PRERELEASE-15
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • polarnl PolarLearn

    fixed in 0-PRERELEASE-15

References 3

GitHub · polarnl/PolarLearn

GitHub · Jvr2022/CVE-2026-25126