CVE-2025-0868
CRITICAL EXPLOITED NUCLEIDocsGPT 0.8.1-0.12.0 - Remote Code Execution via /api/remote Endpoint
Title source: llmExploitation Summary
CVE-2025-0868 has been observed exploited in the wild (reported by VulnCheck KEV). EIP tracks 3 public exploits from researchers including Shreyas Malhotra, iSee857, aidana-gift. A Nuclei detection template is also available.
AI-analyzed exploit summary This exploit demonstrates a Remote Code Execution (RCE) vulnerability in DocsGPT versions 0.8.1 through 0.12.0. It sends a maliciously crafted POST request to the `/api/remote` endpoint, injecting a payload that executes arbitrary commands via Python's `__import__('os').system()` function.
Description
A vulnerability, that could result in Remote Code Execution (RCE), has been found in DocsGPT. Due to improper parsing of JSON data using eval() an unauthorized attacker could send arbitrary Python code to be executed via /api/remote endpoint.. This issue affects DocsGPT: from 0.8.1 through 0.12.0.
Exploits (3)
This exploit demonstrates a Remote Code Execution (RCE) vulnerability in DocsGPT versions 0.8.1 through 0.12.0. It sends a maliciously crafted POST request to the `/api/remote` endpoint, injecting a payload that executes arbitrary commands via Python's `__import__('os').system()` function.
The repository contains a functional exploit for CVE-2026-22812, demonstrating remote command execution (RCE) in OpenCode. The script sends a crafted JSON payload to the '/session' endpoint to obtain a session ID, then executes the 'id' command via the '/session/{id}/shell' endpoint.
This repository contains a functional Python exploit for CVE-2025-0868, an RCE vulnerability in DocsGPT versions 0.8.1 through 0.12.0. The exploit leverages unsafe `eval()` usage in the `/api/remote` endpoint to execute arbitrary Python code via crafted JSON input.
Nuclei Templates (1)
body="Welcome to DocsGPT"
References (3)
Scores
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N