GHSA-3pcr-4982-548m

    Dashboard / Vulnerabilities / GHSA-3pcr-4982-548m

    GHSA-3pcr-4982-548m

    Published: 13 Apr 2021Last Modified: 10 Sept 2026

    Summary: Exposure of .env if project root is configured as web root in shopware/production

    Details: ### 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

    Affected packages

    Package

    Name: shopware/production

    Purl: pkg:composer/shopware/production

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -6.3.5.3

    Affected versions

    v6.1.0
    v6.1.0-rc1
    v6.1.0-rc2
    v6.1.0-rc3
    v6.1.1
    v6.1.2
    v6.1.3
    v6.1.4
    v6.1.5
    v6.1.6

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-3pcr-4982-548m | CVE-DB