# CVE-2021-46897: Wagtail CRX CodeRed Extensions vulnerable to Path Traversal

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.88%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-10-22T00:00:00.000Z
- Modified: 2026-06-17T04:15:46.793Z
- Also known as: GHSA-h454-rq3m-89rc, PYSEC-2023-210
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

views.py in Wagtail CRX CodeRed Extensions (formerly CodeRed CMS or coderedcms) before 0.22.3 allows upward protected/..%2f..%2f path traversal when serving protected media.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- coderedcms (PyPI): before 0.22.3
- wagtailcrx codered_extensions: before 0.22.3

## Every score

- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/coderedcorp/coderedcms/issues/448> (exploit, issue-tracking, report, web)
- <https://github.com/coderedcorp/coderedcms/pull/450> (third-party-advisory, web)
- <https://github.com/coderedcorp/coderedcms/compare/v0.22.2...v0.22.3> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-46897> (advisory)
- <https://github.com/coderedcorp/coderedcms/commit/06006cec23a723bc7d76df75ce2c2d795a447902> (web)
- <https://github.com/coderedcorp/coderedcms> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/coderedcms/PYSEC-2023-210.yaml> (web)
- <https://github.com/advisories/GHSA-h454-rq3m-89rc> (advisory)

## Sources

- CVE List: [CVE-2021-46897](https://www.cve.org/CVERecord?id=CVE-2021-46897), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-h454-rq3m-89rc](https://github.com/advisories/GHSA-h454-rq3m-89rc), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2021-46897](https://nvd.nist.gov/vuln/detail/CVE-2021-46897), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-210](https://osv.dev/vulnerability/PYSEC-2023-210), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2021-46897 · Whole record: https://cve.day/CVE-2021-46897.json · Rebuilt by cve.day 2026-11-25T22:58:08.518Z
