๐Ÿ” CVE Alert

CVE-2026-54071

HIGH 7.8

BabelDOC: Arbitrary Code Execution via CMap Pickle Deserialization in babeldoc/pdfminer/cmapdb.py

CVSS Score
7.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-502
Vendor funstory-ai
Product babeldoc
Published Aug 21, 2026
Stay Ahead of the Next One

Get instant alerts for funstory-ai babeldoc

Be the first to know when new high vulnerabilities affecting funstory-ai babeldoc are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

funstory-ai / BabelDOC
< 0.6.3

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/funstory-ai/BabelDOC/security/advisories/GHSA-m8gf-v64p-gfmg github.com: https://github.com/funstory-ai/BabelDOC/commit/28f784ca6b437dbba040bfd9c67110373cd0924b github.com: https://github.com/funstory-ai/BabelDOC/blob/main/docs/release-notes/v0.6.3.md github.com: https://github.com/funstory-ai/BabelDOC/releases/tag/v0.6.3