INCIDENT MAP

Browse / AI Framework and Platform Flaws / CVE-2025-5150

docarray prototype pollution

CVE-2025-5150 ยท 2025-05-25 moderate

Class
AI Framework and Platform Flaws (filed by a model that read the advisory)
Technique
Other weaknesses
Affected
docarray (PyPI)
CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
EPSS
0.7% chance of exploitation in 30 days

How it works, in short

A dataset indexing function lets attacker-controlled keys modify object prototype attributes through a remotely reachable web API. (Our summary, written by a model. The source text is below.)

Details

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.