CVE-2026-104085

odt2spip < 4.4.0 OS Command Injection via Document Filename

Published Oct 13, 2026 CVSS 4.0 · 8.7 High EPSS 2.0% KEV · Not listed
Description
odt2spip plugin for SPIP before 4.4.0 contains an OS command injection vulnerability that allows authenticated authors to execute arbitrary commands by uploading a document with a maliciously crafted filename through the document import form. Attackers can embed shell metacharacters such as $(id) in a non-.odt filename, which survives insufficient sanitization in odt2spip_deplacer_fichier_upload() and LibreOffice::createCommand(), to achieve remote code execution as the web-server user during the LibreOffice conversion process.

Analysis

AI-generated

Technical impact

The vulnerability originates from insufficient sanitization of uploaded document filenames in the odt2spip plugin. A malicious author can craft a filename embedding shell metacharacters, such as $(id), that survive the odt2spip_deplacer_fichier_upload() routine and reach LibreOffice::createCommand(). During the conversion step the web‑server user runs the command, yielding full remote code execution on the hosting system.

Affected Systems

Any site running the odt2spip plugin for SPIP with a version lower than 4.4.0 is affected. The plugin is used by SPIP sites to import OpenDocument Text files via an upload form accessible to authenticated authors. No specific platform or OS is mentioned; the flaw operates within the PHP plugin and the LibreOffice service on the server.

Risk and Exploitability

The flaw has a CVSS score of 8.7, indicating a high severity. The EPSS score is 2%, indicating a moderate likelihood of exploitation, but the absence of a KEV listing does not diminish the risk, as the attack requires only a valid author account and the ability to upload a document. The attack vector is local from the application perspective but achieves remote code execution on the web server. Because the vulnerability is triggered during a normal file‑upload operation, it can be exploited by any adversary who compromises or masquerades as an author.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the odt2spip plugin to version 4.4.0 or later.
  • If an upgrade is not immediately possible, temporarily disable the document import feature for author accounts or restrict upload permissions so that only trusted users can submit files.
  • Implement a server‑side check to reject filenames containing shell metacharacters such as $, (, ), `, or >, or apply input sanitization before passing to LibreOffice.

Generated by OpenCVE AI on October 17, 2026 at 06:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Odt2spip
Odt2spip odt2spip
Vendors & Products Odt2spip
Odt2spip odt2spip
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description odt2spip plugin for SPIP before 4.4.0 contains an OS command injection vulnerability that allows authenticated authors to execute arbitrary commands by uploading a document with a maliciously crafted filename through the document import form. Attackers can embed shell metacharacters such as $(id) in a non-.odt filename, which survives insufficient sanitization in odt2spip_deplacer_fichier_upload() and LibreOffice::createCommand(), to achieve remote code execution as the web-server user during the LibreOffice conversion process.
Title odt2spip < 4.4.0 OS Command Injection via Document Filename
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

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

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 29, 2026, 9:15 PM
Reserved
Oct 1, 2026, 6:02 PM
Status
Deferred
Published
Oct 13, 2026, 6:17 PM
Modified
Oct 29, 2026, 9:17 PM