# CVE-2022-29214: URL Redirection to Untrusted Site ('Open Redirect') in next-auth

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/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.67%, higher than 53% of CVEs (2026-12-01)
- Published: 2022-05-20T23:45:11.000Z
- Modified: 2026-06-17T04:39:50.540Z
- Also known as: GHSA-q2mx-j4x2-2h74
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

NextAuth.js (next-auth) is am open source authentication solution for Next.js applications. Prior to versions 3.29.3 and 4.3.3, an open redirect vulnerability is present when the developer is implementing an OAuth 1 provider. Versions 3.29.3 and 4.3.3 contain a patch for this issue. The maintainers recommend adding a certain configuration to one's `callbacks` option as a workaround for those unable to upgrade.

(As written by CVE List.)

## Affected

- nextauthjs next-auth: < 3.29.3; >= 4.0.0, < 4.3.3
- next-auth (npm): before 3.29.3; from 4.0.0 before 4.3.3
- nextauth.js next-auth: before 3.29.3; from 4.0.0 before 4.3.3

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:N`

## References

- <https://github.com/nextauthjs/next-auth/security/advisories/GHSA-q2mx-j4x2-2h74> (third-party-advisory, web)
- <https://github.com/nextauthjs/next-auth/releases/tag/next-auth%40v4.3.3> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-29214> (advisory)
- <https://github.com/nextauthjs/next-auth> (package)

## Sources

- CVE List: [CVE-2022-29214](https://www.cve.org/CVERecord?id=CVE-2022-29214), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-q2mx-j4x2-2h74](https://github.com/advisories/GHSA-q2mx-j4x2-2h74), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-29214](https://nvd.nist.gov/vuln/detail/CVE-2022-29214), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-29214 · Whole record: https://cve.day/CVE-2022-29214.json · Rebuilt by cve.day 2026-11-25T22:58:11.883Z
