Skip to main content

Lektor EUVDEUVD-2026-118295

| CVE-2026-123619 MEDIUM
Absolute Path Traversal (CWE-36)
2026-11-06 VulnCheck GHSA-9pg5-8hpj-vq4p
5.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure victim running local Lektor server
  2. Delivery
    Serve malicious page using CSRF/DNS rebinding
  3. Exploit
    Submit drive-letter path to admin API
  4. Execution
    cleanup_path fails to normalise path
  5. Impact
    Write or recursively delete files outside project

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Absolute path validation
Exploitation Conditions

Requires all of: (1) the Windows platform specifically - drive-letter paths like /C:/Users are the trigger and the flaw does not apply to Linux/macOS; (2) the victim actively running Lektor's unauthenticated local admin/dev server (e.g. 'lektor server'); (3) the victim being lured to a malicious web page that issues cross-site requests or performs DNS rebinding to reach the loopback server; and (4) supplying a drive-letter DB path to the deleterecord or newattachment admin endpoints, which cleanup_path does not normalise. Limiting factors that reduce real-world risk: Windows-only, mandatory user interaction (victim must visit the attacker's page while the server runs), the server being an unauthenticated local/development service rather than an exposed production endpoint, and the absence of confidentiality impact (write/delete only).

Impact

This is a genuine but moderate-priority issue, not a high-CVSS-but-hollow one, nor an emergency. The CVSS 4.0 base score of 5.9 (medium) is consistent with the vendor priority label 'this_month' rather than act_now or emergency. The 4.0 vector shows network reach (AV:N) and low complexity (AC:L) but is tempered by an attack requirement (AT:P) and required active user interaction (UI:A), meaning a victim must be running Lektor's unauthenticated local admin server AND be lured to an attacker-controlled page. PR:N confirms no authentication is needed against that local server. Impact is integrity/availability only (VI:H/VA:H: arbitrary file write and recursive directory deletion) with no confidentiality loss (VC:N) and no scope/subsequent-system impact. No EPSS score and no KEV listing were provided, and no confirmed working exploit code is present - only an upstream issue, the VulnCheck advisory, and the fix PRs. The practical risk is bounded and largely targeted rather than mass-exploitable: it affects Windows developers actively running the Lektor dev server, exploitation depends on CSRF or DNS rebinding reaching localhost, and it is platform-limited to Windows. One signal to verify: the description and advisory frame this as reachable via 'the unauthenticated local server,' so the AV:N rating reflects browser-mediated cross-site/DNS-rebinding reach to a loopback service, not a directly internet-exposed endpoint - defenders should interpret the network vector with that nuance.

Exploit ScenarioDerived

A developer on Windows runs 'lektor server', exposing the unauthenticated admin API on localhost. While it is running they visit an attacker-controlled web page, which issues cross-site requests (or uses DNS rebinding) to the local server and submits a drive-letter path such as /C:/Users/Public to the deleterecord or newattachment endpoint. Because cleanup_path does not normalise drive-letter paths, the server writes an attacker-controlled file or recursively deletes a directory outside the project. No confirmed working public exploit code is identified at time of analysis, though an upstream issue and a VulnCheck advisory publicly describe the flaw.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 06, 2026

Absolute path traversal in Lektor's unauthenticated local admin/dev API on Windows lets a hostile web page write attacker-controlled files or recursively delete directories outside the project's content tree while a developer has lektor server running. The trigger is a DB path carrying a Windows drive prefix (for example /C:/Users/Public) that cleanup_path/untrusted_to_os_path does not normalise, delivered to the deleterecord or newattachment endpoints through cross-site requests or DNS rebinding against the loopback server; exploitation additionally requires the Windows platform and a victim who is lured to the attacker's page while the server is up. Impact is integrity and availability only (no confidentiality, C:N/I:H/A:H; CVSS 4.0 5.9, independently assessed as CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H), and no public exploit code was identified at time of analysis, with no confirmed active exploitation (not in CISA KEV).

RemediationAI

Apply the vendor fix carried by upstream PR https://github.com/lektor/lektor/pull/1302 (with related changes in https://github.com/lektor/lektor/pull/1288), which makes untrusted_to_os_path reject drive-prefixed DB paths and makes load_raw_data, make_editor_session and the admin API deserialiser fail closed; the provided data does not name a released tag that ships this change beyond identifying 3.3.14 and 3.4.0b15 as the last affected versions, so confirm the fixed release against the vendor advisory (https://www.vulncheck.com/advisories/lektor-through-3.3.14-and-3.4-0b15-path-traversal-via-admin-api-drive-letter-paths) before upgrading. Because exploitation requires the Windows platform, a running unauthenticated local server, and the victim visiting an attacker page from that same machine, the practical interim controls are: stop lektor server when it is not actively in use (this removes the attack surface entirely, at the cost of losing live preview), and avoid browsing untrusted sites from the same Windows host while the dev server is running (trade-off: operational inconvenience, but it defeats the cross-site-request and DNS-rebinding delivery paths). Running the build/preview workflow inside a Linux VM or container also sidesteps the Windows drive-letter condition, since the flaw does not apply on Linux or macOS. Note that binding to loopback is the default and does not by itself block DNS rebinding, so it should not be treated as a mitigation.

Affected VersionsENISA

lektor 0 ≤3.3.14
lektor 3.4.0b1 ≤3.4.0b15

Affected Packages

euvd lektor no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Lektor is a Python static site generator whose Flask-based admin UI is normally served by the unauthenticated local development server started with lektor server. Paths exchanged with the admin JSON API are "DB paths" that a helper, untrusted_to_os_path in lektor/utils.py, converts into filesystem paths after normalisation; per the CWE-36 (Absolute Path Traversal) root cause, that normalisation did not account for Windows drive prefixes. Because ntpath.splitdrive recognises C: as a drive and os.path.join discards its base argument when the joined component is absolute, a value such as /C:/Users/Public or /c:x could resolve outside the project's content/ directory on Windows, giving the admin API an arbitrary absolute write/delete target. The upstream fix (PR #1302, with related work in PR #1288) rejects any path whose ntpath.splitdrive(clean_path[1:]) reports a drive, raising ValueError, and callers propagate that rejection: db.load_raw_data returns None, editor.make_editor_session raises BadEdit("Invalid path"), and the API _deserialize hook raises a marshmallow ValidationError. Regression tests cover /C:/Users/Public, /C:Users, /c:x and /D:. The vulnerable code paths are the db.py path-to-filesystem conversion (to_fs_path) and the utils.py normalisation helpers referenced in the advisory at https://github.com/lektor/lektor/blob/v3.3.14/lektor/db.py#L1334-L1336 and https://github.com/lektor/lektor/blob/v3.3.14/lektor/utils.py#L83-L94.

Know when Lektor gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.8 MEDIUM

AV:N with AC:H because exploitation reaches the local server only via CSRF/DNS rebinding on Windows; PR:N as the server is unauthenticated; UI:R since the victim must visit a page; C:N, I:H/A:H for file write and directory deletion.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Lektor through 3.3.14 and 3.4.0b15 contains an absolute path traversal vulnerability in the admin API on Windows that allows attackers to escape the project directory by supplying drive-letter paths that cleanup_path does not normalise. Attackers can use a malicious web page with cross-site requests or DNS rebinding against the unauthenticated local server to recursively delete directories via deleterecord or write attacker-controlled files via newattachment.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Low
niche open-source static site generator, limited production deployment footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy