{"answers":{"affected":"2 open source packages ship an affected version, including nbconvert.","exploited":"There is no known exploitation of CVE-2026-114140 in the wild and no public exploit code.","fix":"Upgrade nbconvert to 7.17.2 or later.","what":"CVE-2026-114140 is a high-severity vulnerability in jupyter nbconvert, published on 21 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-114140 and fix it if it is affected.\n\nWhat it is: CVE-2026-114140 is a high-severity vulnerability in jupyter nbconvert, published on 21 Oct 2026. \nExploitation: There is no known exploitation of CVE-2026-114140 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- nbconvert (PyPI): affected from 5.4.0; fixed in 7.17.2\n- nbconvert (PyPI): affected from 5.4.0; fixed in 7.17.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-114140/ (Markdown: https://insights.sbomify.com/CVE-2026-114140/index.md)","id":"CVE-2026-114140","markdown":"https://insights.sbomify.com/CVE-2026-114140/index.md","name":"CVE-2026-114140","record":{"aliases":["DEBIAN-CVE-2026-114140","GHSA-pjvx-prjx-h659","UBUNTU-CVE-2026-114140"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"The nbconvert tool, jupyter nbconvert, converts Jupyter notebooks to various other formats via Jinja templates. From 5.4.0 until 7.17.2, ExtractOutputPreprocessor in nbconvert/preprocessors/extractoutput.py joins the attacker-controlled cell output metadata filename to output_files_dir without limiting the result to the intended directory. When a victim converts a malicious notebook with the markdown, LaTeX, reStructuredText, or AsciiDoc exporter, path traversal in the output filename can write attacker-controlled output data to arbitrary locations accessible to the victim. Running the notebook cell again replaces the malicious output metadata, but merely converting the supplied notebook does not. This issue is fixed in version 7.17.2.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"nbconvert: File write via path traversal in cell output filenames","id":"CVE-2026-114140","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":null,"year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"toml-node: Quadratic-complexity DoS via many array-of-tables headers in toml.parse()","id":"CVE-2026-114141"},"packages":[{"ecosystem":"PyPI","fixed":["7.17.2"],"introduced":["5.4.0"],"last_affected":[],"package":"nbconvert","purl":null,"source":"GHSA-pjvx-prjx-h659"},{"ecosystem":"PyPI","fixed":["7.17.2"],"introduced":["5.4.0"],"last_affected":[],"package":"nbconvert","purl":"pkg:pypi/nbconvert","source":"GHSA-pjvx-prjx-h659"}],"prev":{"headline":"Sentry-Javascript: Middleware Bypass when using Tunnel route","id":"CVE-2026-114139"},"products":["nbconvert"],"published":"2026-10-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-10-21","vendors":["jupyter"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-114140/"}