Security mailing lists by PureSourceCode

CVE-2024-28335

CRITICAL 9.1CVSS 3.1

Lektor does not sanitize database path traversal

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.

Published
27 Mar 2024
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Deferred
Weakness
CWE-22
Also known as
GHSA-wv28-7fpw-fj49PYSEC-2024-49
Sources
NVDJSONOSV GHSA-wv28-7fpw-fj49JSONOSV PYSEC-2024-49JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI lektor < 3.3.11 3.3.11
OSV PyPI lektor >= 3.4.0b1, < 3.4.0b11 3.4.0b11

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 27 Mar 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 27 Mar 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 27 Mar 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.