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 package | Versions | Reported by |
|---|---|---|
| docarray | 0.40.0, 0.40.1 | CVE List |
| docarray (PyPI) | up to 0.40.1 | GitHub Advisory Database, PyPA Advisory Database |
| linuxfoundation docarray | up to 0.40.1 | NVD |
All scores
| VulDB | 5.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N |
| VulDB | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| VulDB | 6.3medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| VulDB | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| GitHub | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| PyPA Advisory Database | Not scored CVSS:4.0 | CVSS: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
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
| https://vuldb.com/?id.310238 | technical-description, third-party-advisory, vdb-entry, web | |
| https://vuldb.com/?ctiid.310238 | permissions-required, signature, vdb-entry, web | |
| https://vuldb.com/?submit.574696 | third-party-advisory, vdb-entry, web | |
| https://gist.github.com/superboy-zjc/56502343bcb12eb653081b426debf2c8 | exploit, mitigation, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-5150 | advisory | |
| https://github.com/docarray/docarray | package | |
| https://pypi.org/project/docarray | package | |
| https://github.com/advisories/GHSA-j9wp-865g-rf48 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-5150 changed 2025-05-28 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-j9wp-865g-rf48 changed 2026-07-07 | CC-BY-4.0 |
| NVD | CVE-2025-5150 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1308 changed 2026-07-07 | CC-BY-4.0 |