PT-2025-22862 · Docarray · Docarray

·

CVE-2025-5150

·

Published

2025-05-25

·

Updated

2026-07-07

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions docarray versions up to 0.40.1
Description A critical issue affects the getitem function of the /docarray/data/torch dataset.py file in the Web API component. This issue leads to improperly controlled modification of object prototype attributes, also known as 'prototype pollution'. The attack can be launched remotely.
Recommendations For versions up to 0.40.1, as a temporary workaround, consider disabling the getitem function until a patch is available. Restrict access to the /docarray/data/torch dataset.py file to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Code Injection

Prototype Pollution

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2025-5150
GHSA-J9WP-865G-RF48
PYSEC-2026-1308

Affected Products

Docarray