Command Injection Affecting lexoid package, versions [,0.1.18)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-LEXOID-13807426
  • published2 Nov 2025
  • disclosed1 Nov 2025
  • creditUnknown

Introduced: 1 Nov 2025

New CVE NOT AVAILABLE CWE-78  (opens in a new tab)

How to fix?

Upgrade lexoid to version 0.1.18 or higher.

Overview

Affected versions of this package are vulnerable to Command Injection due to insufficient sanitization of the input_path for convert_doc_to_pdf. An attacker can execute arbitrary commands by injecting shell metacharacters (such as ;, &, |, etc.) when specifying the doc file path.

References

CVSS Base Scores

version 4.0
version 3.1