PoC Monitor
← All CVEs
CVE-2026-25126published 29 Jan 2026 22:06 UTCData: JSON · API

Polarnl PolarLearn

PolarLearn's unvalidated vote direction allows vote count manipulation

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.

First public PoC 1.4 daysafter publication · 31 Jan 2026
Public PoCs11 on GitHub
CVSS7.1high · scored by CNA · CWE-20
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

polarnl PolarLearn
  • < 0-PRERELEASE-15

Fixed in 0-PRERELEASE-15

Mitigation

Upgrade PolarLearn to 0-PRERELEASE-15 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published29 Jan 2026 · t = 0First public PoC31 Jan 2026 · t+1.4d

First public PoC 1.4 days after publication; not in CISA KEV. First PoC: Jvr2022/CVE-2026-25126 (created 31 Jan 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
Jvr2022/CVE-2026-25126 31 Jan 2026 +1.4 d 1 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

POST /api/v1/forum/vote";

Key headers
Cookie: COOKIE";
Body markers
"postId":"POST ID";" "direction":"invalid_direction" "direction" in application/json
PoC User-Agent
Security-Testing-PoC
Seen in
1 repo: Jvr2022/CVE-2026-25126
Evidence
Jvr2022/CVE-2026-25126/poc.js:9 Jvr2022/CVE-2026-25126/poc.js:22

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /api/v1/forum/vote";
(?i)^/api/v1/forum/vote";(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /api/v1/forum/vote";
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-25126 polarnl PolarLearn exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/v1/forum/vote|22||3b|"; http.header; content:"Cookie: COOKIE|22||3b|"; nocase; http.request_body; content:"|22|postId|22|:|22|POST ID|22||3b||22|"; http.request_body; content:"|22|direction|22|:|22|invalid_direction|22|"; http.request_body; content:"|22|direction|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-25126; classtype:web-application-attack; sid:9259184; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /api/v1/forum/vote";
title: polarnl PolarLearn exploit attempt (CVE-2026-25126)
id: gg-pocmon-cve-2026-25126-9259184
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-25126. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-25126
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/v1/forum/vote";'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.25126