{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-54071","id":"CVE-2026-54071","title":"BabelDOC: Arbitrary Code Execution via CMap Pickle Deserialization in babeldoc/pdfminer/cmapdb.py","description":"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. Abso","descriptionLong":"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.","published":"2026-08-21T18:55:42.248Z","updated":"2026-10-28T02:30:22.135055442Z","reserved":"2026-06-11T18:24:35.098Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["funstory-ai BabelDOC"],"affectedProducts":[{"vendor":"funstory-ai","product":"BabelDOC","defaultStatus":null,"versions":[{"version":"< 0.6.3","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"babeldoc","purl":"pkg:pypi/babeldoc","ranges":["<0.6.3"],"fixed":["0.6.3"],"advisory":"GHSA-m8gf-v64p-gfmg"}],"cwes":["CWE-502"],"aliases":["GHSA-m8gf-v64p-gfmg","PYSEC-2026-2389"],"references":[{"url":"https://github.com/funstory-ai/BabelDOC/security/advisories/GHSA-m8gf-v64p-gfmg","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/funstory-ai/BabelDOC/commit/28f784ca6b437dbba040bfd9c67110373cd0924b","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/funstory-ai/BabelDOC/blob/main/docs/release-notes/v0.6.3.md","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/funstory-ai/BabelDOC/releases/tag/v0.6.3","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54071.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54071","tags":["advisory"]},{"url":"https://github.com/funstory-ai/BabelDOC","tags":["package"]},{"url":"https://pypi.org/project/babeldoc","tags":["package"]},{"url":"https://github.com/advisories/GHSA-m8gf-v64p-gfmg","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.0038,"epssPercentile":0.32583,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-54071","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54071","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-54071","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-m8gf-v64p-gfmg","ok":true,"note":"GHSA-m8gf-v64p-gfmg"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-54071","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}