# CVE-2026-25126: PolarLearn's unvalidated vote direction allows vote count manipulation

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-29T22:06:37.224Z
- Modified: 2026-06-17T10:24:09.197Z
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- polarnl PolarLearn: < 0-PRERELEASE-15
- polarlearn polarlearn: no versions given

## References

- <https://github.com/polarnl/PolarLearn/security/advisories/GHSA-ghpx-5w2p-p3qp> (exploit, vendor-advisory)
- <https://github.com/polarnl/PolarLearn/commit/e6227d94d0e53e854f6a46480db8cd1051184d41> (patch)

## Sources

- CVE List: [CVE-2026-25126](https://www.cve.org/CVERecord?id=CVE-2026-25126), CVE Terms of Use, modified 2026-02-02
- NVD: [CVE-2026-25126](https://nvd.nist.gov/vuln/detail/CVE-2026-25126), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-25126 · Whole record: https://cve.day/CVE-2026-25126.json · Rebuilt by cve.day 2026-11-25T22:59:13.310Z
