Browse the dataset
- 2,412 vulnerabilities
- 2,412 vulnerable / patched code pairs
- 930 exploit payloads
- 10 categories
- newest CVE
| CVE | Summary | Category | CWE | Scope | CVSS | Published |
|---|---|---|---|---|---|---|
| CVE-2013-5106 | PyPI package "d8s-asns" v0.1.0 had a code-execution backdoor ("democritus-csv") added by an unauthorized party | Input Validation and Sanitization Command Injection | CWE-20 | Remote | 8.8 | |
| CVE-2020-5227 | XML DoS in pre-0.9.0 Feedgen (Python), allows XML content in fields, leading to potential XML Bomb exploit | Input Validation and Sanitization Insecure Parsing or Deserialization | CWE-776 | Remote | 7.5 | |
| CVE-2019-7617 | Elastic APM Python < 5.1.0 CGI script allows remote attacker to control proxy header and redirect data to chosen proxy | Input Validation and Sanitization Insecure Parsing or Deserialization | CWE-20 | Remote | 7.2 | |
| CVE-2022-36069 | Git command execution in Poetry Python < 1.1.9 due to input handling issue | Input Validation and Sanitization Command Injection | CWE-88 | Remote | 7.3 | |
| CVE-2022-36070 | Poetry on Windows executes untrusted code | Input Validation and Sanitization Command Injection | CWE-426 | Local | 7.3 | |
| CVE-2023-34233 | Snowflake Connector for Python < 3.0.2 vulnerable to SSO URL command injection | Input Validation and Sanitization Command Injection | CWE-77 | Remote | 8.8 | |
| CVE-2022-42965 | Python-libnmap <=0.7.2: Remote command execution due to argument validation flaw | Input Validation and Sanitization Insecure Parsing or Deserialization | CWE-1333 | Remote | 7.5 | |
| CVE-2023-40587 | Exponential ReDoS in Snowflake-Connector-Python via get_file_transfer_type method | Input Validation and Sanitization Path Traversal | CWE-22 | Local | 5.3 | |
| CVE-2022-40899 | Python Charmers Future 0.18.2 and earlier: DoS via malicious Set-Cookie header | Input Validation and Sanitization Insecure Parsing or Deserialization | CWE-400 | Remote | 7.5 | |
| CVE-2020-15141 | Openapi-python-client < 0.5.3 allows malicious files anywhere on disk | Input Validation and Sanitization Path Traversal | CWE-22 | Local | 4.1 | |
| CVE-2020-15142 | Malicious OpenAPI Document in openapi-python-client < 0.5.3 allows arbitrary Python code execution | Input Validation and Sanitization Insecure Parsing or Deserialization | CWE-94 | Remote | 9.0 | |
| CVE-2007-4559 | Directory traversal vulnerability in the (1) extract and (2) extractall functions in the tarfile module in Python | Input Validation and Sanitization Insecure Parsing or Deserialization | CWE-22 | Remote | 9.8 | |
| CVE-2014-4650 | Path Traversal Vulnerability | Input Validation and Sanitization Path Traversal | CWE-22 | Remote | 9.8 | |
| CVE-2015-20107 | Command injection in mailcap module | Input Validation and Sanitization Command Injection | CWE-77 | Remote | 7.6 | |
| CVE-2016-5699 | CRLF Injection Vulnerability in urllib2 and urllib | Input Validation and Sanitization Insecure Parsing or Deserialization | CWE-113 | Remote | 6.1 | |
| CVE-2018-1000802 | CPython Command Injection in shutil module make_archive | Input Validation and Sanitization Command Injection | CWE-77 | Local | 9.8 | |
| CVE-2019-16935 | XSS vulnerability in Python XML-RPC server documentation | Input Validation and Sanitization Command Injection | CWE-79 | Remote | 6.1 | |
| CVE-2020-27619 | Eval call in CJK codec tests in Python 3 | Input Validation and Sanitization Insecure Parsing or Deserialization | CWE-94 | Local | 9.8 | |
| CVE-2021-23336 | Python versions 0 to 3.9.2 vulnerable to Web Cache Poisoning via urllib.parse | Input Validation and Sanitization Insecure Parsing or Deserialization | CWE-444 | Remote | 5.9 | |
| CVE-2022-42919 | Local privilege escalation vulnerability in Python's multiprocessing library on Linux | Input Validation and Sanitization Insecure Parsing or Deserialization | CWE-502 | Local | 7.8 | |
| CVE-2023-24329 | Bypassing blocklisting methods in urllib.parse component | Input Validation and Sanitization Insecure Parsing or Deserialization | CWE-20 | Remote | 7.5 | |
| CVE-2023-27043 | Incorrect parsing of e-mail addresses in Python email module | Input Validation and Sanitization Insecure Parsing or Deserialization | CWE-20 | Remote | 5.3 |
Download the dataset
Every visible entry with all of its fields: classification, descriptions, the vulnerable and patched code pair, and the exploit payload where there is one. Current files: 2,411 entries, built .
- CSV For spreadsheets, pandas and R. One row per entry; code samples are quoted fields. 9.0 MB
- JSON Records plus licence, citation and field descriptions in one file. 10.0 MB
SHA-256 checksums
00100ae17adddda8f786a502580a64470cdaa8e95d6d33eded83ffdbdfc63386 vaitp-dataset-2026-11-21.csv
77624d5fe7cf1f5e7dde13d81a8186fd8fc520a506b7dedf831e3ffc6a232722 vaitp-dataset-2026-11-21.json
Licence and citation
The VAITP dataset is published under the Creative Commons Attribution 4.0 International (CC BY 4.0) licence: you may share and adapt it for any purpose, with attribution.
Bogaerts, F., Ivaki, N., & Fonseca, J. (2026). VAITP Python Vulnerability Dataset [Data set]. https://netpack.pt/vaitp/dataset/
@misc{vaitp_dataset_2026,
title = {{VAITP} Python Vulnerability Dataset},
author = {Bogaerts, Fr\'ed\'eric and Ivaki, Naghmeh and Fonseca, Jos\'e},
year = {2026},
howpublished = {\url{https://netpack.pt/vaitp/dataset/}},
note = {Licensed under CC BY 4.0}
}
What each field means
| Field | Meaning |
|---|---|
id | Internal VAITP record number. |
cve | CVE identifier. |
cve_url | Link to the CVE record. |
cwe | CWE weakness as stored, e.g. "CWE-79" or "CWE-94 (inferred)" when assigned by the labelling model rather than NVD. |
cwe_number | Numeric CWE identifier, when there is one. |
cwe_url | Link to the CWE definition at MITRE. |
cvss_score | CVSS base score from NVD (newest version available). Empty when NVD has not scored it. |
cvss_rating | Qualitative rating of the score: low, medium, high or critical. |
published | CVE publication date (YYYY-MM-DD). |
owasp | OWASP Top 10 category. |
odc | Orthogonal Defect Classification defect type. |
cdc | Code defect classification (VAITP taxonomy). |
category | Vulnerability category (VAITP taxonomy). |
subcategory | Vulnerability subcategory (VAITP taxonomy). |
scope | Accessibility scope: whether the flaw is reachable remotely or only locally. |
impact | Main impact of a successful exploit. |
summary | One-line description. |
description | Full CVE description. |
solution | How the vulnerability is fixed or mitigated. |
affected_component | Library, package or component the change is in. |
fixed_by_upgrading | Whether upgrading the affected component fixes it. |
vulnerable_code | Python sample containing the vulnerability. |
patched_code | The same sample with the vulnerability fixed. |
payload_needed | Whether exploiting the sample needs a crafted input. |
payload | Proof-of-concept input that exploits the vulnerable sample, when available. |
payload_status | available, none, or model_refused (the labelling model declined to write one). |
references | Further references. |
permalink | This entry's page on the VAITP website. |
Use the API instead
The same filters work on the read-only JSON API, so you can script against it:
https://netpack.pt/vaitp/wp-json/vaitp/v1/vulnerabilities?category=Cryptographic&min_score=7&per_page=100
https://netpack.pt/vaitp/wp-json/vaitp/v1/vulnerabilities/CVE-2024-1234
https://netpack.pt/vaitp/wp-json/vaitp/v1/stats
https://netpack.pt/vaitp/wp-json/vaitp/v1/export?format=csv&q=flask
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 ::
