Lektor before 3.3.11 does not sanitize DB path traversal.
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | Lektor (PyPI) | before 3.3.11 | 3.3.11 | Patch available | GHSA-wv28-7fpw-fj49 |
| — | Lektor (PyPI) | 3.4.0b1 to before 3.4.0b11 | 3.4.0b11 | Patch available | GHSA-wv28-7fpw-fj49 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- Lektor (PyPI) Vendor— Affected before 3.3.11 Fixed in 3.3.11 Patch available GHSA-wv28-7fpw-fj49
- Lektor (PyPI) Vendor— Affected 3.4.0b1 to before 3.4.0b11 Fixed in 3.4.0b11 Patch available GHSA-wv28-7fpw-fj49
Remediation
- Fix · GHSA-wv28-7fpw-fj49 Lektor (PyPI) Fixed in 3.3.11 Advisory →
- Fix · GHSA-wv28-7fpw-fj49 Lektor (PyPI) Fixed in 3.4.0b11 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-28335
- 2026-10-03 Alias added: GHSA-wv28-7fpw-fj49
References
Other 8
- https://github.com/lektor/lektor/pull/1179/commits/8f38b9713d152622b69ff5e3b1e6a0d7bb7fa800
- https://github.com/lektor/lektor/releases/tag/v3.3.11
- https://packetstormsecurity.com/files/177708/Lektor-Static-CMS-3.3.10-Arbitrary-File-Upload-Remote-Code-Execution.html
- https://getlektor.com/docs/quickstart
- https://brave.com/privacy-updates/27-localhost-permission/
- https://github.com/lektor/lektor/commit/7393d87bd354e43120937789956175064e4610a0
- https://brave.com/privacy-updates/27-localhost-permission
- https://github.com/pypa/advisory-database/tree/main/vulns/lektor/PYSEC-2024-49.yaml
Sources
- CVE-2024-28335 · CVE Program
- CVE-2024-28335 · NVD
- FIRST EPSS
- GHSA-wv28-7fpw-fj49 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences