Home / Mautic / Mautic / CVE-2021-27913
CVE-2021-27913: is it exploited, and which versions of Mautic are affected and fixed?
CVE-2021-27913 is a broken or risky cryptography vulnerability in Mautic. 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, 18:09 UTC). Affected: mautic/core before 3.3.4 and mautic/core from 4.0.0-alpha1 before 4.0.0 (GitHub advisory GHSA-x7g2-wrrp-r6h3). Fixed in 3.3.4 and 4.0.0 (GitHub advisory GHSA-x7g2-wrrp-r6h3). Severity: Low (3.5, CVSS 3.1, from Mautic).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 28, 2026, 20:15 UTC and NVD November 19, 2026, 07:55 UTC.
What is CVE-2021-27913?
Use of a Broken or Risky Cryptographic Algorithm
The function mt_rand is used to generate session tokens, this function is cryptographically flawed due to its nature being one pseudorandomness, an attacker can take advantage of the cryptographically insecure nature of this function to enumerate session tokens for accounts that are not under his/her control This issue affects: Mautic Mautic versions prior to 3.3.4; versions prior to 4.0.0.
From the CVE record by Mautic, last updated September 16, 2024, 18:08 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Mautic | Mautic | before 3.3.4 before 4.0.0 | 3.3.4, 4.0.0 |
As the CVE record by Mautic states it, last updated September 16, 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 | mautic/core | < 3.3.4 | 3.3.4 | GHSA-x7g2-wrrp-r6h3 |
| Packagist | mautic/core | >= 4.0.0-alpha1, < 4.0.0 | 4.0.0 | GHSA-x7g2-wrrp-r6h3 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 5, 2024. Summary: Use of a Broken or Risky Cryptographic Algorithm.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| acquia | mautic | before 3.3.4 | application |
| acquia | mautic | 4.0.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:45 UTC.
How severe is CVE-2021-27913?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 3.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L | Mautic |
| Low 3.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N | NVD |
| Low 3.5 | CVSS 2.0 | AV:N/AC:M/Au:S/C:P/I:N/A:N | 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-27913 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.46% probability of exploitation activity in the next 30 days, percentile 41.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-327 Use of a Broken or Risky Cryptographic Algorithm
- CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
Where are the vendor advisories and references?
Who found and reported it?
- Reported by Michael Rowley https://github.com/michaellrowley, Fixed by Mohit Aghera https://github.com/mohit-rocks (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- March 2, 2021
- Published
- August 30, 2021, 15:55 UTC
- CVE record updated
- September 16, 2024, 18:08 UTC by Mautic
- NVD
- Modified, last modified June 17, 2026, 03:45 UTC
- Last checked
- CVE list November 28, 2026, 20:15 UTC; NVD November 19, 2026, 07:55 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Mautic?
- Feb 24, 2026CVE-2026-3105 Mautic: SQL injection
- Dec 2, 2025CVE-2025-13828 Mautic: missing authorization
- Dec 2, 2025CVE-2025-13827 Mautic: unrestricted file upload
- Sep 3, 2025CVE-2025-9823 Mautic: cross-site scripting (XSS)
- Sep 3, 2025CVE-2025-9824 Mautic: observable Response Discrepancy
- Sep 3, 2025CVE-2025-9822 Mautic: unverified Ownership
- Sep 3, 2025CVE-2025-9821 Mautic: server-side request forgery (SSRF)
- May 28, 2025CVE-2025-5256 Mautic: open redirect
Questions about CVE-2021-27913
Is CVE-2021-27913 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.46% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Mautic are affected by CVE-2021-27913?
mautic/core before 3.3.4 and mautic/core from 4.0.0-alpha1 before 4.0.0, per the GitHub advisory GHSA-x7g2-wrrp-r6h3. The tables above give every range the sources list.
Which version fixes CVE-2021-27913?
3.3.4 and 4.0.0, per the GitHub advisory GHSA-x7g2-wrrp-r6h3. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-27913?
Low (3.5, CVSS 3.1, from Mautic). The severity table above shows each score with its source.
Where is the official record of CVE-2021-27913?
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.