# Wagtail has improper permission handling on admin preview endpoints

Advisory record · `GHSA-4qvv-g3vr-m348`

- **Identifiers:** `GHSA-4qvv-g3vr-m348` · `CVE-2026-25517` · `PYSEC-2026-2030`
- **State:** Confirmed
- **Severity:** CVSS 5.1 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-862](https://cwe.mitre.org/data/definitions/862.html)
- **Tags:** [Broken access control](https://agentprime.io/advisories/tag/access-control.md)
- **Published:** 3 Feb 2026
- **Updated:** 7 Jul 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 3 Feb 2026, 18:35 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `wagtail` (PyPI): affected `<6.3.6 || >=6.4rc1, <7.0.4 || >=7.1rc1, <7.1.3 || >=7.2rc1, <7.2.2 || >=7.3rc1, <7.3`; fixed in `6.3.6`, `7.0.4`, `7.1.3`, `7.2.2`, `7.3`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.1 Medium, CVSS 4.0: `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`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0038, the 33rd percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 3 Feb 2026. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-4qvv-g3vr-m348](https://github.com/advisories/GHSA-4qvv-g3vr-m348)
- [OSV: GHSA-4qvv-g3vr-m348](https://osv.dev/vulnerability/GHSA-4qvv-g3vr-m348)
- <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>
- <https://github.com/wagtail/wagtail>
- <https://github.com/wagtail/wagtail/releases/tag/v6.3.6>
- <https://github.com/wagtail/wagtail/releases/tag/v7.0.4>
- <https://github.com/wagtail/wagtail/releases/tag/v7.1.3>
- <https://github.com/wagtail/wagtail/releases/tag/v7.2.2>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-4qvv-g3vr-m348>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-4qvv-g3vr-m348/>. Everything for agents: <https://agentprime.io/llms.txt>.
