PoC Monitor
← All CVEs
CVE-2025-0868published 20 Feb 2025 11:26 UTCData: JSON · API

Arc53 DocsGPT

Remote Code Execution in DocsGPT

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.

First public PoC 5 daysafter publication · 25 Feb 2025 · nuclei template
Public PoCs42 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS9.3critical · scored by CNA · CWE-95
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

Arc53 DocsGPT
  • >= 0.8.1, <= 0.12.0
docsgpt (npm)
  • >= 0.8.1, <= 0.12.0

from GitHub Security Advisory GHSA-9gff-5v8w-x922

Mitigation

The record names no fix. Check the vendor advisory below.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published20 Feb 2025 · t = 0First public PoC25 Feb 2025 · t+5d

First public PoC 5 days after publication; not in CISA KEV. First PoC: nuclei template: DocsGPT - Unauthenticated Remote Code Execution (nuclei template, 25 Feb 2025).

PoC repositories

Found on GitHub.

2 PoCs

PoCs 2
RepositoryCreatedStarsAssessment
pbuff07/waf_repeater 9 May 2025 +78 d 17 PoC
aidana-gift/CVE-2025-0868 25 May 2025 +94 d 1 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
Exploit-DBDocsGPT 0.12.0 - Remote Code Execution9 Apr 202514 Nov 2026
nuclei templatenuclei template: DocsGPT - Unauthenticated Remote Code Execution25 Feb 202514 Nov 2026

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

POST //cwbase/web/themes/elfinder/php/connector.minimal.php

Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Accept-Language: zh-CN,zh;q=0.9,en;q=0.8 Cookie: id=4878d749336b447428d5a36114e9bfac If-Modified-Since: Sun, 07 Aug 2022 14:54:27 GMT If-None-Match: "62efd223-3" Upgrade-Insecure-Requests: 1
Body markers
target=l1_<@base64>/var/www/html/elfinder/files/<@/base64> downLoad=1 in application/x-www-form-urlencoded
PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Seen in
1 repo: pbuff07/waf_repeater
Evidence
pbuff07/waf_repeater/README.md:59 pbuff07/waf_repeater/payload.txt:1

POST /api/remote

Body markers
"data":"__import__('os').system('rm -rf /')" in application/x-www-form-urlencoded
Ports
7091
Seen in
1 repo: aidana-gift/CVE-2025-0868
Evidence
aidana-gift/CVE-2025-0868/CVE-2025-0868.py:16 aidana-gift/CVE-2025-0868/README.md:66 aidana-gift/CVE-2025-0868/README.md:97

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST //cwbase/web/themes/elfinder/php/connector.minimal.php
(?i)^//cwbase/web/themes/elfinder/php/connector\.minimal\.php(?:[?#].*)?$
POST /api/remote
(?i)^/api/remote(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST //cwbase/web/themes/elfinder/php/connector.minimal.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-0868 Arc53 DocsGPT exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"//cwbase/web/themes/elfinder/php/connector.minimal.php"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/avif,image/webp,image/apng,*/*|3b|q=0.8,application/signed-exchange|3b|v=b3|3b|q=0.9"; nocase; http.header; content:"Accept-Language: zh-CN,zh|3b|q=0.9,en|3b|q=0.8"; nocase; http.header; content:"Cookie: id=4878d749336b447428d5a36114e9bfac"; nocase; http.header; content:"If-Modified-Since: Sun, 07 Aug 2022 14:54:27 GMT"; nocase; http.header; content:"If-None-Match: |22|62efd223-3|22|"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; http.request_body; content:"target=l1_<@base64>/var/www/html/elfinder/files/<@/base64>"; http.request_body; content:"downLoad=1"; reference:url,poc.griffinguard.io/cve/CVE-2025-0868; classtype:web-application-attack; sid:9419265; rev:1;)
POST /api/remote
alert http any any -> $HOME_NET [7091] (msg:"GG PoC-Monitor CVE-2025-0868 Arc53 DocsGPT exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/remote"; http.request_body; content:"|22|data|22|:|22|__import__('os').system('rm -rf /')|22|"; reference:url,poc.griffinguard.io/cve/CVE-2025-0868; classtype:web-application-attack; sid:9336886; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST //cwbase/web/themes/elfinder/php/connector.minimal.php
title: Arc53 DocsGPT exploit attempt (CVE-2025-0868)
id: gg-pocmon-cve-2025-0868-9419265
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-0868. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-0868
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '//cwbase/web/themes/elfinder/php/connector.minimal.php'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.0868
POST /api/remote
title: Arc53 DocsGPT exploit attempt (CVE-2025-0868)
id: gg-pocmon-cve-2025-0868-9336886
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-0868. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-0868
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/remote'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.0868