CVE-2026-122090: Pelican 4.12.0 - OS command injection in WordPress importer

Published Nov 23, 2026
·
Updated

Pelican 4.12.0 contains an OS command injection vulnerability in pelican-import. An attacker-controlled wp:postname 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.

Affected Software

1 affected component
pypi/pelican=4.12.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Replace the shell command string passed to subprocess.call with a list-based Pandoc invocation, keeping each argument as a separate list element.

Event History

Nov 23, 2026
CVE Published
via MITRE·10:45 PM
Data Sourced
via MITRE·10:45 PM
RemedyDescriptionWeakness
Data Sourced
via OSV·10:45 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Users running Pelican 4.12.0 on POSIX systems are exposed when they use pelican-import to import a WordPress XML export from an untrusted source.

2

What does an attacker need to exploit it?

The attacker needs to supply or influence a WordPress XML export containing a crafted wp:post_name value. Exploitation occurs when a user imports that export with pelican-import, causing command substitution in the slug to be evaluated.

3

Is a normal Pelican site affected merely by serving content?

The described execution path is the WordPress import workflow in pelican-import. The provided information does not indicate that serving an existing Pelican site triggers the issue.

4

What can be done if patching is not immediately possible?

Do not import WordPress XML exports from untrusted or unreviewed sources with pelican-import. Treat wp:post_name values in any export to be imported as potentially dangerous, especially values containing POSIX command-substitution syntax.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203