VAITP Dataset

Dataset Statistics
Search for CVE
#
CVE
Vulnerability
ODC
Category
Subcategory
Accessibility Scope
Details
Total vulnerabilities in the dataset (not showing ignored and non-python related vulnerabilties): 1612
1310
CVE-2025-20233
Splunk App < 4.0.5 allows low-privilege users broad read/execute access.

In the Splunk App for Lookup File Editing versions below 4.0.5, a script in the app used the `chmod` and `makedirs` Python functions in a way that resulted in overly broad read and execute permissions. This could lead to improper access control for a low-privileged user.

Interface
Configuration Issues
Poorly Designed Access Controls
Local
1309
CVE-2024-8021
Open redirect in gradio-app/gradio allows redirection to malicious sites via URL encoding.

An open redirect vulnerability exists in the latest version of gradio-app/gradio. The vulnerability allows an attacker to redirect users to a malicious website by URL encoding. This can be exploited by sending a crafted request to the application, which results in a 302 redirect to an attacker-controlled site.

Interface
Input Validation and Sanitization
Open Redirects
Remote
1308
CVE-2025-2733
OpenManus Prompt Handler in python_execute.py allows OS command injection. Critical.

A vulnerability classified as critical has been found in mannaandpoem OpenManus up to 2025.3.13. This affects an unknown part of the file app/tool/python_execute.py of the component Prompt Handler. The manipulation leads to os command injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Interface
"Input Validation and Sanitization"
Command Injection
Remote
1307
CVE-2024-7804
Pytorch RPC deserialization flaw allows RCE via malicious PythonUDF objects.

A deserialization vulnerability exists in the Pytorch RPC framework (torch.distributed.rpc) in pytorch/pytorch versions <=2.3.1. The vulnerability arises from the lack of security verification during the deserialization process of PythonUDF objects in pytorch/torch/distributed/rpc/internal.py. This flaw allows an attacker to execute arbitrary code remotely by sending a malicious serialized PythonUDF object, leading to remote code execution (RCE) on the master node.

Interface
Design Defects
Insecure Parsing or Deserialization
Remote
1306
CVE-2024-10902
Arbitrary File Upload, Path Traversal in db-gpt v0.6.0, leads to RCE.

In eosphoros-ai/db-gpt version v0.6.0, the web API `POST /v1/personal/agent/upload` is vulnerable to Arbitrary File Upload with Path Traversal. This vulnerability allows unauthorized attackers to upload arbitrary files to the victim's file system at any location. The impact of this vulnerability includes the potential for remote code execution (RCE) by writing malicious files, such as a malicious `__init__.py` in the Python's `/site-packages/` directory.

Interface
Input Validation and Sanitization
Path Traversal
Remote
1305
CVE-2024-10901
DB-GPT v0.6.0 allows arbitrary SQL & file write, leading to potential RCE.

In eosphoros-ai/db-gpt version v0.6.0, the web API `POST /api/v1/editor/chart/run` allows execution of arbitrary SQL queries without any access control. This vulnerability can be exploited by attackers to perform Arbitrary File Write, enabling them to write arbitrary files to the victim's file system. This can potentially lead to Remote Code Execution (RCE) by writing malicious files such as `__init__.py` in the Python's `/site-packages/` directory.

Interface
**Authentication, Authorization, and Session Manageme
SQL Injection
Remote
1304
CVE-2024-10955
ReDoS in chuanhuchatgpt allows DoS via crafted regex pattern, consuming excessive CPU.

A Regular Expression Denial of Service (ReDoS) vulnerability exists in gaizhenbiao/chuanhuchatgpt, as of commit 20b2e02. The server uses the regex pattern `r']+>'` to parse user input. In Python's default regex engine, this pattern can take polynomial time to match certain crafted inputs. An attacker can exploit this by uploading a malicious JSON payload, causing the server to consume 100% CPU for an extended period. This can lead to a Denial of Service (DoS) condition, potentially affecting the entire server.

Algorithm
Design Defects
Input Validation and Sanitization
Remote
1303
CVE-2024-10624
ReDoS in gradio gr.Datetime via regex `^(?:\s*now\s*...)`, causes high CPU usage.

A Regular Expression Denial of Service (ReDoS) vulnerability exists in the gradio-app/gradio repository, affecting the gr.Datetime component. The affected version is git commit 98cbcae. The vulnerability arises from the use of a regular expression `^(?:\s*now\s*(?:-\s*(\d+)\s*([dmhs]))?)?\s*$` to process user input. In Python's default regex engine, this regular expression can take polynomial time to match certain crafted inputs. An attacker can exploit this by sending a crafted HTTP request, causing the gradio process to consume 100% CPU and potentially leading to a Denial of Service (DoS) condition on the server.

Algorithm
Input Validation and Sanitization
Design Defects
Remote
1302
CVE-2024-12391
ReDoS in gpt_academic allows DoS by controlling regex & search string.

A vulnerability in binary-husky/gpt_academic, as of commit 310122f, allows for a Regular Expression Denial of Service (ReDoS) attack. The function '่งฃๆž้กน็›ฎๆบ็ ๏ผˆๆ‰‹ๅŠจๆŒ‡ๅฎšๅ’Œ็ญ›้€‰ๆบ็ ๆ–‡ไปถ็ฑปๅž‹๏ผ‰' permits the execution of user-provided regular expressions. Certain regular expressions can cause the Python RE engine to take exponential time to execute, leading to a Denial of Service (DoS) condition. An attacker who controls both the regular expression and the search string can exploit this vulnerability to hang the server for an arbitrary amount of time.

Algorithm
Input Validation and Sanitization
Design Defects
Remote
1301
CVE-2024-7806
Open-webui <= 0.3.8: CSRF allows RCE by non-admins modifying Python pipeline code.

A vulnerability in open-webui/open-webui versions <= 0.3.8 allows remote code execution by non-admin users via Cross-Site Request Forgery (CSRF). The application uses cookies with the SameSite attribute set to lax for authentication and lacks CSRF tokens. This allows an attacker to craft a malicious HTML that, when accessed by a victim, can modify the Python code of an existing pipeline and execute arbitrary code with the victim's privileges.

Interface
Design Defects
Cross-Site Request Forgery (CSRF)
Remote
Introducing the "VAITP dataset": a specialized repository of Python vulnerabilities and patches, meticulously compiled for the use of the security research community. As Python's prominence grows, understanding and addressing potential security vulnerabilities become crucial. Crafted by and for the cybersecurity community, this dataset offers a valuable resource for researchers, analysts, and developers to analyze and mitigate the security risks associated with Python. Through the comprehensive exploration of vulnerabilities and corresponding patches, the VAITP dataset fosters a safer and more resilient Python ecosystem, encouraging collaborative advancements in programming security.

The supreme art of war is to subdue the enemy without fighting.

Sun Tzu – “The Art of War”

:: Shaping the future through research and ingenuity ::