Live threats

All CVEs / lektor

CVE-2024-28335lektor

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
1.1%
probability of exploitation in 30 days · percentile 65
Auth required
No
Published
Mar 27, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for lektor.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI lektor < 3.3.11 3.3.11 pip install "lektor>=3.3.11"
PyPI lektor ≥ 3.4.0b1 < 3.4.0b11 3.4.0b11 pip install "lektor>=3.4.0b11"
PyPI lektor < 3.3.11 3.3.11 pip install "lektor>=3.3.11"

Per OSV / GitHub Advisories (GHSA-wv28-7fpw-fj49, PYSEC-2024-49). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.