Pelican 4.12.0 contains an OS command injection vulnerability in pelican-import. An attacker-controlled wp:post_name from a WordPress XML export is used in an output filename that is interpolated into a Pandoc command passed to subprocess.call with shell=True. On POSIX systems, command substitution in the slug is evaluated when a user imports the crafted export.
Advisories

No advisories yet.

Fixes

Solution

Replace the shell command string with a list-based Pandoc invocation, preserving each argument as a separate list element; then release the vendor-fixed version.


Workaround

Do not import untrusted WordPress XML exports. Until a fixed release is available, review slugs for shell metacharacters and execute imports with least-privileged user permissions.

History

Mon, 23 Nov 2026 23:00:00 +0000

Type Values Removed Values Added
Description Pelican 4.12.0 contains an OS command injection vulnerability in pelican-import. An attacker-controlled wp:post_name from a WordPress XML export is used in an output filename that is interpolated into a Pandoc command passed to subprocess.call with shell=True. On POSIX systems, command substitution in the slug is evaluated when a user imports the crafted export.
Title Pelican 4.12.0 - OS command injection in WordPress importer
First Time appeared Getpelican
Getpelican pelican
Weaknesses CWE-78
CPEs cpe:2.3:a:getpelican:pelican:4.12.0:*:linux:*:*:*:*:*
cpe:2.3:a:getpelican:pelican:4.12.0:*:macos:*:*:*:*:*
Vendors & Products Getpelican
Getpelican pelican
References
Metrics cvssV4_0

{'score': 8.4, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: Fluid Attacks

Published:

Updated: 2026-11-23T22:45:23.058Z

Reserved: 2026-11-04T17:11:54.287Z

Link: CVE-2026-122090

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-23T23:17:03.263

Modified: 2026-11-23T23:17:03.403

Link: CVE-2026-122090

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses