Wagtail has improper permission handling on admin preview endpoints
Wagtail is an open source content management system built on Django. Prior to versions 6.3.6, 7.0.4, 7.1.3, 7.2.2, and 7.3, due to a missing permission check on the preview endpoints, a user with access to the Wagtail admin and knowledge of a model's fields can craft a form submission to obtain a preview rendering of any page, snippet or site setting object for which previews are enabled, consisting of any data of the user's choosing. The existing data of the object itself is not exposed, but depending on the nature of the template being rendered, this may expose other database contents that would otherwise only be accessible to users with edit access over the model. The vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin. This issue has been patched in versions 6.3.6, 7.0.4, 7.1.3, 7.2.2, and 7.3.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-25517
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 15:30 UTC · Revision 1
Source evidence
Wagtail has improper permission handling on admin preview endpoints
core-osv · Original sourcePublished 4 Feb 2026, 20:48 UTC
Wagtail is an open source content management system built on Django. Prior to versions 6.3.6, 7.0.4, 7.1.3, 7.2.2, and 7.3, due to a missing permission check on the preview endpoints, a user with access to the Wagtail admin and knowledge of a model's fields can craft a form submission to obtain a preview rendering of any page, snippet or site setting object for which previews are enabled, consisting of any data of the user's choosing. The existing data of the object itself is not exposed, but depending on the nature of the template being rendered, this may expose other database contents that would otherwise only be accessible to users with edit access over the model. The vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin. This issue has been patched in versions 6.3.6, 7.0.4, 7.1.3, 7.2.2, and 7.3.
osv:CVE-2026-25517
Complete source record
{
"id": "303a193b4c9dc5bdc333b3e2d1a023a7bbd62f6ee3f5c91ad03de11406a6b63d",
"url": "https://osv.dev/vulnerability/CVE-2026-25517",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Wagtail has improper permission handling on admin preview endpoints",
"summary": "Wagtail is an open source content management system built on Django. Prior to versions 6.3.6, 7.0.4, 7.1.3, 7.2.2, and 7.3, due to a missing permission check on the preview endpoints, a user with access to the Wagtail admin and knowledge of a model's fields can craft a form submission to obtain a preview rendering of any page, snippet or site setting object for which previews are enabled, consisting of any data of the user's choosing. The existing data of the object itself is not exposed, but depending on the nature of the template being rendered, this may expose other database contents that would otherwise only be accessible to users with edit access over the model. The vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin. This issue has been patched in versions 6.3.6, 7.0.4, 7.1.3, 7.2.2, and 7.3.",
"evidence": "osv:CVE-2026-25517",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-25517",
"aliases": [
"CVE-2026-25517",
"GHSA-4qvv-g3vr-m348",
"PYSEC-2026-2030"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/wagtail/wagtail",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "18dddaee3b6fb4af3d3b368f3e2e5ee8a020b765"
},
{
"introduced": "30d4da49b8e1d195be81480ebdeb73b9567c6da7"
},
{
"fixed": "ae831dd4c926ee122fe39b0b6c9226c9ebf237b0"
},
{
"introduced": "cf8c53ea06a1dea16fee8c2ca1cf76aa37e5e322"
},
{
"fixed": "119ae0b9acc27cfb2ab27a3b464428ded104f74e"
},
{
"introduced": "46951d47f4dac76689ebe20afc75aa63ccdb98c9"
},
{
"fixed": "e1e1783f9cfbe81f80c4f3b6140b0b7cef1a3513"
},
{
"fixed": "01fd3477365a193e6a8270311defb76e890d2719"
},
{
"fixed": "5f09b6da61e779b0e8499bdbba52bf2f7bd3241f"
},
{
"fixed": "73f070dbefbd3b39ea6649ce36bd2d2a6eef2190"
},
{
"fixed": "7dfe8de5f8b3f112c73c87b6729197db16454915"
},
{
"fixed": "dd824023a031f1b82a6b6f83a97a5c73391b7c03"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "6.3.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.4"
},
{
"fixed": "7.0.4"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.1"
},
{
"fixed": "7.1.3"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.2"
},
{
"fixed": "7.2.2"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "01fd3477365a193e6a8270311defb76e890d2719"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "5f09b6da61e779b0e8499bdbba52bf2f7bd3241f"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "73f070dbefbd3b39ea6649ce36bd2d2a6eef2190"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "7dfe8de5f8b3f112c73c87b6729197db16454915"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "dd824023a031f1b82a6b6f83a97a5c73391b7c03"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"= 7.3rc1",
"v7.2.1",
"v7.3rc1",
"v7.2",
"v7.1.2",
"v7.0.3",
"v7.1.1",
"v7.0.2",
"v7.1",
"v6.3.5",
"v7.0.1",
"v6.3.4",
"v7.0",
"v7.0rc1",
"v6.3.3",
"v6.3.2",
"v6.3.1",
"v6.3",
"v6.3rc2",
"v4.1rc1",
"v2.16rc1",
"v2.11.rc1",
"v2.8rc1",
"v2.2rc1",
"v1.10rc1",
"v1.8rc1",
"v1.6rc1",
"v1.5rc1",
"v1.4rc1",
"v1.3rc1",
"v1.2rc1",
"v1.1rc1",
"v1.0rc1",
"v1.0b2",
"v0.8.1",
"v0.8",
"v0.7",
"v0.6",
"v0.5",
"v0.4",
"v0.2",
"v0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25517.json"
}
}
],
"modified": "2026-10-28T02:30:37.179655938Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25517.json",
"https://github.com/wagtail/wagtail/security/advisories/GHSA-4qvv-g3vr-m348",
"https://nvd.nist.gov/vuln/detail/CVE-2026-25517",
"https://github.com/wagtail/wagtail/commit/01fd3477365a193e6a8270311defb76e890d2719",
"https://github.com/wagtail/wagtail/commit/5f09b6da61e779b0e8499bdbba52bf2f7bd3241f",
"https://github.com/wagtail/wagtail/commit/73f070dbefbd3b39ea6649ce36bd2d2a6eef2190",
"https://github.com/wagtail/wagtail/commit/7dfe8de5f8b3f112c73c87b6729197db16454915",
"https://github.com/wagtail/wagtail/commit/dd824023a031f1b82a6b6f83a97a5c73391b7c03"
],
"provider_metadata": {
"cwe_ids": [
"CWE-862"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25517.json"
}
},
"related_cves": [
{
"value": "CVE-2026-25517",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 504146,
"published_at": "2026-02-04T20:48:19.16+00:00"
}