Gunet openeclass
Open eClass has Unrestricted File Upload that Leads to Remote Code Execution (RCE)
The Open eClass platform (formerly known as GUnet eClass) is a complete course management system. Prior to version 4.2, an arbitrary file upload vulnerability in the theme import functionality enables an attacker with administrative privileges to upload arbitrary files on the server's file system. The main cause of the issue is that no validation or sanitization of the file's present inside the zip archive. This leads to remote code execution on the web server. Version 4.2 patches the issue.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 4.2
Fixed in 4.2
Mitigation
Upgrade openeclass to 4.2 or later.
References
- Vendor advisory github.com/gunet/openeclass/security/advisorie…
- Vendor advisory github.com/gunet/openeclass/security/advisorie…
- Patch github.com/gunet/openeclass/commit/3f9d267b798…
Timeline
Days relative to CVE publicationFirst public PoC 3.9 days after publication; not in CISA KEV. First PoC: Ashifcoder/CVE-2026-22241 (created 12 Jan 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs · 2 informational · 1 suspicious or fake
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Ashifcoder/CVE-2026-22241 | 12 Jan 2026 +3.9 d | 1 | PoC |
Informational 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 0xBlackash/CVE-2026-22241 | 18 Apr 2026 +100 d | 1 | Informational · write-up |
| ashrafzaryouh/CVE-2026-22241 | 18 Apr 2026 +100 d | 1 | Informational · write-up |
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| CVEs-Labs/CVE-2026-22241 | 18 Feb 2026 +41 d | 0 | Suspicious · score 80
Why suspicious
|
Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | GUnet OpenEclass E-learning platform < 4.2 - Remote Code Execution (RCE) | 29 Apr 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /courses/theme_data/{var}
- Query
cmd=rmcmd=- Seen in
- 1 repo: Ashifcoder/CVE-2026-22241
- Evidence
- Ashifcoder/CVE-2026-22241/CVE-2026-22241.py:37 Ashifcoder/CVE-2026-22241/CVE-2026-22241.py:57
GET /main/login_form.php
- Query
next=/main/portfolio.php- Seen in
- 1 repo: Ashifcoder/CVE-2026-22241
- Evidence
- Ashifcoder/CVE-2026-22241/CVE-2026-22241.py:88
GET /modules/admin/theme_options.php
- Seen in
- 1 repo: Ashifcoder/CVE-2026-22241
- Evidence
- Ashifcoder/CVE-2026-22241/CVE-2026-22241.py:100
POST /
- Query
login_page=1- Key headers
Referer: {var}/main/login_form.php?next=%2Fmain%2Fportfolio.php- Body markers
next=/main/portfolio.phpuname=pass=submit=Enterinapplication/x-www-form-urlencoded- Seen in
- 1 repo: Ashifcoder/CVE-2026-22241
- Evidence
- Ashifcoder/CVE-2026-22241/CVE-2026-22241.py:91
POST /courses/theme_data/{var}
- Query
cmd=- Body markers
name="themeFile"name="import"name="token"inmultipart/form-data- Seen in
- 1 repo: Ashifcoder/CVE-2026-22241
- Evidence
- Ashifcoder/CVE-2026-22241/CVE-2026-22241.py:116
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/courses/theme_data/[^/?#]*\?(?:.*&)?cmd=rm.*cmd=
(?i)^/main/login_form\.php\?(?:.*&)?next=/main/portfolio\.php
(?i)^/modules/admin/theme_options\.php(?:[?#].*)?$
(?i)^/\?(?:.*&)?login_page=1
(?i)^/courses/theme_data/[^/?#]*\?(?:.*&)?cmd=
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-22241 gunet openeclass exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/courses/theme_data/"; http.uri; content:"cmd=rm"; http.uri; content:"cmd="; reference:url,poc.griffinguard.io/cve/CVE-2026-22241; classtype:web-application-attack; sid:9747870; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-22241 gunet openeclass exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/main/login_form.php"; http.uri; content:"next=/main/portfolio.php"; reference:url,poc.griffinguard.io/cve/CVE-2026-22241; classtype:web-application-attack; sid:9710847; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-22241 gunet openeclass exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/modules/admin/theme_options.php"; reference:url,poc.griffinguard.io/cve/CVE-2026-22241; classtype:web-application-attack; sid:9772995; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-22241 gunet openeclass exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"login_page=1"; http.header_names; content:"Referer"; nocase; http.request_body; content:"next=/main/portfolio.php"; http.request_body; content:"uname="; http.request_body; content:"pass="; http.request_body; content:"submit=Enter"; reference:url,poc.griffinguard.io/cve/CVE-2026-22241; classtype:web-application-attack; sid:9861939; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-22241 gunet openeclass exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/courses/theme_data/"; http.uri; content:"cmd="; http.request_body; content:"name=|22|themeFile|22|"; http.request_body; content:"name=|22|import|22|"; http.request_body; content:"name=|22|token|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-22241; classtype:web-application-attack; sid:9428652; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: gunet openeclass exploit attempt (CVE-2026-22241)
id: gg-pocmon-cve-2026-22241-9747870
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-22241. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-22241
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/courses/theme_data/'
cs-uri-query|contains|all:
- 'cmd=rm'
- 'cmd='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.22241
title: gunet openeclass exploit attempt (CVE-2026-22241)
id: gg-pocmon-cve-2026-22241-9710847
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-22241. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-22241
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/main/login_form.php'
cs-uri-query|contains|all:
- 'next=/main/portfolio.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.22241
title: gunet openeclass exploit attempt (CVE-2026-22241)
id: gg-pocmon-cve-2026-22241-9772995
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-22241. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-22241
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/modules/admin/theme_options.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.22241
title: gunet openeclass exploit attempt (CVE-2026-22241)
id: gg-pocmon-cve-2026-22241-9861939
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-22241. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-22241
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-query|contains|all:
- 'login_page=1'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.22241
title: gunet openeclass exploit attempt (CVE-2026-22241)
id: gg-pocmon-cve-2026-22241-9428652
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-22241. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-22241
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/courses/theme_data/'
cs-uri-query|contains|all:
- 'cmd='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.22241