Docsgpt · Docsgpt · CVE-2025-0868
**Name of the Vulnerable Software and Affected Versions**
DocsGPT versions 0.8.1 through 0.12.0
**Description**
A vulnerability has been found in DocsGPT that could result in Remote Code Execution (RCE). Due to improper parsing of JSON data using `eval()`, an unauthorized attacker could send arbitrary Python code to be executed via the "/api/remote" endpoint.
**Recommendations**
To resolve the issue, update to a version later than 0.12.0.
As a temporary workaround, consider disabling the `eval()` function or restricting access to the "/api/remote" endpoint until a patch is available.
Avoid using the `eval()` function to parse JSON data in the affected API endpoint until the issue is resolved.