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.
Published: 2026-10-01
Score: 7 High
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized State‑Changing Actions
Action: Patch
AI Analysis

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.

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

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 yet.

History

Fri, 02 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 01 Oct 2026 20:00:00 +0000

Type Values Removed Values Added
First Time appeared Lektor
Lektor lektor
Vendors & Products Lektor
Lektor lektor

Thu, 01 Oct 2026 18:30:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-13T11:20:53.724Z

Reserved: 2026-10-01T18:02:50.081Z

Link: CVE-2026-104059

cve-icon Vulnrichment

Updated: 2026-10-02T15:54:28.124Z

cve-icon NVD

Status : Deferred

Published: 2026-10-01T19:17:19.480

Modified: 2026-10-02T18:47:49.947

Link: CVE-2026-104059

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T19:33:10Z

Weaknesses
  • CWE-352

    Cross-Site Request Forgery (CSRF)