Wiz Agents & Workflows are here

CVE-2025-5150
Python vulnerability analysis and mitigation

Overview

A critical vulnerability (CVE-2025-5150) was discovered in docarray versions up to 0.40.1, affecting the getitem function in the /docarray/data/torch_dataset.py file of the Web API component. The vulnerability was disclosed on May 25, 2025, and involves improperly controlled modification of object prototype attributes (prototype pollution). The vulnerability has received a CVSS v3.1 Base Score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Technical details

The vulnerability exists in the getitem method of MultiModalDataset class which recursively searches python object via dotted paths from input without proper sanitization against unauthorized internal object access. This allows attackers to access internal class objects through paths like .class.base and manipulate them. The vulnerability occurs because the getitem method does not implement checks against unauthorized internal attributes access, allowing attackers to traverse through object paths and potentially modify critical class attributes (GitHub POC).

Impact

The vulnerability allows attackers to overwrite internal python runtime class objects, which can lead to Denial of Service (DoS) attacks. When combined with backend code enriching python runtime states, there is potential for Remote Code Execution (RCE) and Cross-Site Scripting (XSS) attacks. The impact is particularly severe when the multimodal dataset operation is deployed through web APIs like FastAPI (GitHub POC, Wiz).

Mitigation and workarounds

The recommended mitigation is to implement checks against unauthorized internal attributes access in the getitem method of MultiModalDataset. Organizations should upgrade to versions newer than 0.40.1 once a patch is available. The vendor was contacted about this disclosure but did not respond in any way (GitHub POC, NVD).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-33641HIGH7.8
  • PythonPython
  • glances
NoNoMar 30, 2026
CVE-2026-34070HIGH7.5
  • PythonPython
  • langchain-core
NoYesMar 31, 2026
CVE-2026-34231MEDIUM6.1
  • PythonPython
  • slippers
NoYesMar 30, 2026
CVE-2026-34073LOW1.7
  • PythonPython
  • apache-beam-python-3.13-sdk
NoYesMar 31, 2026
GHSA-955r-262c-33jcCRITICALN/A
  • PythonPython
  • telnyx
NoNoMar 30, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management