CVE-2021-32645Tenancy Multi-tenant
Medium 6.1 No auth needed
Follow: this CVE · Tenancy · Tenancy Multi-tenant We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 63
- Auth required
- No
- Published
- May 27, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-601
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Multi-tenant.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | hyn/multi-tenant |
≥ 5.6.0 < 5.7.2 |
5.7.2 |
composer require "hyn/multi-tenant:^5.7.2" |
Per OSV / GitHub Advisories (GHSA-4r8q-gv9j-3xx6). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| tenancy | multi-tenant | ≥ 5.6.0 < 5.7.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Mitigation Third Party Advisory
- packagist.org Product Third Party Advisory
- webmasters.googleblog.com Third Party Advisory