## nbconvert: Arbitrary file write through path traversal in cell output filenames when exporting to md, latex, rst and asciidoc

- 種別: advisory
- 重大度: high
- 関連技術: python, github
- CVE: CVE-2026-114140
- 公開日時: 2026-10-22T16:23:28.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-pjvx-prjx-h659)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-pjvx-prjx-h659

影響: pip:nbconvert >= 5.4.0, <= 7.17.1 → 7.17.2
nbconvert <= v7.17.1 has an arbitrary file write vulnerability due to a path traversal in ipynb cell output metadata, more specifically on the filename attribute. Vulnerable converters : --to markdown, --to latex, --to rst, --to asciidoc. In ExtractOutputPreprocessor, extractoutput.py:116-119 joins attacker-controlled path to output_files_dir with no canonicalization check, enabling arbitrary file write. This is a sibling vulnerability of https://github.com/advisories/GHSA-4c99-qj7h-p3vg. Impac…