Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft WordPress XML export with malicious slug
-
DeliveryDeliver crafted export to target user
-
ExploitVictim runs pelican-import on POSIX host
-
ExecutionSlug interpolated into shell=True Pandoc command
-
ImpactInjected command executes as importing user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a victim to run the pelican-import tool against an attacker-controlled WordPress XML export on a POSIX system, where the wp:post_name field is used to build an output filename that is interpolated into a Pandoc command invoked with shell=True. Concretely, the Pandoc conversion path (output filename derived from the post slug) must be exercised during import. Limiting factors that reduce realistic risk: the CVSS vector is AV:L (no remote network trigger) and UI:A (a human must actively initiate the import), so an attacker cannot trigger this without a user performing the migration workflow; it is specific to POSIX hosts (command substitution semantics) and to the WordPress import feature of Pelican 4.12.0. No special privileges are required of the attacker-supplied content (PR:N), but the injected command runs only with the importing user's own privileges. |
| Impact | The signals point to a moderate, interaction-gated risk rather than a mass-exploitation emergency. The CVSS 4.0 base score of 8.4 is driven by full high impact on confidentiality, integrity and availability (VC:H/VI:H/VA:H) - consistent with arbitrary OS command execution - but the exploitability metrics temper it: AV:L means the attack is not delivered over the network, and UI:A (active user interaction) means a human must deliberately run pelican-import against an attacker-supplied file. The vuln.today Decision label is 'this_week', which indicates prioritized but not emergency handling. No EPSS score and no CISA KEV status were provided in the input, and there is no confirmed public exploit; absence of EPSS/KEV is not evidence of safety but does mean there is no signal of active or automated exploitation at this time. This is a credible, high-impact code-execution flaw whose real-world risk is bounded by the need to socially engineer a maintainer/migrator into importing a crafted WordPress export on a POSIX host - i.e. targeted or opportunistic abuse of a migration workflow rather than widespread remote exploitation. Note the vector is AV:L with UI:A, not network-wormable; prioritize for environments that actually run WordPress-to-Pelican imports. |
| Exploit ScenarioDerived | An attacker publishes or sends a crafted WordPress XML export whose wp:post_name slug contains POSIX shell command substitution (e.g. backticks or $(...)). When a developer or site migrator runs pelican-import on that export, the slug is interpolated into a Pandoc command executed via subprocess.call with shell=True, and the embedded command runs with the importing user's privileges. No confirmed working public exploit was identified in the input, though the Fluid Attacks advisory referenced likely documents the technique. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 23, 2026
OS command injection in Pelican 4.12.0's pelican-import CLI lets a crafted WordPress XML export (WXR) run arbitrary shell commands on the importing host: the attacker-supplied wp:post_name slug is folded into an output filename that is interpolated into a Pandoc command executed via subprocess.call with shell=True, so POSIX command substitution inside the slug is evaluated during the import. The flaw is local in nature (CVSS 4.0 base 8.4, assessed as CVSS 3.1 AV:L/AC:L/PR:N/UI:R with high confidentiality, integrity and availability impact) because it only fires when a user actively runs the migration workflow against an untrusted export on a POSIX system; no privileges are needed on the attacker's side and the injected command runs with the importing user's own rights. It is not listed in CISA KEV and no public exploit has been identified at time of analysis; the priority signal is this_week rather than immediate emergency response, so the practical exposure is an interaction-gated one confined to WordPress-to-Pelican migrations of untrusted content.
RemediationAI
No vendor-released patch was identified at time of analysis: the supplied references point to the Fluid Attacks advisory (https://fluidattacks.com/advisories/yhlqmdlg), the Pelican repository (https://github.com/getpelican/pelican) and the vulnerable 4.12.0 source file (https://github.com/getpelican/pelican/blob/4.12.0/pelican/tools/pelican_import.py), none of which is a fixed release, so check the upstream repository for a patched version and upgrade Pelican as soon as one is available, then re-test the Wordpress import path. Until then, the actionable compensating controls are procedural and code-level: do not run pelican-import against WordPress XML exports from untrusted or third-party sources, since that is the sole delivery vector and avoiding it removes the risk entirely (trade-off: blocks legitimate migrations of externally authored content); if untrusted exports must be processed, sanitise wp:post_name before use - strip or reject shell metacharacters and command-substitution sequences such as $(), backticks, ; and | when deriving output filenames - or locally patch pelican_import.py to drop shell=True and pass an argument list to subprocess.call (trade-off: local patches must be re-applied at each upgrade and can diverge from upstream behaviour); and where the Pandoc conversion path is not needed, do not exercise it during imports. Run any unavoidable untrusted imports as an unprivileged user with a restricted working directory, understanding that this limits but does not prevent the injected command from running with that user's own privileges.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Pelican is a Python static site generator, and pelican-import (pelican/tools/pelican_import.py) is its content-migration utility that converts foreign blog exports into Pelican articles. For WordPress, the tool parses a WXR XML export and reads the wp:post_name element as the post slug, which it then uses to construct an output filename; that filename is embedded in the Pandoc command line passed to subprocess.call with shell=True. Because shell=True hands the string to the platform shell, a slug containing POSIX command substitution syntax (for example $(...) or backticks) is interpreted by /bin/sh at import time rather than treated as literal text, yielding CWE-78 OS command injection. The weakness is therefore a combination of unsanitised filename derivation from untrusted export fields and shell invocation of a constructed command string; the practical exploitation path requires the Pandoc conversion branch that derives its output name from the post slug to be reached. The supplied CPE (cpe:2.3:a:getpelican:pelican:*:*:*:*:*:*:*:*) is unversioned and matches all releases, but the evidence only confirms Pelican 4.12.0 as affected and the referenced source blob is the 4.12.0 tag. Platform dependence matters: the payload relies on POSIX shell command-substitution semantics, which are not evaluated by cmd.exe in the same manner, and the CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:A) reflects a locally delivered, user-initiated attack with no privileges required and no subsequent-system impact.
Know when Pelican gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
AV:L and UI:R because a user must run the import against an attacker-supplied file; PR:N since no attacker auth is needed, and C/I/A:H from arbitrary command execution as the importing user.
Primary rating from Vendor (Fluid Attacks).
CVSS VectorVendor: Fluid Attacks
DescriptionCVE.org
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.
Articles & Coverage 1
Executive ViewAI
A high-severity command injection vulnerability in Pelican 4.12.0's import tool allows a malicious WordPress export file to execute arbitrary commands when the import is run, potentially compromising the importing user's system and data. While exploitation requires user interaction and no active attacks are known, the flaw poses a significant risk to teams using Pelican for content migration, especially with untrusted sources.
No vendor-released patch identified at time of analysis. Interim mitigations include restricting use of pelican-import to trusted, verified WordPress exports only; running imports in isolated environments (e.g., containers or VMs) with least privilege; and monitoring import processes for suspicious command execution.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
EUVD-2026-133507
GHSA-5g2c-49cg-fxh2
NVD
CVE.org
EPSS
Exploit-DB