{"id":"CVE-2026-25517","aliases":["CVE-2026-25517","GHSA-4qvv-g3vr-m348","PYSEC-2026-2030"],"related":[],"kind":"vulnerability","state":"published","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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).","format":"markdown","source":"ghsa"},{"lang":"es","text":"Wagtail es un sistema de gestión de contenido de código abierto construido sobre Django. Antes de las versiones 6.3.6, 7.0.4, 7.1.3, 7.2.2 y 7.3, debido a una verificación de permisos faltante en los puntos finales de vista previa, un usuario con acceso al administrador de Wagtail y conocimiento de los campos de un modelo puede elaborar un envío de formulario para obtener una representación de vista previa de cualquier página, fragmento u objeto de configuración del sitio para los cuales las vistas previas están habilitadas, que consiste en cualquier dato elegido por el usuario. Los datos existentes del objeto en sí no se exponen, pero dependiendo de la naturaleza de la plantilla que se está renderizando, esto puede exponer otros contenidos de la base de datos que de otro modo solo serían accesibles para usuarios con acceso de edición sobre el modelo. La vulnerabilidad no es explotable por un visitante de sitio ordinario sin acceso al administrador de Wagtail. Este problema ha sido parcheado en las versiones 6.3.6, 7.0.4, 7.1.3, 7.2.2 y 7.3.","source":"nvd"}],"published":"2026-02-03T18:35:52.000Z","modified":"2026-07-07T17:56:34.383Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":5.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":5.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N","score":2.7,"rating":"LOW"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"version":"< 6.3.6","status":"affected"},{"version":">= 6.4rc1, < 7.0.4","status":"affected"},{"version":">= 7.1rc1, < 7.1.3","status":"affected"},{"version":">= 7.2rc1, < 7.2.2","status":"affected"},{"version":"= 7.3rc1","status":"affected"}],"vendor":"wagtail","product":"wagtail","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"6.3.6"}],"ecosystem":"PyPI","package":"wagtail","purl":"pkg:pypi/wagtail","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.4rc1","status":"affected","fixed":"7.0.4"}],"ecosystem":"PyPI","package":"wagtail","purl":"pkg:pypi/wagtail","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"7.1rc1","status":"affected","fixed":"7.1.3"}],"ecosystem":"PyPI","package":"wagtail","purl":"pkg:pypi/wagtail","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"7.2rc1","status":"affected","fixed":"7.2.2"}],"ecosystem":"PyPI","package":"wagtail","purl":"pkg:pypi/wagtail","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"7.3rc1","status":"affected","fixed":"7.3"}],"ecosystem":"PyPI","package":"wagtail","purl":"pkg:pypi/wagtail","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"6.3.6"},{"status":"affected","introduced":"6.4","fixed":"7.0.4"},{"status":"affected","introduced":"7.1","fixed":"7.1.3"},{"status":"affected","introduced":"7.2","fixed":"7.2.2"}],"vendor":"torchbox","product":"wagtail","cpe":"cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"6.3.6"},{"type":"ecosystem","introduced":"6.4rc1","status":"affected","fixed":"7.0.4"},{"type":"ecosystem","introduced":"7.1rc1","status":"affected","fixed":"7.1.3"},{"type":"ecosystem","introduced":"7.2rc1","status":"affected","fixed":"7.2.2"},{"type":"ecosystem","introduced":"7.3rc1","status":"affected","fixed":"7.3"}],"ecosystem":"PyPI","package":"wagtail","purl":"pkg:pypi/wagtail","source":"pysec"}],"references":[{"url":"https://github.com/wagtail/wagtail/security/advisories/GHSA-4qvv-g3vr-m348","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/wagtail/wagtail/commit/01fd3477365a193e6a8270311defb76e890d2719","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/wagtail/wagtail/commit/5f09b6da61e779b0e8499bdbba52bf2f7bd3241f","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/wagtail/wagtail/commit/73f070dbefbd3b39ea6649ce36bd2d2a6eef2190","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/wagtail/wagtail/commit/7dfe8de5f8b3f112c73c87b6729197db16454915","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/wagtail/wagtail/commit/dd824023a031f1b82a6b6f83a97a5c73391b7c03","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25517","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/wagtail/wagtail","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/wagtail/wagtail/releases/tag/v6.3.6","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/wagtail/wagtail/releases/tag/v7.0.4","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/wagtail/wagtail/releases/tag/v7.1.3","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/wagtail/wagtail/releases/tag/v7.2.2","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/wagtail/wagtail/releases/tag/v7.3","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/wagtail","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-4qvv-g3vr-m348","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-02-05T14:20:11.920Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-25517","url":"https://www.cve.org/CVERecord?id=CVE-2026-25517","licence":"CVE Terms of Use","modified":"2026-02-05T14:32:08.136Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4qvv-g3vr-m348","url":"https://github.com/advisories/GHSA-4qvv-g3vr-m348","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:34.383Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-25517","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25517","licence":"Public domain","modified":"2026-06-17T10:24:46.633Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2030","url":"https://osv.dev/vulnerability/PYSEC-2026-2030","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:20.455Z"}],"updatedAt":"2026-11-25T22:59:13.506Z","epss":{"score":0.00384,"percentile":0.34621,"date":"2026-12-01T12:00:22.000Z"}}