Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. shopware/production
  4. ›
  5. GMS-2021-56

GMS-2021-56: Exposure of .env if project root is configured as web root in shopware/production

April 13, 2021 (updated June 8, 2026)

The .env and other sensitive files can be leaked if the project root and not /public is configured as the web root.

References

  • github.com/advisories/GHSA-3pcr-4982-548m
  • github.com/shopware/platform/security/advisories/GHSA-3pcr-4982-548m
  • github.com/shopware/shopware/security/advisories/GHSA-3pcr-4982-548m

Code Behaviors & Features

Detect and mitigate GMS-2021-56 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 6.3.5.3

Fixed versions

  • 6.3.5.3

Solution

Upgrade to version 6.3.5.3 or above.

Weakness

  • CWE-552: Files or Directories Accessible to External Parties

Source file

packagist/shopware/production/GMS-2021-56.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:57 +0000.