# CVE-2021-32645: Open Redirect in tenancy

- Severity: Medium 4.3 (CVSS:3.0, scored by GitHub_M) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/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): 1.02%, higher than 63% of CVEs (2026-11-30)
- Published: 2021-05-27T16:50:11.000Z
- Modified: 2026-07-08T06:27:23.805Z
- Also known as: GHSA-4r8q-gv9j-3xx6
- Weaknesses: CWE-601
- Assigned by: GitHub_M

## Description

Tenancy multi-tenant is an open source multi-domain controller for the Laravel web framework. In some situations, it is possible to have open redirects where users can be redirected from your site to any other site using a specially crafted URL. This is only the case for installations where the default Hostname Identification is used and the environment uses tenants that have `force_https` set to `true` (default: `false`). Version 5.7.2 contains the relevant patches to fix this bug. Stripping the URL from special characters to prevent specially crafted URL's from being redirected to. As a work around users can set the `force_https` to every tenant to `false`, however this may degrade connection security.

(As written by CVE List.)

## Affected

- tenancy multi-tenant: >=5.6.0, < 5.7.2; from 5.6.0 before 5.7.2
- hyn/multi-tenant (Packagist): from 5.6.0 before 5.7.2

## Every score

- GitHub_M: CVSS:3.0 4.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.0 4.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/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/tenancy/multi-tenant/security/advisories/GHSA-4r8q-gv9j-3xx6> (mitigation, third-party-advisory, web)
- <https://github.com/tenancy/multi-tenant/commit/9c837a21bccce9bcaeb90033ef200d84f0d9e164> (patch, third-party-advisory, web)
- <https://packagist.org/packages/hyn/multi-tenant> (product, third-party-advisory, web)
- <https://webmasters.googleblog.com/2009/01/open-redirect-urls-is-your-site-being.html> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-32645> (advisory)

## Sources

- CVE List: [CVE-2021-32645](https://www.cve.org/CVERecord?id=CVE-2021-32645), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-4r8q-gv9j-3xx6](https://github.com/advisories/GHSA-4r8q-gv9j-3xx6), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-32645](https://nvd.nist.gov/vuln/detail/CVE-2021-32645), Public domain, modified 2026-06-17

---

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