Skip to content

CVE-2024-28335 Lektor does not sanitize database path traversal

CriticalCVSS 9.1 EPSS 0.84% Public exploit
Published
Updated
Exploit status
Public exploit available
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total
Technology
Ubuntu

Description

Lektor before 3.3.11 does not sanitize DB path traversal. Thus, shell commands might be executed via a file that is added to the templates directory, if the victim's web browser accesses an untrusted website that uses JavaScript to send requests to localhost port 5000, and the web browser is running on the same machine as the "lektor server" command.

Upgrade path

6 packages: 2 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/lektor(Ubuntu 20.04) = 3.1.1-1; = 3.1.3-1; All versions No fix listed No fix yet
ubuntu/lektor(Ubuntu 22.04) = 3.1.3-1; All versions No fix listed No fix yet
ubuntu/lektor(Ubuntu 24.04) = 3.3.7-1; = 3.3.7-2; All versions No fix listed No fix yet
ubuntu/lektor(Ubuntu 25.10) = 3.3.7-2.1; = 3.3.12-1; All versions No fix listed No fix yet
lektor < 3.3.11 3.3.11 Fixed
pypi lektor(PyPI) < 3.3.11; = 0.96; = 1.0; = 1.1 +40 more 3.3.11, 3.4.0b11 Fixed

Affected products

ProductAffected versionsFixed in
pypi lektor(PyPI) < 3.3.11 3.3.11
pypi lektor(PyPI) = 0.96 No fix listed
pypi lektor(PyPI) = 1.0 No fix listed
pypi lektor(PyPI) = 1.1 No fix listed
pypi lektor(PyPI) = 1.2 No fix listed
pypi lektor(PyPI) = 1.2.1 No fix listed
pypi lektor(PyPI) = 2.0 No fix listed
pypi lektor(PyPI) = 2.1 No fix listed
pypi lektor(PyPI) = 2.2 No fix listed
pypi lektor(PyPI) = 2.3 No fix listed
pypi lektor(PyPI) = 3.0 No fix listed
pypi lektor(PyPI) = 3.0.1 No fix listed
pypi lektor(PyPI) = 3.1 No fix listed
pypi lektor(PyPI) = 3.1.0.dev1 No fix listed
pypi lektor(PyPI) = 3.1.1 No fix listed
pypi lektor(PyPI) = 3.1.2 No fix listed
pypi lektor(PyPI) = 3.1.3 No fix listed
pypi lektor(PyPI) = 3.2.0 No fix listed
pypi lektor(PyPI) = 3.2.1 No fix listed
pypi lektor(PyPI) = 3.2.2 No fix listed
pypi lektor(PyPI) = 3.2.3 No fix listed
pypi lektor(PyPI) = 3.2.dev0 No fix listed
pypi lektor(PyPI) = 3.3.0 No fix listed
pypi lektor(PyPI) = 3.3.1 No fix listed
pypi lektor(PyPI) = 3.3.10 No fix listed
Show 31 more
ProductAffected versionsFixed in
pypi lektor(PyPI) = 3.3.2 No fix listed
pypi lektor(PyPI) = 3.3.3 No fix listed
pypi lektor(PyPI) = 3.3.4 No fix listed
pypi lektor(PyPI) = 3.3.5 No fix listed
pypi lektor(PyPI) = 3.3.6 No fix listed
pypi lektor(PyPI) = 3.3.7 No fix listed
pypi lektor(PyPI) = 3.3.8 No fix listed
pypi lektor(PyPI) = 3.3.9 No fix listed
pypi lektor(PyPI) >= 3.4.0b1, < 3.4.0b11 3.4.0b11
pypi lektor(PyPI) = 3.4.0b1 No fix listed
pypi lektor(PyPI) = 3.4.0b10 No fix listed
pypi lektor(PyPI) = 3.4.0b2 No fix listed
pypi lektor(PyPI) = 3.4.0b3 No fix listed
pypi lektor(PyPI) = 3.4.0b4 No fix listed
pypi lektor(PyPI) = 3.4.0b5 No fix listed
pypi lektor(PyPI) = 3.4.0b6 No fix listed
pypi lektor(PyPI) = 3.4.0b7 No fix listed
pypi lektor(PyPI) = 3.4.0b8 No fix listed
pypi lektor(PyPI) = 3.4.0b9 No fix listed
ubuntu/lektor(Ubuntu:22.04) All versions No fix listed
lektor < 3.3.11 3.3.11
ubuntu/lektor(Ubuntu:24.04) All versions No fix listed
ubuntu/lektor(Ubuntu:20.04) All versions No fix listed
ubuntu/lektor(Ubuntu:20.04) = 3.1.1-1 No fix listed
ubuntu/lektor(Ubuntu:20.04) = 3.1.3-1 No fix listed
ubuntu/lektor(Ubuntu:22.04) = 3.1.3-1 No fix listed
ubuntu/lektor(Ubuntu:24.04) = 3.3.7-1 No fix listed
ubuntu/lektor(Ubuntu:24.04) = 3.3.7-2 No fix listed
ubuntu/lektor(Ubuntu:25.10) All versions No fix listed
ubuntu/lektor(Ubuntu:25.10) = 3.3.7-2.1 No fix listed
ubuntu/lektor(Ubuntu:25.10) = 3.3.12-1 No fix listed

References