Impact
The vulnerability is an OS command injection in the explore console command of frictionless-py. An attacker can embed shell metacharacters in the resource path field of a datapackage.json descriptor. When the explore command processes that descriptor, the unsanitized value is concatenated into a shell command that is executed via os.system, allowing the attacker to run arbitrary operating system commands with the privileges of the user who invokes explore. This flaw allows an attacker to execute any command in the victim’s security context, providing full code execution capability. The issue is fixed in version 5.20.0rc2 of the pre‑release branch.
Affected Systems
The affected product is frictionlessdata’s frictionless-py, specifically version 5.20.0rc1 and earlier. Any installation of this library that processes untrusted datapackage.json files using the explore command is vulnerable to this command injection flaw.
Risk and Exploitability
The CVSS score of 8.6 indicates a high severity. The EPSS score is 2%, indicating a low but nonzero probability of exploitation. The vulnerability is not listed in CISA KEV, so no publicly documented exploits are known. Exploitation requires the attacker to deliver a crafted datapackage.json to the victim and have the victim run the explore command; therefore the attack vector is local software execution. Prompt patching is recommended to eliminate the risk of arbitrary command execution.
OpenCVE Enrichment