Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
CVE-2025-0868
Summary
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 package versions 0.8.1 and after.
- LOW
- NETWORK
- NONE
- NONE
CWE-95 - Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval").
References
Advisory Timeline
- Published