Home / contao / contao / CVE-2021-37627
CVE-2021-37627: is it exploited, and which versions of contao are affected and fixed?
CVE-2021-37627 is a privilege escalation (improper privilege management) vulnerability in contao. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: contao/core-bundle from 4.0.0 before 4.4.56, contao/core-bundle from 4.5.0 before 4.9.18, contao/core-bundle from 4.10.0 before 4.11.7 and 3 more (GitHub advisory GHSA-hq5m-mqmx-fw6m). Fixed in 4.4.56, 4.9.18 and 4.11.7 (GitHub advisory GHSA-hq5m-mqmx-fw6m). Severity: High (8.0, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:56 UTC.
What is CVE-2021-37627?
Privilege escalation via form generator
Contao is an open source CMS that allows creation of websites and scalable web applications. In affected versions it is possible to gain privileged rights in the Contao back end. Installations are only affected if they have untrusted back end users who have access to the form generator. All users are advised to update to Contao 4.4.56, 4.9.18 or 4.11.7. As a workaround users may disable the form generator or disable the login for untrusted back end users.
From the CVE record by GitHub_M, last updated August 4, 2024, 01:23 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| contao | contao | < 4.4.56 >= 4.5.0, < 4.9.18 >= 4.10.0, < 4.11.7 |
As the CVE record by GitHub_M states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | contao/core-bundle | >= 4.0.0, < 4.4.56 | 4.4.56 | GHSA-hq5m-mqmx-fw6m |
| Packagist | contao/core-bundle | >= 4.5.0, < 4.9.18 | 4.9.18 | GHSA-hq5m-mqmx-fw6m |
| Packagist | contao/core-bundle | >= 4.10.0, < 4.11.7 | 4.11.7 | GHSA-hq5m-mqmx-fw6m |
| Packagist | contao/contao | >= 4.0.0, < 4.4.56 | 4.4.56 | GHSA-hq5m-mqmx-fw6m |
| Packagist | contao/contao | >= 4.5.0, < 4.9.18 | 4.9.18 | GHSA-hq5m-mqmx-fw6m |
| Packagist | contao/contao | >= 4.10.0, < 4.11.7 | 4.11.7 | GHSA-hq5m-mqmx-fw6m |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 22, 2024. Summary: Privilege escalation via form generator.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| contao | contao | from 4.4.0 before 4.4.56 | application |
| contao | contao | from 4.9.0 before 4.9.18 | application |
| contao | contao | from 4.11.0 before 4.11.7 | application |
| contao | contao | 4.0.0 | application |
| contao | contao | 4.1.0 | application |
| contao | contao | 4.2.0 | application |
| contao | contao | 4.3.0 | application |
| contao | contao | 4.5.0 | application |
| contao | contao | 4.6.0 | application |
| contao | contao | 4.7.0 | application |
| contao | contao | 4.8.0 | application |
| contao | contao | 4.10.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:00 UTC.
How severe is CVE-2021-37627?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H | GitHub_M |
| High 7.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.5 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-37627 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.02% probability of exploitation activity in the next 30 days, percentile 64.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-269 Improper Privilege Management
Where are the vendor advisories and references?
- https://github.com/contao/contao/security/advisories/GHSA-hq5m-mqmx-fw6m x_refsource_CONFIRM
- https://contao.org/en/security-advisories/privilege-escalation-with-the-form-generator.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- July 29, 2021
- Published
- August 11, 2021, 22:50 UTC
- CVE record updated
- August 4, 2024, 01:23 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 04:00 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:56 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect contao?
- Nov 13, 2026CVE-2026-128335 Contao: session does not expire
- Nov 11, 2026CVE-2026-126663 Contao: incorrect Behavior Order: Validate Before Canonicalize
- Nov 11, 2026CVE-2026-126662 Contao: missing authorization
- Oct 9, 2026CVE-2026-107851 contao: use of Cache Containing Sensitive Information
- Oct 9, 2026CVE-2026-107850 contao: authorization bypass through a user-controlled key (IDOR)
- Oct 9, 2026CVE-2026-107848 contao: cross-site request forgery (CSRF)
- Oct 9, 2026CVE-2026-107845 contao: cross-site scripting (XSS)
- Oct 9, 2026CVE-2026-107844 contao: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2021-37627
Is CVE-2021-37627 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 1.02% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of contao are affected by CVE-2021-37627?
contao/core-bundle from 4.0.0 before 4.4.56, contao/core-bundle from 4.5.0 before 4.9.18, contao/core-bundle from 4.10.0 before 4.11.7, contao/contao from 4.0.0 before 4.4.56, contao/contao from 4.5.0 before 4.9.18 and contao/contao from 4.10.0 before 4.11.7, per the GitHub advisory GHSA-hq5m-mqmx-fw6m. The tables above give every range the sources list.
Which version fixes CVE-2021-37627?
4.4.56, 4.9.18 and 4.11.7, per the GitHub advisory GHSA-hq5m-mqmx-fw6m. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-37627?
High (8.0, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2021-37627?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.