CVE-2026-104059

Lektor 3.3.14 CSRF via Admin API Endpoints

Published Oct 1, 2026 CVSS 4.0 · 7 High EPSS < 1% KEV · Not listed
Description
Lektor 3.3.14 and 3.4.0b15 contains a cross-site request forgery vulnerability in the admin API blueprint that allows unauthenticated attackers to perform state-changing actions by sending cross-origin requests without CSRF tokens, Origin/Referer validation, CORS configuration, or Host allowlisting. Attackers can exploit the newattachment, deleterecord, build, clean, and publish endpoints from a malicious web page to write arbitrary files, delete pages, wipe build output, trigger deployment publication, and via DNS rebinding reach read endpoints to disclose data.

Analysis

AI-generated

Technical impact

The administrator API blueprint in Lektor 3.3.14 and 3.4.0b15 lacks CSRF protection, allowing unauthenticated users to trigger state‑changing operations such as uploading arbitrary files, deleting content, wiping build directories, and publishing deployments from a malicious web page. The API accepts requests without CSRF tokens, Origin/Referer checks, CORS configuration, or host allowlisting, enabling an attacker to manipulate site data without credentials.

Affected Systems

Deployments running Lektor version 3.3.14 or 3.4.0b15 are affected. No other released versions are specified as vulnerable.

Risk and Exploitability

The CVSS score of 7 indicates high severity. EPSS score is unavailable and the vulnerability is not listed in CISA KEV, but the lack of CSRF safeguards means any victim who visits a malicious page can forge requests to the administrator API. Exploitation requires no additional authentication and can result in unauthorized file writes, content deletion, build output erasure, deployment publication, and data disclosure via DNS rebinding, threatening confidentiality, integrity, and availability.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Lektor to the latest patch release that removes the CSRF flaw.
  • Configure the administrator API to require CSRF tokens or enforce strict Origin/Referer header validation for all state‑changing requests.
  • Limit the administrator API to trusted IP ranges or host allowlisting so only authorized hosts can reach it.
  • Disable or remove the vulnerable endpoints (newattachment, deleterecord, build, clean, publish) via configuration or firewall rules if a patch cannot be applied immediately.

Generated by OpenCVE AI on October 1, 2026 at 19:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Lektor
Lektor lektor
Vendors & Products Lektor
Lektor lektor
Type Values Removed Values Added
Description Lektor 3.3.14 and 3.4.0b15 contains a cross-site request forgery vulnerability in the admin API blueprint that allows unauthenticated attackers to perform state-changing actions by sending cross-origin requests without CSRF tokens, Origin/Referer validation, CORS configuration, or Host allowlisting. Attackers can exploit the newattachment, deleterecord, build, clean, and publish endpoints from a malicious web page to write arbitrary files, delete pages, wipe build output, trigger deployment publication, and via DNS rebinding reach read endpoints to disclose data.
Title Lektor 3.3.14 CSRF via Admin API Endpoints
Weaknesses CWE-352
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H'}

cvssV4_0

{'score': 7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-352

    Cross-Site Request Forgery (CSRF)

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 13, 2026, 11:20 AM
Reserved
Oct 1, 2026, 6:02 PM
Status
Deferred
Published
Oct 1, 2026, 7:17 PM
Modified
Oct 2, 2026, 6:47 PM