CVE-2026-54071
BabelDOC is a document translation tool. Prior to 0.6.3, BabelDOC's …
BabelDOC is a document translation tool. Prior to 0.6.3, BabelDOC's vendored PDF parser in babeldoc/pdfminer/cmapdb.py deserializes untrusted pickle data when CMapDB._load_data() loads CMap files. PDF-controlled Encoding or CMapName values and embedded PostScript usecmap operators can reach this sink after path separators are decoded, while _normalize_cmap_name() removes only a leading slash. Absolute paths or traversal sequences can escape the trusted CMap directories through os.path.join(), select an attacker-writable .pickle.gz file, and cause pickle.loads() to execute arbitrary Python code with the privileges of the BabelDOC process. This issue is fixed in version 0.6.3.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/funstory-ai/BabelDOC/security/advisories/GHSA-m8gf-v64p-gfmg
- github.com/advisories/GHSA-m8gf-v64p-gfmg
- github.com/funstory-ai/BabelDOC/blob/main/docs/release-notes/v0.6.3.md
- github.com/funstory-ai/BabelDOC/commit/28f784ca6b437dbba040bfd9c67110373cd0924b
- github.com/funstory-ai/BabelDOC/releases/tag/v0.6.3
- nvd.nist.gov/vuln/detail/CVE-2026-54071
- cve.org/CVERecord?id=CVE-2026-54071
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.