CVE-2026-25517: Wagtail Wagtail Has Improper Permission Handling Vulnerability
MODERATECVE-2026-25517 is a MODERATE wagtail has improper permission handling vulnerability (CWE-862: Missing Authorization) affecting Wagtail libraries in the PyPI ecosystem. The issue involves wagtail has improper permission handling on admin preview endpoints. Remediation is available by upgrading affected packages to version 6.3.6, 7.0.4, 7.1.3, 7.2.2, 7.3.
CVE-2026-25517 at a Glance
How to Fix CVE-2026-25517
To remediate this vulnerability, upgrade all affected Wagtail dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install wagtail>=6.3.6
pip install wagtail>=7.0.4
pip install wagtail>=7.1.3
pip install wagtail>=7.2.2
pip install wagtail>=7.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show wagtail
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-25517, inspect your installed packages using pip:
pip show wagtail
Analyze the terminal output to locate any version of Wagtail in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.3.6), your application is affected.
Note: The pip show wagtail command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Wagtail, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-25517 Affected Wagtail Versions
5 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
wagtail
|
PyPI |
< 6.3.6
|
6.3.6
|
|
wagtail
|
PyPI |
≥ 6.4rc1
< 7.0.4
|
7.0.4
|
|
wagtail
|
PyPI |
≥ 7.1rc1
< 7.1.3
|
7.1.3
|
|
wagtail
|
PyPI |
≥ 7.2rc1
< 7.2.2
|
7.2.2
|
|
wagtail
|
PyPI |
≥ 7.3rc1
< 7.3
All 1 versions
7.3rc1
|
7.3
|
References
Frequently Asked Questions
What is CVE-2026-25517?
Which Wagtail versions are affected?
What version fixes CVE-2026-25517?
Is wagtail affected?
What CWE is associated with CVE-2026-25517?
How can I check PyPI dependencies for CVE-2026-25517?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4qvv-g3vr-m348",
"modified" : "2026-02-04T21:58:34Z",
"published" : "2026-02-03T18:35:52Z",
"aliases" : [ "CVE-2026-25517" ],
"summary" : "Wagtail has improper permission handling on admin preview endpoints",
"details" : "### Impact\nDue 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.\n\n### Patches\nPatched versions have been released as Wagtail 6.3.6, 7.0.4, 7.1.3 and 7.2.2. The new 7.3 feature release also incorporates this fix.\n\n### Workarounds\nNo workaround is available.\n\n### Acknowledgements\n\nMany thanks to @thxtech for reporting this issue.\n\n### For more information\n\nIf there are any questions or comments about this advisory:\n\n- Visit Wagtail's [support channels](https://docs.wagtail.io/en/stable/support.html)\n- Send an email to [security@wagtail.org](mailto:security@wagtail.org) (view our [security policy](https://github.com/wagtail/wagtail/security/policy) for more information).",
"severity" : [ {
"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" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "wagtail"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.3.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "wagtail"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.4rc1"
}, {
"fixed" : "7.0.4"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 7.0.3"
}
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "wagtail"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.1rc1"
}, {
"fixed" : "7.1.3"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 7.1.2"
}
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "wagtail"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.2rc1"
}, {
"fixed" : "7.2.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 7.2.1"
}
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "wagtail"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.3rc1"
}, {
"fixed" : "7.3"
} ]
} ],
"versions" : [ "7.3rc1" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/wagtail/wagtail/security/advisories/GHSA-4qvv-g3vr-m348"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-25517"
}, {
"type" : "WEB",
"url" : "https://github.com/wagtail/wagtail/commit/01fd3477365a193e6a8270311defb76e890d2719"
}, {
"type" : "WEB",
"url" : "https://github.com/wagtail/wagtail/commit/5f09b6da61e779b0e8499bdbba52bf2f7bd3241f"
}, {
"type" : "WEB",
"url" : "https://github.com/wagtail/wagtail/commit/73f070dbefbd3b39ea6649ce36bd2d2a6eef2190"
}, {
"type" : "WEB",
"url" : "https://github.com/wagtail/wagtail/commit/7dfe8de5f8b3f112c73c87b6729197db16454915"
}, {
"type" : "WEB",
"url" : "https://github.com/wagtail/wagtail/commit/dd824023a031f1b82a6b6f83a97a5c73391b7c03"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/wagtail/wagtail"
}, {
"type" : "WEB",
"url" : "https://github.com/wagtail/wagtail/releases/tag/v6.3.6"
}, {
"type" : "WEB",
"url" : "https://github.com/wagtail/wagtail/releases/tag/v7.0.4"
}, {
"type" : "WEB",
"url" : "https://github.com/wagtail/wagtail/releases/tag/v7.1.3"
}, {
"type" : "WEB",
"url" : "https://github.com/wagtail/wagtail/releases/tag/v7.2.2"
}, {
"type" : "WEB",
"url" : "https://github.com/wagtail/wagtail/releases/tag/v7.3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-862" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-03T18:35:52Z",
"nvd_published_at" : "2026-02-04T21:16:02Z"
}
}