{"answers":{"affected":"8 open source packages ship an affected version, including wagtail.","exploited":"There is no known exploitation of GHSA-c2xx-cjmh-9q8f in the wild and no public exploit code.","fix":"Upgrade wagtail to a fixed version for your release line: 7.0.9, 7.3.4, 7.4.3 or 8.0rc2.","what":"GHSA-c2xx-cjmh-9q8f is a missing authorization vulnerability in wagtail, published on 20 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-c2xx-cjmh-9q8f and fix it if it is affected.\n\nWhat it is: GHSA-c2xx-cjmh-9q8f is a missing authorization vulnerability in wagtail, published on 20 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-c2xx-cjmh-9q8f in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- wagtail (PyPI): affected all versions; fixed in 7.0.9\n- wagtail (PyPI): affected all versions; fixed in 7.0.9\n- wagtail (PyPI): affected from 7.1; fixed in 7.3.4\n- wagtail (PyPI): affected from 7.1; fixed in 7.3.4\n- wagtail (PyPI): affected from 7.4; fixed in 7.4.3\n- wagtail (PyPI): affected from 7.4; fixed in 7.4.3\n- wagtail (PyPI): affected from 8.0rc1; fixed in 8.0rc2\n- wagtail (PyPI): affected from 8.0rc1; fixed in 8.0rc2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-c2xx-cjmh-9q8f/ (Markdown: https://insights.sbomify.com/GHSA-c2xx-cjmh-9q8f/index.md)","id":"GHSA-c2xx-cjmh-9q8f","markdown":"https://insights.sbomify.com/GHSA-c2xx-cjmh-9q8f/index.md","name":"GHSA-c2xx-cjmh-9q8f","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Wagtail CMS","requires_auth":"low_privilege","summary":"An attacker with API access can view filenames and names of documents and images in private collections due to improper restriction handling.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Impact\n\nThe Documents and Images [API V2](https://docs.wagtail.org/en/stable/advanced_topics/api/index.html) incorrectly listed items in descendants of private collections, which should inherit the view restrictions defined on their ancestors. A user with access to the API could see the filename and name of documents and images in these descendant collections.\n\n### Patches\n\nPatched versions have been released as Wagtail 7.0.9, 7.3.4, 7.4.3 and 8.0rc2.\n\n### Workarounds\n\nSite owners using Wagtail's API can avoid the vulnerability by adding [authentication](https://docs.wagtail.org/en/stable/advanced_topics/api/v2/configuration.html#authentication) to the Documents and Images APIs.\n\n### Acknowledgements\n\nMany thanks to Ta Duc Thien for reporting this issue.\n\n### For more information\nIf you have any questions or comments about this advisory:\n\n* Visit Wagtail's [support channels](https://docs.wagtail.org/en/stable/support.html)\n* Email us at [security@wagtail.org](mailto:security@wagtail.org) (view our [security policy](https://github.com/wagtail/wagtail/security/policy) for more information).","ecosystems":["PyPI"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Wagtail: Improper restriction handling on descendant collections in Documents and Images API","id":"GHSA-c2xx-cjmh-9q8f","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":8,"n_references":null,"packages":[{"ecosystem":"PyPI","fixed":["7.0.9"],"introduced":["0"],"last_affected":[],"package":"wagtail","purl":null,"source":"GHSA-c2xx-cjmh-9q8f"},{"ecosystem":"PyPI","fixed":["7.0.9"],"introduced":["0"],"last_affected":[],"package":"wagtail","purl":"pkg:pypi/wagtail","source":"GHSA-c2xx-cjmh-9q8f"},{"ecosystem":"PyPI","fixed":["7.3.4"],"introduced":["7.1"],"last_affected":[],"package":"wagtail","purl":null,"source":"GHSA-c2xx-cjmh-9q8f"},{"ecosystem":"PyPI","fixed":["7.3.4"],"introduced":["7.1"],"last_affected":[],"package":"wagtail","purl":"pkg:pypi/wagtail","source":"GHSA-c2xx-cjmh-9q8f"},{"ecosystem":"PyPI","fixed":["7.4.3"],"introduced":["7.4"],"last_affected":[],"package":"wagtail","purl":null,"source":"GHSA-c2xx-cjmh-9q8f"},{"ecosystem":"PyPI","fixed":["7.4.3"],"introduced":["7.4"],"last_affected":[],"package":"wagtail","purl":"pkg:pypi/wagtail","source":"GHSA-c2xx-cjmh-9q8f"},{"ecosystem":"PyPI","fixed":["8.0rc2"],"introduced":["8.0rc1"],"last_affected":[],"package":"wagtail","purl":null,"source":"GHSA-c2xx-cjmh-9q8f"},{"ecosystem":"PyPI","fixed":["8.0rc2"],"introduced":["8.0rc1"],"last_affected":[],"package":"wagtail","purl":"pkg:pypi/wagtail","source":"GHSA-c2xx-cjmh-9q8f"}],"products":null,"published":"2026-08-20","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"An attacker with API access can view filenames and names of documents and images in private collections due to improper restriction handling.","url":"https://insights.sbomify.com/GHSA-c2xx-cjmh-9q8f/"}