Home / CVE-2024-28335
CVE-2024-28335: is it exploited, and which versions of Lektor are affected and fixed?
CVE-2024-28335 is a path traversal (reading or writing files outside the intended folder) vulnerability in Lektor. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: Lektor before 3.3.11 and Lektor from 3.4.0b1 before 3.4.0b11 (GitHub advisory GHSA-wv28-7fpw-fj49). Fixed in 3.3.11 and 3.4.0b11 (GitHub advisory GHSA-wv28-7fpw-fj49). Severity: Critical (9.1, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:31 UTC.
What is CVE-2024-28335?
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.
From the CVE record by mitre, last updated August 6, 2024, 15:08 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | Lektor | < 3.3.11 | 3.3.11 | GHSA-wv28-7fpw-fj49 |
| PyPI | Lektor | >= 3.4.0b1, < 3.4.0b11 | 3.4.0b11 | GHSA-wv28-7fpw-fj49 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 6, 2024. Summary: Lektor does not sanitize database path traversal.
How severe is CVE-2024-28335?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-28335 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: total (CISA ADP, August 6, 2024)
- EPSS
- 0.84% probability of exploitation activity in the next 30 days, percentile 59.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/lektor/lektor/pull/1179/commits/8f38b9713d152622b69ff5e3b1e6a0d7bb7fa800
- https://github.com/lektor/lektor/releases/tag/v3.3.11
- https://cxsecurity.com/issue/WLB-2024030043
- 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/
When was it published, and where is the official record?
- Reserved
- March 8, 2024
- Published
- March 27, 2024, 00:00 UTC
- CVE record updated
- August 6, 2024, 15:08 UTC by mitre
- NVD
- Deferred, last modified June 17, 2026, 07:21 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:31 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Which other CVEs were published on March 27, 2024?
- Mar 27, 2024CVE-2024-3010 Tenda FH1205: stack buffer overflow
- Mar 27, 2024CVE-2024-3009 Tenda FH1205: command injection
- Mar 27, 2024CVE-2024-0980 Okta Verify for Windows: path traversal (reading or writing files outside the intended folder)
- Mar 27, 2024CVE-2024-3008 Tenda FH1205: stack buffer overflow
- Mar 27, 2024CVE-2024-3007 Tenda FH1205: stack buffer overflow
- Mar 27, 2024CVE-2024-3006 Tenda FH1205: stack buffer overflow
- Mar 27, 2024CVE-2024-3004 code-projects Online Book System: cross-site scripting (XSS)
- Mar 27, 2024CVE-2024-3003 code-projects Online Book System: SQL injection
Every CVE published on March 27, 2024
Questions about CVE-2024-28335
Is CVE-2024-28335 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 0.84% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Lektor are affected by CVE-2024-28335?
Lektor before 3.3.11 and Lektor from 3.4.0b1 before 3.4.0b11, per the GitHub advisory GHSA-wv28-7fpw-fj49. The tables above give every range the sources list.
Which version fixes CVE-2024-28335?
3.3.11 and 3.4.0b11, per the GitHub advisory GHSA-wv28-7fpw-fj49. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-28335?
Critical (9.1, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2024-28335?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.