CVE-2020-13997: Shopware database password leakage

shopware/core Updated 02 Oct 2025

Summary

24/05/2022
Yes i
High
7.5

CVE-2020-13997: Shopware database password is leaked to an unauthenticated users. Affects shopware/core versions >= 6.0.0, < 6.2.3. Fixed in 6.2.3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Shopware is an open-source e-commerce platform that provides a range of features for online stores. It is widely used for building and managing online shops. The Shopware core, Shopware platform, and Shopware shopware packages are integral components of the Shopware ecosystem.

Vulnerability Detail

In Shopware before version 6.2.3, an unauthenticated user can obtain the database password when a DriverException occurs and verbose error handling is enabled. This vulnerability poses a significant risk as it allows unauthorized access to the database, potentially leading to data theft, modification, or unauthorized actions.

How To Fix

Minimum fixed version

6.2.3

This is the first release that contains the fix.

composer require shopware/core:6.2.3

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the official fix by upgrading to Shopware version 6.2.3 or later.

Conclusion

The Shopware database password leakage vulnerability (CVE-2020-13997) allows unauthenticated users to obtain the database password, posing a significant risk to the security of Shopware installations. It is crucial to upgrade to Shopware version 6.2.3 or later to fix this vulnerability and prevent unauthorized access to the database. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for shopware/core →

Share this vulnerability

FAQ

This vulnerability allows unauthenticated users to obtain the database password, potentially leading to unauthorized access, data theft, or modification.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your Shopware installation is affected by this vulnerability. It analyzes your composer.lock file and provides real-time alerts for open-source vulnerabilities.

Yes, all versions of Shopware before 6.2.3 are affected by this vulnerability. It is crucial to upgrade to the fixed version to mitigate the risk.

Yes, the fix for this vulnerability is included in Shopware version 6.2.3. It is recommended to upgrade to this version or later to apply the patch.

Yes, an attacker can exploit this vulnerability remotely without authentication. They can obtain the database password by triggering a DriverException and enabling verbose error handling.

Related vulnerabilities

Recent vulnerabilities recorded for shopware/core.

How To Fix

Minimum fixed version

6.2.3

This is the first release that contains the fix.

composer require shopware/core:6.2.3

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback