Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. docarray
  4. ›
  5. CVE-2025-5150

CVE-2025-5150: docarray prototype pollution

May 25, 2025 (updated June 4, 2025)

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

  • gist.github.com/superboy-zjc/56502343bcb12eb653081b426debf2c8
  • github.com/advisories/GHSA-j9wp-865g-rf48
  • github.com/docarray/docarray
  • nvd.nist.gov/vuln/detail/CVE-2025-5150
  • vuldb.com/?ctiid.310238
  • vuldb.com/?id.310238
  • vuldb.com/?submit.574696

Code Behaviors & Features

Detect and mitigate CVE-2025-5150 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.40.1

Solution

Unfortunately, there is no solution available yet.

Impact 6.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

pypi/docarray/CVE-2025-5150.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:05 +0000.