{"id":"CVE-2021-32645","aliases":["CVE-2021-32645","GHSA-4r8q-gv9j-3xx6"],"related":[],"kind":"vulnerability","state":"published","title":"Open Redirect in tenancy","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nIn 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.\nThis 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`)\n\n### Patches\nVersion 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.\n\n### Workarounds\nThere is a simple way to work around the security issue\n- Set the `force_https` to every tenant to `false`\n\n### References\nhttps://nvd.nist.gov/vuln/detail/CVE-2018-11784\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Contact us in Discord: https://tenancy.dev/chat","format":"markdown","source":"ghsa"},{"lang":"es","text":"Tenancy multi-tenant es un controlador multidominio de código abierto para el Laravel web framework.&#xa0;En algunas situaciones, es posible tener redireccionamientos abiertos donde los usuarios pueden ser redirigidos desde su sitio a cualquier otro sitio usando una URL especialmente diseñada.&#xa0;Este es solo el caso de instalaciones donde es usado la Identificación de Nombre de Host predeterminada y el entorno usa inquilinos que presentan la función \"force_https\" ajustada en el parámetro \"true\" (por defecto: \"false\").&#xa0;La versión 5.7.2 contiene los parches relevantes para corregir este error.&#xa0;Eliminar la URL de los caracteres especiales para impedir que se redireccione a las URL especialmente diseñadas.&#xa0;Como solución alternativa, los usuarios pueden ajustar la función \"force_https\" para cada inquilino en el parámetro \"false\", sin embargo, esto puede degradar la seguridad de la conexión","source":"nvd"}],"published":"2021-05-27T16:50:11.000Z","modified":"2026-07-08T06:27:23.805Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","score":5.8,"rating":"MEDIUM"}],"cwes":["CWE-601"],"affected":[{"ranges":[{"version":">=5.6.0, < 5.7.2","status":"affected"}],"vendor":"tenancy","product":"multi-tenant","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"5.6.0","status":"affected","fixed":"5.7.2"}],"ecosystem":"Packagist","package":"hyn/multi-tenant","purl":"pkg:composer/hyn/multi-tenant","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"5.6.0","fixed":"5.7.2"}],"vendor":"tenancy","product":"multi-tenant","cpe":"cpe:2.3:a:tenancy:multi-tenant:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/tenancy/multi-tenant/security/advisories/GHSA-4r8q-gv9j-3xx6","tags":["mitigation","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/tenancy/multi-tenant/commit/9c837a21bccce9bcaeb90033ef200d84f0d9e164","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://packagist.org/packages/hyn/multi-tenant","tags":["product","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://webmasters.googleblog.com/2009/01/open-redirect-urls-is-your-site-being.html","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32645","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-32645","url":"https://www.cve.org/CVERecord?id=CVE-2021-32645","licence":"CVE Terms of Use","modified":"2024-08-03T23:25:30.930Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4r8q-gv9j-3xx6","url":"https://github.com/advisories/GHSA-4r8q-gv9j-3xx6","licence":"CC-BY-4.0","modified":"2026-07-08T06:27:23.805Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-32645","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32645","licence":"Public domain","modified":"2026-06-17T03:53:20.347Z"}],"updatedAt":"2026-11-25T22:58:01.574Z","epss":{"score":0.0102,"percentile":0.6256,"date":"2026-11-30T12:00:22.000Z"}}