OESA-2026-2195

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2026-2195
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2026-2195.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2026-2195
Upstream
  • CVE-2026-39377
  • CVE-2026-39378
Published
2026-05-03T09:58:08Z
Modified
2026-05-03T10:19:31.178786Z
Summary
python-nbconvert security update
Details

The nbconvert tool, jupyter nbconvert, converts notebooks to various other formats via Jinja templates. The nbconvert tool allows you to convert an .ipynb notebook file into various static formats including HTML, LaTeX, PDF, Reveal JS, Markdown (md), ReStructured Text (rst) and executable script.

Security Fix(es):

The nbconvert tool, jupyter nbconvert, converts Jupyter notebooks to various other formats via Jinja templates. Versions 6.5 through 7.17.0 allow arbitrary file writes to locations outside the intended output directory when processing notebooks containing crafted cell attachment filenames. The ExtractAttachmentsPreprocessor passes attachment filenames directly to the filesystem without sanitization, enabling path traversal attacks. This vulnerability provides complete control over both the destination path and file extension. Version 7.17.1 contains a patch.(CVE-2026-39377)

The nbconvert tool, jupyter nbconvert, converts Jupyter notebooks to various other formats via Jinja templates. In versions 6.5 through 7.17.0, when HTMLExporter.embed_images=True, nbconvert's markdown renderer allows arbitrary file read via path traversal in image references. A malicious notebook can exfiltrate sensitive files from the conversion host by embedding them as base64 data URIs in the output HTML. nbconvert 7.17.1 contains a fix. As a workaround, do not enable HTMLExporter.embed_images; it is not enabled by default.(CVE-2026-39378)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:24.03-LTS / python-nbconvert

Package

Name
python-nbconvert
Purl
pkg:rpm/openEuler/python-nbconvert&distro=openEuler-24.03-LTS

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.17.1-1.oe2403

Ecosystem specific

{
    "src": [
        "python-nbconvert-7.17.1-1.oe2403.src.rpm"
    ],
    "noarch": [
        "python3-nbconvert-7.17.1-1.oe2403.noarch.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-2195.json"