Exposure of .env if project root is configured as web root in shopware/production
Impact
The .env and other sensitive files can be leaked if the project root and not /public is configured as the web root.
Patches
We 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.
https://www.shopware.com/en/download/#shopware-6
Workarounds
You should always use /public as the web root.
For 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.
https://store.shopware.com/en/detail/index/sArticle/518463/number/Swag136939272659
For more information
https://docs.shopware.com/en/shopware-6-en/security-updates/security-update-04-2021
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Composer-Paket | shopware/production | < 6.3.5.3 | 6.3.5.3 |
| Composer-Paket | shopware/shopware | < 6.3.5.3 | 6.3.5.3 |
Verweise
- Schwäche (CWE)
CWE-552- Plattform
- Composer
- Paket
shopware/production, shopware/shopware- Veröffentlicht
- 13.04.2021
- Aktualisiert
- 11.10.2026 10:22
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-3pcr-4982-548m - CC BY 4.0
Schwachstellenhistorie: shopware/shopware
Alle veröffentlichten Schwachstellen dieses Pakets (Composer-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 34
- Erste → letzte
- 11.2020 01.2026
- Ohne Fix
- 3
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 4
- Hoch 6
- Mittel 20
- Niedrig 4
Veröffentlichungen pro Jahr
- 2020: 3
- 2021: 6
- 2022: 15
- 2023: 3
- 2024: 4
- 2025: 2
- 2026: 1
-
Exposure of .env if project root is configured as web root in shopware/production dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.