Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. mautic/core
  4. ›
  5. CVE-2022-25773

CVE-2022-25773: Mautic allows Relative Path Traversal in assets file upload

February 26, 2025

This advisory addresses a file placement vulnerability that could allow assets to be uploaded to unintended directories on the server.

  • Improper Limitation of a Pathname to a Restricted Directory: A vulnerability exists in the asset upload functionality that allows users to upload files to directories outside of the intended temporary directory.

References

  • github.com/advisories/GHSA-4w2w-36vm-c8hf
  • github.com/mautic/mautic
  • github.com/mautic/mautic/commit/e6aaad99f399c5df1ce6273609920098e5c2564a
  • github.com/mautic/mautic/security/advisories/GHSA-4w2w-36vm-c8hf
  • nvd.nist.gov/vuln/detail/CVE-2022-25773

Code Behaviors & Features

Detect and mitigate CVE-2022-25773 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.2.3

Fixed versions

  • 5.2.3

Solution

Upgrade to version 5.2.3 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

packagist/mautic/core/CVE-2022-25773.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:12 +0000.