CVE-2026-114140: Python Path Traversal Untrusted Metadata Filename In Path Join

A filename read from object metadata (e.g. a notebook cell output's metadata.filename, archive entry metadata, or any deserialized document) flows into os.path.join() without being reduced to a bare filename. Components such as "../../evil.png" or "/tmp/evil.png" escape the intended output directory (an absolute component makes os.path.join() discard the bas

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-114140-python-path-traversal-untrusted-metadata-filename-in-path-join --engine opengrep

Description

A filename read from object metadata (e.g. a notebook cell output's metadata.filename, archive entry metadata, or any deserialized document) flows into os.path.join() without being reduced to a bare filename. Components such as "../../evil.png" or "/tmp/evil.png" escape the intended output directory (an absolute component makes os.path.join() discard the bas