---
id: CVE-2022-33146
aliases:
  - GHSA-cgrj-xjm7-9q27
  - PYSEC-2026-1060
title: Open redirect in web2py
summary: Open redirect in web2py
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'
vendor: web2py
product: web2py
ecosystem: pip
affected:
  - web2py < 2.22.5
patched:
  - web2py 2.22.5
published: '2022-06-28'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-cgrj-xjm7-9q27'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2022-33146'
  - url: >-
      https://github.com/web2py/web2py/commit/a181b855a43cb8b479d276b082cfcde385768451
  - url: >-
      https://github.com/web2py/web2py/commit/d9805606f88f00c0be56438247605cefde73e14e#diff-c1d01f37ee54d813815718760b9c4d7b274e2be7ad18f65552cd564336ab593bR110
  - url: 'https://github.com/web2py/web2py'
  - url: 'https://jvn.jp/en/jp/JVN02158640/index.html'
  - url: 'http://web2py.com'
tags:
  - osv
  - pip
epss: 0.01575
epssPercentile: 0.74383
ingestedAt: '2026-07-08T18:25:48.377Z'
---

## Overview

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.

## Affected packages

- `web2py < 2.22.5`

## Remediation

Upgrade to a patched release:

- `web2py 2.22.5`
