nday
CVE-2025-0868

Remote Code Execution in DocsGPT

Arc53 / DocsGPT

A public PoC appeared 48 days after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 2 of 4 PoC sources: exploitdb and nuclei. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

code injection
CWE-95, stated by the CNA CERT-PL and NVD, republishing [email protected]
remote, unauthenticated
AV:N, PR:N, UI:N in 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 (CVSS 4.0) from the CNA CERT-PL
network
AV:N in 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 (CVSS 4.0) from the CNA CERT-PL
no authentication required
PR:N in 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 (CVSS 4.0) from the CNA CERT-PL
no user interaction
UI:N in 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 (CVSS 4.0) from the CNA CERT-PL
Exploit-DB
Exploit-DB entries 52145
nuclei
nuclei templates CVE-2025-0868
stage
POC
disclosed
disclosure → PoC
T+48d POC is date-only
cvss
9.3 CRITICAL v4.0

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2025-02-20T11:26Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2025-04-09, date only
nuclei
ITWexploited
no record yet
KEVKEV
no record yet

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: from 0.8.1 through 0.12.0.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no target-specific security measures to get around
Attack requirements AT:N
None: success does not depend on how the target is deployed or running
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 4.0 vector from the CVE record, scored by the CNA CERT-PL.

Event log

+DISdisclosed

CVE record published by CERT-PL. CVSS 9.3, critical.

src cvelist · nday , bulk import · raw
{
  "id": 60214,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2025-0868",
  "occurred_at": "2025-02-20T11:26:11.784Z",
  "observed_at": "2026-11-12T17:00:49.411818Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "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",
      "version": "4.0",
      "base_score": 9.3,
      "base_severity": "CRITICAL"
    },
    "ssvc": {
      "timestamp": "2025-02-20T14:15:08.297948Z",
      "automatable": "yes",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2025-02-20T11:26:11.784Z",
    "assigner_short_name": "CERT-PL"
  }
}
2025-04-09date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “DocsGPT 0.12.0 - Remote Code Execution” (EDB-52145). Verified by Exploit-DB.

src exploitdb 52145 · nday , bulk import · raw
{
  "id": 42286,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/52145",
  "occurred_at": "2025-04-09T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "52145",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/52145",
    "file": "exploits/python/webapps/52145.py",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "DocsGPT 0.12.0 - Remote Code Execution",
    "author": "Shreyas Malhotra",
    "edb_id": 52145,
    "cve_ids": [
      "CVE-2025-0868"
    ],
    "platform": "python",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2025-04-09",
    "date_updated": "2025-04-09",
    "date_published": "2025-04-09"
  }
}
time unknownsource gave no time
+POCpublic PoC

Nuclei has detection template CVE-2025-0868 (DocsGPT - Unauthenticated Remote Code Execution). The source gives no release time for the template.

src nuclei · nday , bulk import · raw
{
  "id": 56606,
  "type": "poc_published",
  "source": "nuclei",
  "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-0868.yaml",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:53.738369Z",
  "is_backfill": true,
  "dedupe_key": "CVE-2025-0868",
  "detail": {
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-0868.yaml",
    "kind": "detection_template",
    "title": "DocsGPT - Unauthenticated Remote Code Execution",
    "severity": "critical",
    "confidence": "curated",
    "cvss_score": "N/A",
    "template_id": "CVE-2025-0868",
    "template_path": "http/cves/2025/CVE-2025-0868.yaml"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.