CVE-2025-9822: Mautic/core Mautic Vulnerable To Secret Data Vulnerability

MODERATE
Advisory Identifier: GHSA-438m-6mhw-hq5w
CVSS 5.5
CWE-283
Published
Advisory Summary

CVE-2025-9822 is a MODERATE (CVSS 5.5) mautic vulnerable to secret data vulnerability (CWE-283: Unverified Ownership) affecting Mautic/core libraries in the Packagist ecosystem. The issue involves mautic vulnerable to secret data extraction via elfinder. Remediation is available by upgrading affected packages to version 4.4.17, 5.2.8, 6.0.5.

CVE-2025-9822 at a Glance

CVE Identifier CVE-2025-9822
GHSA Identifier GHSA-438m-6mhw-hq5w
Severity MODERATE
CVSS v3.1 Base Score 5.5
CWE Classification CWE-283: Unverified Ownership
Affected Product Mautic/core
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 5.5

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

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

How to Fix CVE-2025-9822

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-9822, 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-283: Unverified Ownership, where the product does not properly verify that a critical resource is owned by the proper entity. 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

### Summary _A user with administrator rights can change the configuration of the mautic application and extract secrets that are not normally available._ ### Impact _An administrator who usually does not have access to certain parameters, such as database credentials, can disclose them._

CVE-2025-9822 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-9822?
CVE-2025-9822 is a security vulnerability in Mautic/core involving Mautic vulnerable to secret data extraction via elfinder under CWE-283: Unverified Ownership.
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-9822?
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-9822?
CVE-2025-9822 has a CVSS v3.1 base score of 5.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N.
What CWE is associated with CVE-2025-9822?
CVE-2025-9822 is classified under CWE-283: Unverified Ownership (The product does not properly verify that a critical resource is owned by the proper entity.).
How can I check Packagist dependencies for CVE-2025-9822?
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-438m-6mhw-hq5w",
  "modified" : "2025-09-03T22:18:20Z",
  "published" : "2025-09-03T22:18:20Z",
  "aliases" : [ "CVE-2025-9822" ],
  "summary" : "Mautic vulnerable to secret data extraction via elfinder",
  "details" : "### Summary\n_A user with administrator rights can change the configuration of the mautic application and extract secrets that are not normally available._\n\n\n### Impact\n_An administrator who usually does not have access to certain parameters, such as database credentials, can disclose them._",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N"
  } ],
  "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-438m-6mhw-hq5w"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-9822"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/mautic/mautic/commit/882c2c5be646e36f7b91e7c4b24f71aafa617cd5"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/mautic/mautic/commit/a310b1933de7cfefec03382a4d8c0d9dbbaa0600"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/mautic/mautic"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-283" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-09-03T22:18:20Z",
    "nvd_published_at" : "2025-09-03T14:15:46Z"
  }
}