{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "3.3.14"
              },
              {
                "introduced": "3.4.0b1"
              },
              {
                "last_affected": "3.4.0b15"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "1e4c15029afd5c862557cfe2c1bc564733be04ad"
            },
            {
              "introduced": "6d7bd4db43584ffa14158ccf5f4f5211a2567f14"
            },
            {
              "last_affected": "85a9ed91f534492d0f9eadb919c3bae9d917564b"
            }
          ],
          "repo": "https://github.com/lektor/lektor",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-352"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104059.json"
  },
  "details": "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.",
  "id": "CVE-2026-104059",
  "modified": "2026-10-02T03:30:24.422011344Z",
  "published": "2026-10-01T18:17:39.168Z",
  "references": [
    {
      "type": "ARTICLE",
      "url": "https://gist.github.com/mansurmavlankulov/c7683e3204e84892e442b0196585d5bb"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104059.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/lektor/lektor"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-104059"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/lektor-csrf-via-admin-api-endpoints"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Lektor 3.3.14 CSRF via Admin API Endpoints"
}