S4E just found a high-severity finding from top 10 tcp port service scan
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
critical·Product Based Web Vulnerabilities·Updated Feb 25, 2025

CVE-2025-0868 Scanner

CVE-2025-0868 Scanner - Remote Code Execution vulnerability in DocsGPT

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsdomain, subdomain, ipv4
CostFree
3.1k
Times Used
continuous scan runs
4.8k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2025-0868
9.3
CVSScritical
Exploitable remotely over the internet · no authentication required.

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.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
DocsGPTby Arc53
0.8.1
Updated Aug 22, 2026View on NVD →
Detail

DocsGPT is a tool commonly used by developers and technical writers to generate or convert documentation using AI capabilities. It streamlines the documentation process by integrating with various data sources and processing large amounts of information quickly. Developed by the DocsGPT community, it is typically employed in software development environments where rapid documentation is essential. The software supports multiple input and output formats, making it versatile for different types of projects. Users appreciate its ability to simplify documentation generation, allowing them to focus on developing features. Overall, DocsGPT is valued for its efficiency and the automation it brings to creating technical documentation.

The Remote Code Execution (RCE) vulnerability in DocsGPT allows unauthorized attackers to execute arbitrary code on affected systems. The flaw arises from improper parsing of JSON data at the /api/remote endpoint, where the eval() function is utilized inadequately. This vulnerability could be exploited by sending crafted requests that execute malicious Python code. The potential for exploitation underscores the serious security risk posed by this vulnerability. Ensuring secure coding practices and the proper handling of JSON data are critical in mitigating this kind of threat. Organizations using the affected versions must be vigilant and consider patching or applying mitigations promptly.

The vulnerability affects the /api/remote endpoint of DocsGPT, where the JSON data is evaluated without sufficient input validation. Attackers can exploit this by crafting a request that introduces arbitrary Python commands within the evaluated JSON data. The parameters such as "client_secret" and "rce\ are misused to inject code using the __import__ function. Specifically, this involves directing the system to interact with a remote server controlled by the attacker. Due to weak input validation, the template can essentially interpret and execute these commands, allowing the attacker remote control over the server. The ease of exploitability emphasizes the need for thorough validation checks and updated security measures.

Exploitation of this vulnerability can lead to severe consequences such as unauthorized access to sensitive data, system integrity compromise, and network breaches. Attackers may run arbitrary scripts or malware on the compromised servers, potentially allowing them to pivot deeper into the network. The organization could face data theft, service disruption, and reputational damage as a result. Remediation involves immediate patching, along with adopting secure coding and data validation practices to prevent similar vulnerabilities. Organizations should monitor their systems for signs of exploitation and enhance their incident response procedures accordingly.

REFERENCES

Solution Advice
  • Update to a patched version of DocsGPT to mitigate the vulnerability.
  • Ensure proper input validation and sanitization on JSON data before execution.
  • Disable the use of unsafe functions like eval() within the codebase where possible.
  • Conduct a thorough code review for similar vulnerabilities in the application.
  • Implement intrusion detection systems to monitor suspicious activities.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.