{"id":"CVE-2025-5150","aliases":["CVE-2025-5150","GHSA-j9wp-865g-rf48","PYSEC-2026-1308"],"related":[],"kind":"vulnerability","state":"published","title":"docarray Web API torch_dataset.py __getitem__ prototype pollution","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"de","text":"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.","source":"cvelist"},{"lang":"es","text":"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ó.","source":"nvd"}],"published":"2025-05-25T15:00:07.698Z","modified":"2026-07-07T17:57:04.324Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-94","CWE-1321"],"affected":[{"ranges":[{"version":"0.40.0","status":"affected"},{"version":"0.40.1","status":"affected"}],"product":"docarray","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.40.1"}],"ecosystem":"PyPI","package":"docarray","purl":"pkg:pypi/docarray","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"0.40.1"}],"vendor":"linuxfoundation","product":"docarray","cpe":"cpe:2.3:a:linuxfoundation:docarray:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.40.1"}],"ecosystem":"PyPI","package":"docarray","purl":"pkg:pypi/docarray","source":"pysec"}],"references":[{"url":"https://vuldb.com/?id.310238","tags":["technical-description","third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/?ctiid.310238","tags":["permissions-required","signature","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/?submit.574696","tags":["third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://gist.github.com/superboy-zjc/56502343bcb12eb653081b426debf2c8","tags":["exploit","mitigation","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5150","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/docarray/docarray","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/docarray","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-j9wp-865g-rf48","tags":["advisory"],"sources":["pysec"]}],"credits":["Gavin Zhong (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-05-27T14:21:27.308Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-5150","url":"https://www.cve.org/CVERecord?id=CVE-2025-5150","licence":"CVE Terms of Use","modified":"2025-05-28T17:38:30.293Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-j9wp-865g-rf48","url":"https://github.com/advisories/GHSA-j9wp-865g-rf48","licence":"CC-BY-4.0","modified":"2026-07-07T17:57:04.324Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-5150","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5150","licence":"Public domain","modified":"2026-06-17T09:47:20.000Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1308","url":"https://osv.dev/vulnerability/PYSEC-2026-1308","licence":"CC-BY-4.0","modified":"2026-07-07T17:46:38.046Z"}],"updatedAt":"2026-11-25T22:58:58.464Z","epss":{"score":0.00735,"percentile":0.55663,"date":"2026-12-01T12:00:22.000Z"}}