CVE-2026-25126: CWE-20: Improper Input Validation in polarnl PolarLearn
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.
CVE-2026-25126: CWE-20: Improper Input Validation in polarnl PolarLearn
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.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-01-29T14:03:42.540Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 697bdb5fac06320222be5e8b
Added to database: 1/29/2026, 10:12:47 PM
Last updated: 1/29/2026, 10:12:52 PM
Views: 1
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2026-25117: CWE-20: Improper Input Validation in pwncollege dojo
HighCVE-2026-1625: Command Injection in D-Link DWR-M961
MediumCVE-2026-1624: Command Injection in D-Link DWR-M961
MediumCVE-2026-25063: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in gradle gradle-completion
HighCVE-2026-25061: CWE-787: Out-of-bounds Write in simsong tcpflow
MediumActions
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.