CVE-2025-5150
JSON

5.3medium

docarray Web API torch_dataset.py __getitem__ prototype pollution

Severity
5.3medium CVSS:4.0 by VulDB
Exploit likelihood
0.73% (higher than 55% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulDB
Also known as
GHSA-j9wp-865g-rf48PYSEC-2026-1308

Description

A vulnerability was found in docarray up to 0.40.1. It has been rated as critical. Affected by this issue is the function __getitem__ of the file /docarray/data/torch_dataset.py of the component Web API. The manipulation leads to improperly controlled modification of object prototype attributes ('prototype pollution'). The attack may be launched 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.

Affected

Product or packageVersionsReported by
docarray0.40.0, 0.40.1CVE List
docarray (PyPI)up to 0.40.1GitHub Advisory Database, PyPA Advisory Database
linuxfoundation docarrayup to 0.40.1NVD

All scores

VulDB5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
VulDB6.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
VulDB6.3medium CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
VulDB6.5medium CVSS:2.0AV:N/AC:L/Au:S/C:P/I:P/A:P
GitHub6.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
PyPA Advisory Database6.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Classification

CWE-94CWE-1321

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

A vulnerability was found in docarray up to 0.40.1. It has been rated as critical. Affected by this issue is the function __getitem__ of the file /docarray/data/torch_dataset.py of the component Web API. The manipulation leads to improperly controlled modification of object prototype attributes ('prototype pollution'). The attack may be launched 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.

CVE List (de)

Eine kritische Schwachstelle wurde in docarray bis 0.40.1 ausgemacht. Betroffen davon ist die Funktion __getitem__ der Datei /docarray/data/torch_dataset.py der Komponente Web API. Mittels dem Manipulieren mit unbekannten Daten kann eine improperly controlled modification of object prototype attributes ('prototype pollution')-Schwachstelle ausgenutzt werden. Die Umsetzung des Angriffs kann dabei über das Netzwerk erfolgen. Der Exploit steht zur öffentlichen Verfügung.

NVD (es)

Se encontró una vulnerabilidad en docarray hasta la versión 0.40.1. Se ha clasificado como crítica. Este problema afecta a la función __getitem__ del archivo /docarray/data/torch_dataset.py de la API web del componente. La manipulación provoca una modificación indebida de los atributos del prototipo del objeto (contaminación del prototipo). El ataque puede ejecutarse en remoto. Se ha hecho público el exploit y puede que sea utilizado. Se contactó al proveedor con antelación sobre esta divulgación, pero no respondió.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-5150 changed 2025-05-28CVE Terms of Use
GitHub Advisory DatabaseGHSA-j9wp-865g-rf48 changed 2026-07-07CC-BY-4.0
NVDCVE-2025-5150 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-1308 changed 2026-07-07CC-BY-4.0