{"id":"CVE-2025-0868","published":"2025-02-20T11:26:11Z","modified":"2025-10-03T08:56:10Z","title":"Remote Code Execution in DocsGPT","vendor":"Arc53","product":"DocsGPT","tier":"core","eol":null,"affectedVersions":[{"vendor":"Arc53","product":"DocsGPT","versions":[">= 0.8.1, <= 0.12.0"]}],"capec":[{"id":"CAPEC-248","name":"Command Injection"}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-02-20T14:15:08.297948Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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..\n\nThis issue affects DocsGPT: from 0.8.1 through 0.12.0.","provenance":"source","from":"CVE.org"},"summary":{"text":"DocsGPT, an AI documentation assistant from Arc53, contains an improper parsing flaw in which JSON data is passed to Python's eval(), allowing arbitrary code to be injected. An unauthenticated remote attacker with network access to the /api/remote endpoint can send crafted input that executes arbitrary Python code on the server, requiring no user interaction or configuration changes.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:12:18Z"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.17087,"percentile":0.97155,"date":"2026-11-23","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2025-06-08","exploitedFirstSeen":"2025-06-08","ransomware":false,"evidence":[{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-06-08&host_type=src&vulnerability=cve-2025-0868","date":"2025-06-08"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-06-09&host_type=src&vulnerability=cve-2025-0868","date":"2025-06-09"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-06-20&host_type=src&vulnerability=cve-2025-0868","date":"2025-06-20"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-06-21&host_type=src&vulnerability=cve-2025-0868","date":"2025-06-21"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-06-23&host_type=src&vulnerability=cve-2025-0868","date":"2025-06-23"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-06-24&host_type=src&vulnerability=cve-2025-0868","date":"2025-06-24"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-06-25&host_type=src&vulnerability=cve-2025-0868","date":"2025-06-25"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-06-26&host_type=src&vulnerability=cve-2025-0868","date":"2025-06-26"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-06-27&host_type=src&vulnerability=cve-2025-0868","date":"2025-06-27"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-06-28&host_type=src&vulnerability=cve-2025-0868","date":"2025-06-28"}],"evidenceTotal":285,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-95","name":"Improper Neutralization of Directives in Dynamically Evaluated Code"}],"references":[{"url":"https://cert.pl/en/posts/2025/02/CVE-2025-0868/","tags":["third-party-advisory"]},{"url":"https://cert.pl/posts/2025/02/CVE-2025-0868/","tags":["third-party-advisory"]},{"url":"https://github.com/arc53/DocsGPT","tags":["product"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"npm","package":"docsgpt","vulnerableRanges":[">=0.8.1, <=0.12.0"],"patched":[],"from":["GHSA-9gff-5v8w-x922"],"provenance":"source"}],"advisories":[{"id":"GHSA-9gff-5v8w-x922","url":"https://github.com/advisories/GHSA-9gff-5v8w-x922","severity":"CRITICAL","ecosystem":"npm","package":"docsgpt","vulnerableRanges":[">=0.8.1, <=0.12.0"],"patched":[],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2025-4586","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-4586","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":52145,"url":"https://www.exploit-db.com/exploits/52145","title":"DocsGPT 0.12.0 - Remote Code Execution (RCE)","type":"webapps","platform":"python","date":"2025-04-09","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2025-04-09"},"pocGithub":{"count":1,"skipped":0,"earliest":"2025-05-25","earliestUrl":"https://github.com/aidana-gift/CVE-2025-0868","repos":[{"name":"aidana-gift/CVE-2025-0868","url":"https://github.com/aidana-gift/CVE-2025-0868","stars":1,"created":"2025-05-25"}]},"nuclei":[{"id":"CVE-2025-0868","name":"DocsGPT - Unauthenticated Remote Code Execution","severity":"critical","path":"http/cves/2025/CVE-2025-0868.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-0868.yaml"}],"first":{"date":"2025-04-09","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/52145"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2025-02-20","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2025-0868","provenance":"source"},{"date":"2025-04-09","kind":"exploit-public","label":"First public exploit: Exploit-DB (EDB-52145); later: PoC-in-GitHub 2025-05-25","url":"https://www.exploit-db.com/exploits/52145","provenance":"source"},{"date":"2025-06-08","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-06-08&host_type=src&vulnerability=cve-2025-0868","provenance":"source"}],"speed":{"daysToPublicExploit":48,"firstExploitFrom":"Exploit-DB","daysToKev":null},"priority":{"score":65.9,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 533 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.43,"detail":"percentile 0.9716"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 1 PoC-in-GitHub repo; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.51,"detail":"base score 9.3"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}