{"id":"GHSA-3pcr-4982-548m","aliases":[],"url":"https://o3.security/vulnerability/GHSA-3pcr-4982-548m","summary":"Exposure of .env if project root is configured as web root in shopware/production","details":"### Impact\n\nThe .env and other sensitive files can be leaked if the project root and not `/public` is configured as the web root.\n\n### Patches\nWe recommend to update to the current version 6.3.5.3. You can get the update to 6.3.5.3 regularly via the Auto-Updater or directly via the download overview.\n\nhttps://www.shopware.com/en/download/#shopware-6\n\n### Workarounds\n\nYou should always use `/public` as the web root.\n\nFor older versions of 6.1 and 6.2, corresponding security measures are also available via a plugin. For the full range of functions, we recommend updating to the latest Shopware version.\n\nhttps://store.shopware.com/en/detail/index/sArticle/518463/number/Swag136939272659\n\n### For more information\nhttps://docs.shopware.com/en/shopware-6-en/security-updates/security-update-04-2021","published":"2021-04-13T15:13:37Z","modified":"2026-06-08T23:30:19.280497898Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"shopware/production","fixedVersion":"6.3.5.3"},{"ecosystem":"Packagist","name":"shopware/shopware","fixedVersion":"6.3.5.3"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/shopware/platform/security/advisories/GHSA-3pcr-4982-548m"},{"type":"WEB","url":"https://github.com/shopware/shopware/security/advisories/GHSA-3pcr-4982-548m"},{"type":"PACKAGE","url":"https://github.com/shopware/shopware"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-06-08T23:30:19.280497898Z"}}