CVE-2025-9824: Mautic/core Mautic Vulnerable To User Enumeration Vulnerability

MODERATE
Advisory Identifier: GHSA-3ggv-qwcp-j6xg
CVSS 5.9
CWE-204
Published
Advisory Summary

CVE-2025-9824 is a MODERATE (CVSS 5.9) mautic vulnerable to user enumeration vulnerability (CWE-204: Observable Response Discrepancy) affecting Mautic/core libraries in the Packagist ecosystem. The issue involves mautic vulnerable to user enumeration via response timing. Remediation is available by upgrading affected packages to version 4.4.17, 5.2.8, 6.0.5.

CVE-2025-9824 at a Glance

CVE Identifier CVE-2025-9824
GHSA Identifier GHSA-3ggv-qwcp-j6xg
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-204: Observable Response Discrepancy
Affected Product Mautic/core
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 5.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2025-9824

To remediate this vulnerability, upgrade all affected Mautic/core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

mautic/core fixed: 4.4.17
Upgrade mautic/core to 4.4.17
mautic/core fixed: 5.2.8
Upgrade mautic/core to 5.2.8
mautic/core fixed: 6.0.5
Upgrade mautic/core to 6.0.5
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for mautic/core

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-9824, inspect your project dependencies for Mautic/core:

inspect dependencies for mautic/core

Analyze the terminal output to locate any version of Mautic/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.4.17), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-204: Observable Response Discrepancy, where the product provides different responses to incoming requests in a way that reveals internal state information to an unauthorized actor outside of the intended control sphere. In Mautic/core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact The attacker can validate if a user exists by checking the time login returns. This timing difference can be used to enumerate valid usernames, after which an attacker could attempt brute force attacks. ### Patches This vulnerability has been patched, implementing a timing-safe form login authenticator that ensures consistent response times regardless of whether a user exists or not. ### Technical Details The vulnerability was caused by different response times when: - A valid username was provided (password hashing occurred) - An invalid username was provided (no password hashing occurred) The fix introduces a `TimingSafeFormLoginAuthenticator` that performs a dummy password hash verification even for non-existent users, ensuring consistent timing. ### Workarounds No workarounds are available. Users should upgrade to the patched version. ### References - https://owasp.org/www-project-web-security-testing-guide/latest/4-Web_Application_Security_Testing/03-Identity_Management_Testing/04-Testing_for_Account_Enumeration_and_Guessable_User_Account - https://github.com/mautic/mautic-security/pull/146

CVE-2025-9824 Affected Mautic/core Versions

3 component(s)
Fixed Versions:
4.4.175.2.86.0.5
Product / Package Ecosystem Affected Versions Fixed Version
mautic/core
Packagist
≥ 4.4.0
< 4.4.17
4.4.17
mautic/core
Packagist
≥ 5.0.0-alpha
< 5.2.8
5.2.8
mautic/core
Packagist
≥ 6.0.0-alpha
< 6.0.5
6.0.5

References

Frequently Asked Questions

What is CVE-2025-9824?
CVE-2025-9824 is a security vulnerability in Mautic/core involving Mautic Vulnerable to User Enumeration via Response Timing under CWE-204: Observable Response Discrepancy.
Which Mautic/core versions are affected?
Affected versions include releases prior to 4.4.17, 5.2.8, 6.0.5 across affected packages: mautic/core.
What version fixes CVE-2025-9824?
Upgrading to 4.4.17, 5.2.8, 6.0.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is mautic/core affected?
Yes, mautic/core is affected in releases prior to 4.4.17, 5.2.8, 6.0.5. Upgrade your dependency to 4.4.17, 5.2.8, 6.0.5 or later.
What is the CVSS score of CVE-2025-9824?
CVE-2025-9824 has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2025-9824?
CVE-2025-9824 is classified under CWE-204: Observable Response Discrepancy (The product provides different responses to incoming requests in a way that reveals internal state information to an unauthorized actor outside of the intended control sphere.).
How can I check Packagist dependencies for CVE-2025-9824?
Run the dependency tree command: 'inspect dependencies for mautic/core'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-3ggv-qwcp-j6xg",
  "modified" : "2025-09-03T22:20:16Z",
  "published" : "2025-09-03T22:20:16Z",
  "aliases" : [ "CVE-2025-9824" ],
  "summary" : "Mautic Vulnerable to User Enumeration via Response Timing",
  "details" : "### Impact\nThe attacker can validate if a user exists by checking the time login returns. This timing difference can be used to enumerate valid usernames, after which an attacker could attempt brute force attacks.\n\n### Patches\nThis vulnerability has been patched, implementing a timing-safe form login authenticator that ensures consistent response times regardless of whether a user exists or not.\n\n### Technical Details\nThe vulnerability was caused by different response times when:\n- A valid username was provided (password hashing occurred)\n- An invalid username was provided (no password hashing occurred)\n\nThe fix introduces a `TimingSafeFormLoginAuthenticator` that performs a dummy password hash verification even for non-existent users, ensuring consistent timing.\n\n### Workarounds\nNo workarounds are available. Users should upgrade to the patched version.\n\n### References\n- https://owasp.org/www-project-web-security-testing-guide/latest/4-Web_Application_Security_Testing/03-Identity_Management_Testing/04-Testing_for_Account_Enumeration_and_Guessable_User_Account\n- https://github.com/mautic/mautic-security/pull/146",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "mautic/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.4.0"
      }, {
        "fixed" : "4.4.17"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "mautic/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0-alpha"
      }, {
        "fixed" : "5.2.8"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "mautic/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0-alpha"
      }, {
        "fixed" : "6.0.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/mautic/mautic/security/advisories/GHSA-3ggv-qwcp-j6xg"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-9824"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/mautic/mautic/commit/6bc4f5f1aabb13df12714ad0ea9fc281cbb867c6"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/mautic/mautic/commit/b4264c717ce31fbafafcefc04b02ecb9fb911e62"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/mautic/mautic"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-204" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-09-03T22:20:16Z",
    "nvd_published_at" : "2025-09-03T15:15:49Z"
  }
}