Cyber Resilience

CVE-2025-0868

RCE

Published
20 February 2025
Modified
15 April 2026
CVSS Score v4 9.3
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.17 97th percentile
Risk Priority 57 floored blend · peak EPSS

Summary

CVE-2025-0868 is a critical-severity Eval Injection (CWE-95) vulnerability in Cert (inferred from references). Its CVSS base score is 9.3 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique JavaScript (T1059.007); ranked in the top 3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

A vulnerability resulting in remote code execution has been identified in DocsGPT versions 0.8.1 through 0.12.0. The issue arises from improper parsing of JSON data via the eval() function, enabling an attacker to supply arbitrary Python code for execution through the /api/remote endpoint. It is tracked as CWE-95 and carries a CVSS 4.0 score of 9.3 reflecting network-accessible attack vector, low complexity, and no required privileges or user interaction.

An unauthenticated remote attacker can send crafted requests to the exposed endpoint and obtain arbitrary code execution, resulting in full compromise of confidentiality, integrity, and availability on the affected DocsGPT instance.

Public advisories published by CERT.pl at the referenced URLs describe the flaw and point to the upstream DocsGPT repository for further details, though no specific patch or mitigation steps are enumerated in the available information. The associated EPSS score has remained flat at 0.1728 with no material increase observed after disclosure.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

affects DocsGPT: from 0.8.1 through 0.12.0.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1059.007 JavaScript Execution
Adversaries may abuse various implementations of JavaScript for execution.
T1059 Command and Scripting Interpreter Execution
Adversaries may abuse command and script interpreters to execute commands, scripts, or binaries.
T1059.001 PowerShell Execution
Adversaries may abuse PowerShell commands and scripts for execution.
T1059.004 Unix Shell Execution
Adversaries may abuse Unix shell commands and scripts for execution.
T1059.005 Visual Basic Execution
Adversaries may abuse Visual Basic (VB) for execution.
T1059.006 Python Execution
Adversaries may abuse Python commands and scripts for execution.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-4001Shared CWE-95
CVE-2025-15551Shared CWE-95
CVE-2026-14380Shared CWE-95
CVE-2023-7245Shared CWE-95
CVE-2026-44643Shared CWE-95
CVE-2025-43466Shared CWE-95
CVE-2026-23885Shared CWE-95
CVE-2026-11422Shared CWE-95
CVE-2025-71361Shared CWE-95
CVE-2025-49598Shared CWE-95

Affected Assets

Cert
inferred from references and description; NVD did not file a CPE for this CVE

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V1.3.2

Mitigating Controls (NIST 800-53 r5) AI

Developer testing and code analysis can discover eval-injection flaws but does not stop their introduction.

Input validation explicitly requires neutralizing untrusted data before it reaches dynamic evaluation constructs such as eval.

Secure-development standards and tools can mandate safe coding patterns that avoid unsafe dynamic evaluation.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require input neutralization and avoidance of unsafe dynamic evaluation.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing in development can detect eval injection vulnerabilities before deployment.

prevents

Secure development life cycle mandates input validation and safe coding practices that directly prevent eval injection.

prevents

Application security requirements include rules against dynamic code execution of untrusted input.

prevents

Secure architecture principles discourage unsafe dynamic evaluation constructs.

prevents

Secure coding explicitly requires neutralization of input before dynamic evaluation, directly mitigating eval injection.

none

Separation of environments limits the blast radius if eval injection occurs in non-production.

References