Arbitrary Command Injection Affecting docsgpt package, versions *


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-DOCSGPT-8740694
  • published21 Feb 2025
  • disclosed20 Feb 2025
  • creditEryk Winiarz

Introduced: 20 Feb 2025

NewCVE-2025-0868  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

There is no fixed version for docsgpt.

Overview

docsgpt is a DocsGPT 🦖 is an innovative open-source tool designed to simplify the retrieval of information from project documentation using advanced GPT models 🤖.

Affected versions of this package are vulnerable to Arbitrary Command Injection through the improper parsing of JSON data using eval. An attacker can execute arbitrary Python code by sending crafted payloads to the /api/remote endpoint.

CVSS Scores

version 4.0
version 3.1