9.3
CRITICAL CVSS 4.0
CVE-2025-0868
DocsGPT JSON Code Injection RCE
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.

INFO

Published Date :

Feb. 20, 2025, 12:15 p.m.

Last Modified :

Feb. 20, 2025, 12:15 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2025-0868 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 4.0 CRITICAL [email protected]
Solution
Update DocsGPT to a version that addresses improper JSON parsing and the use of eval().
  • Update DocsGPT to a version later than 0.12.0.
  • Avoid using eval() with untrusted JSON input.
  • Sanitize or validate all JSON inputs.
Public PoC/Exploit Available at Github

CVE-2025-0868 has a 5 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-0868.

URL Resource
https://cert.pl/en/posts/2025/02/CVE-2025-0868/
https://cert.pl/posts/2025/02/CVE-2025-0868/
https://github.com/arc53/DocsGPT
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-0868 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Python

Updated: 3 months ago
0 stars 0 fork 0 watcher
Born at : May 25, 2025, 1:14 p.m. This repo has been linked 1 different CVEs too.

一个用于测试不同 WAF (Web Application Firewall) 对 payload 拦截情况的工具

payload waf

Python

Updated: 1 month, 1 week ago
15 stars 1 fork 1 watcher
Born at : May 9, 2025, 7:08 a.m. This repo has been linked 1 different CVEs too.

None

HTML Python Shell

Updated: 1 month, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : Feb. 13, 2025, 8:50 a.m. This repo has been linked 891 different CVEs too.

This Repo clone and organize all nuclei templates that are found in Github.

Updated: 4 months, 2 weeks ago
6 stars 0 fork 0 watcher
Born at : Aug. 31, 2024, 10:16 a.m. This repo has been linked 3 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 1 day, 10 hours ago
7229 stars 1202 fork 1202 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 802 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-0868 vulnerability anywhere in the article.

  • cert.pl
Vulnerability in DocsGPT software

CVE ID CVE-2025-0868 Publication date 20 February 2025 Vendor Arc53 Product DocsGPT Vulnerable versions From 0.8.1 through 0.12.0 Vulnerability type (CWE) Improper Neutralization of Special Elements u ... Read more

Published Date: Feb 20, 2025 (6 months, 1 week ago)

The following table lists the changes that have been made to the CVE-2025-0868 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    Feb. 20, 2025

    Action Type Old Value New Value
    Added 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.
    Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CWE CWE-77
    Added Reference https://cert.pl/en/posts/2025/02/CVE-2025-0868/
    Added Reference https://cert.pl/posts/2025/02/CVE-2025-0868/
    Added Reference https://github.com/arc53/DocsGPT
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 9.3
Attack Vector
Attack Complexity
Attack Requirements
Privileges Required
User Interaction
VS Confidentiality
VS Integrity
VS Availability
SS Confidentiality
SS Integrity
SS Availability