BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2025-5150 in Linuxfoundation Docarray

High 8.8

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...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.8
CVSS v45.3
EPSS1.5%
EPSS percentile74th
FixUnknown

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Linuxfoundation Docarray ≤ 0.40.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-5150
BreachSpider IDBS-2025-GLOBAL-300074-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2025-05-25
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-94: Code Injection

Attacker injects arbitrary code that is executed by the application process.

CWE-1321: CWE-1321

Related attack patterns (CAPEC)

CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-94

CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-1321

CAPEC-77 Manipulating User-Controlled Variables via CWE-94, CWE-1321

CAPEC-180 Exploiting Incorrectly Configured Access Control Security Levels via CWE-1321

CAPEC-242 Code Injection via CWE-94

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A critical vulnerability (CVE-2025-5150) exists in docarray up to version 0.40.1, affecting the __getitem__ function in the /docarray/data/torch_dataset.py file of the Web API component. This vulnerability allows for prototype pollution, enabling remote attackers to improperly modify object prototype attributes.

The attack vector involves remote manipulation of the __getitem__ function, leading to prototype pollution. This can be exploited by an attacker to inject malicious code or modify object properties in an unintended manner.

Questions

What is CVE-2025-5150?

A critical vulnerability (CVE-2025-5150) exists in docarray up to version 0.40.1, affecting the __getitem__ function in the /docarray/data/torch_dataset.py file of the Web API component. This vulnerability allows for prototype pollution, enabling remote attackers to improperly modify object prototype attributes.

What is the CVSS score for CVE-2025-5150?

CVE-2025-5150 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.5%.

Is CVE-2025-5150 actively exploited?

No confirmed active exploitation of CVE-2025-5150 as of 2026-09-25.

How do I remediate CVE-2025-5150?

Priority: IMMEDIATE.

What systems are affected by CVE-2025-5150?

CVE-2025-5150 affects Linuxfoundation Docarray.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Linuxfoundation","product":"Docarray","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.