Skip to content
MediumVulnerability

GHSA-q92x-2x5g-h365: ZenML is vulnerable to Path Traversal through its `PathMaterializer` class

Published
Record updated
View JSON
Affected
  • zenml >= 0.81.0, < 0.84.2
Fixed in
0.84.2
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

ZenML version 0.83.1 contains a path traversal flaw in the `PathMaterializer` class. During `data.tar.gz` extraction in the `load` function, the `is_path_within_directory` check fails to detect symbolic and hard links. This can allow arbitrary file writes, which may lead to arbitrary command execution if critical files are overwritten.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.