CVE-2023-26145: pydash Command Injection vulnerability
7.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.81503%
CWE
Published
9/28/2023
Updated
10/21/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| pydash | pip | < 6.0.0 | 6.0.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability documentation explicitly names both functions as entry points. The root cause lies in their handling of dotted paths to access internal class attributes (like init.globals). The GitHub commit adds key restrictions in path resolution helpers (_base_get_object/base_set), which these functions utilize. Tests confirm restrictions target dunder method access. While helpers.py contains the patched logic, the exposed vulnerability manifests through the invoke() and invoke_map() API methods that consume attacker-controlled paths.