CVE-2019-11512 is a critical-severity (CVSS 9.8) SQL Injection vulnerability in contao/contao. A fix is available for contao/contao — see the affected versions and patch details below.
Contao SQL injection in the file manager
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
contao/contao🐘contao/contao🐘contao/core-bundle🐘contao/core-bundleReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
David Wind, penetration tester with A1 Digital, has discovered that the SQL injection vulnerability originally published under CVE-2017-16558 can still be exploited in the file manager in Contao 4.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | contao/contao | ≥ 4.1.0&&< 4.4.39 | 4.4.39composer require contao/contao:^4.4.39 |
| 🐘Packagist | contao/contao | ≥ 4.5.0&&< 4.7.5 | 4.7.5composer require contao/contao:^4.7.5 |
| 🐘Packagist | contao/core-bundle | ≥ 4.1.0&&< 4.4.39 | 4.4.39composer require contao/core-bundle:^4.4.39 |
| 🐘Packagist | contao/core-bundle | ≥ 4.5.0&&< 4.7.5 | 4.7.5composer require contao/core-bundle:^4.7.5 |
Affected Products
contaocontaoDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for contao/contao, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update contao/contao to 4.4.39 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2019-11512 is resolved across your whole dependency graph.
Workarounds
Until you can upgrade, make sure every query built from user input uses parameterised statements or a prepared-statement API rather than string concatenation, and reduce the database account's privileges so an injected query cannot read or alter data beyond what the feature needs.
Frequently Asked Questions
Is CVE-2019-11512 in your dependencies?
Find it across Packagist, including transitive dependencies.