GHSA-q92x-2x5g-h365

Suggest an improvement
Source
https://github.com/advisories/GHSA-q92x-2x5g-h365
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-q92x-2x5g-h365/GHSA-q92x-2x5g-h365.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-q92x-2x5g-h365
Aliases
Published
2025-10-05T09:30:19Z
Modified
2026-07-07T17:57:32Z
Severity
  • 6.3 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
ZenML is vulnerable to Path Traversal through its `PathMaterializer` class
Details

ZenML version 0.83.1 is affected by a path traversal vulnerability in the PathMaterializer class. The load function uses is_path_within_directory to validate files during data.tar.gz extraction, which fails to effectively detect symbolic and hard links. This vulnerability can lead to arbitrary file writes, potentially resulting in arbitrary command execution if critical files are overwritten.

Database specific
{
    "cwe_ids":  [
        "CWE-22"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2025-10-07T13:02:28Z",
    "nvd_published_at":  "2025-10-05T09:15:31Z",
    "severity":  "MODERATE"
}
References

Affected packages

PyPI / zenml

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.81.0
Fixed
0.84.2

Affected versions

0.*
0.81.0
0.82.0
0.82.1
0.83.0
0.83.1
0.84.0
0.84.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-q92x-2x5g-h365/GHSA-q92x-2x5g-h365.json"