Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-32645

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-32645
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:46 UTC · Revision 1

Source evidence

CVE-2021-32645

core-osv · Original source

Published 27 May 2021, 17:15 UTC

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.

osv:CVE-2021-32645
Complete source record
{
  "id": "b2b1595528923be6b43c5fed170dd4528ee93b0e710656b9712bc04783b86494",
  "url": "https://osv.dev/vulnerability/CVE-2021-32645",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-32645",
    "summary": "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.",
    "evidence": "osv:CVE-2021-32645",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-32645",
      "aliases": [
        "CVE-2021-32645",
        "GHSA-4r8q-gv9j-3xx6"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/tenancy/multi-tenant",
              "type": "GIT",
              "events": [
                {
                  "introduced": "785c4482d268cab6d8e20d8ea3240940a4f74f62"
                },
                {
                  "fixed": "e5afd7b443523d4002ec3520dadb7e02dc4e1d86"
                },
                {
                  "fixed": "9c837a21bccce9bcaeb90033ef200d84f0d9e164"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:tenancy:multi-tenant:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.6.0"
                      },
                      {
                        "fixed": "5.7.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "9c837a21bccce9bcaeb90033ef200d84f0d9e164"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "5.7.1",
            "5.7.0",
            "5.6.4",
            "5.6.3",
            "5.6.2",
            "5.6.1",
            "5.6.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32645.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:42.373929754Z",
      "provider": "osv",
      "references": [
        "https://github.com/tenancy/multi-tenant/security/advisories/GHSA-4r8q-gv9j-3xx6",
        "https://packagist.org/packages/hyn/multi-tenant",
        "https://webmasters.googleblog.com/2009/01/open-redirect-urls-is-your-site-being.html",
        "https://github.com/tenancy/multi-tenant/commit/9c837a21bccce9bcaeb90033ef200d84f0d9e164"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-32645",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 385935,
  "published_at": "2021-05-27T17:15:08.127+00:00"
}