{"id":"CVE-2026-25126","published":"2026-01-29T22:06:37Z","modified":"2026-02-02T16:34:07Z","title":"PolarLearn's unvalidated vote direction allows vote count manipulation","vendor":"polarnl","product":"PolarLearn","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00466,"percentile":0.3242,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/polarnl/PolarLearn/security/advisories/GHSA-ghpx-5w2p-p3qp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/polarnl/PolarLearn/commit/e6227d94d0e53e854f6a46480db8cd1051184d41","tags":["x_refsource_MISC"]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":6.48},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.97}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-01-31","earliestUrl":"https://github.com/Jvr2022/CVE-2026-25126","repos":[{"name":"Jvr2022/CVE-2026-25126","url":"https://github.com/Jvr2022/CVE-2026-25126","stars":1,"created":"2026-01-31"}]},"first":{"date":"2026-01-31","source":"PoC-in-GitHub","url":"https://github.com/Jvr2022/CVE-2026-25126"},"provenance":"source"},"vendorSlug":"polarnl","affectedVersions":[{"vendor":"polarnl","product":"PolarLearn","versions":["< 0-PRERELEASE-15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-30T14:37:03.172573Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-4937","exploited":false,"provenance":"source"}}