{"id":"CVE-2022-25773","aliases":["EUVD-2022-30417","GHSA-4w2w-36vm-c8hf"],"status":"published","title":"Relative Path Traversal in assets file upload","description":"This advisory addresses a file placement vulnerability that could allow assets to be uploaded to unintended directories on the server.\n\n  *  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.","severity":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00594,"percentile":0.48732,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2025-02-26T11:48:33Z","modified":"2026-10-28T02:30:45Z","fixes":[{"ecosystem":"Packagist","package":"mautic/core","fixed_in":["5.2.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"mautic/core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.3"}]}]},{"source":"osv","ecosystem":"Packagist","package":"mautic/core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.3"}]}],"versions":["1.0.0","1.0.0-beta","1.0.0-beta2","1.0.0-beta3","1.0.0-beta4","1.0.0-rc1","1.0.0-rc2","1.0.0-rc3","1.0.0-rc4","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.1.0","1.1.1","1.1.2","1.1.3","1.2.0","1.2.0-beta1","1.2.1","1.2.2","1.2.3","1.2.4","1.3.0","1.3.1","1.4.0","1.4.1","2.0.0","2.0.1","2.1.0","2.1.1","2.10.0","2.10.0-beta","2.10.1","2.11.0","2.11.0-beta","2.12.0","2.12.0-beta","2.12.1","2.12.1-beta","2.12.2","2.12.2-beta","2.13.0","2.13.0-beta","2.13.1","2.14.0","2.14.0-beta","2.14.1","2.14.1-beta","2.14.2","2.14.2-beta","2.15.0","2.15.0-beta","2.15.1","2.15.1-beta","2.15.2","2.15.2-beta","2.15.3","2.15.3-beta","2.16.0","2.16.0-beta","2.16.1","2.16.1-beta","2.16.2","2.16.2-beta","2.16.3","2.16.3-beta","2.16.4","2.16.5","2.2.0","2.2.1","2.3.0","2.4.0","2.5.0","2.5.1","2.6.0","2.6.1","2.7.0","2.7.1","2.8.0","2.8.1","2.8.2","2.9.0","2.9.0-beta","2.9.1","2.9.2","3.0.0","3.0.0-alpha","3.0.0-beta","3.0.0-beta2","3.0.1","3.0.2","3.0.2-rc","3.1.0","3.1.0-rc","3.1.1","3.1.1-rc","3.1.2","3.1.2-rc","3.2.0","3.2.0-rc","3.2.1","3.2.2","3.2.2-rc","3.2.3","3.2.4","3.2.5","3.2.5-rc","3.3.0","3.3.0-rc","3.3.1","3.3.2","3.3.2-rc","3.3.3","3.3.3-rc","3.3.4","3.3.5","4.0.0","4.0.0-alpha1","4.0.0-beta","4.0.0-rc","4.0.1","4.0.2","4.1.0","4.1.1","4.1.2","4.2.0","4.2.0-rc","4.2.0-rc1","4.2.1","4.2.2","4.3.0","4.3.0-beta","4.3.0-rc","4.3.1","4.4.0","4.4.0-beta","4.4.1","4.4.10","4.4.11","4.4.12","4.4.13","4.4.2","4.4.3","4.4.4","4.4.5","4.4.6","4.4.7","4.4.8","4.4.9","5.0.0","5.0.0-alpha","5.0.0-alpha1","5.0.0-beta1","5.0.0-beta2","5.0.0-rc1","5.0.0-rc2","5.0.1","5.0.2","5.0.3","5.0.4","5.1.0","5.1.1","5.2.0","5.2.1","5.2.2"]}],"products":[{"vendor":"acquia","product":"mautic"},{"vendor":"mautic","product":"mautic/core"}],"references":[{"url":"https://github.com/mautic/mautic/security/advisories/GHSA-4w2w-36vm-c8hf","tags":["Vendor Advisory","advisory","web"]},{"url":"https://github.com/mautic/mautic/commit/e6aaad99f399c5df1ce6273609920098e5c2564a","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25773","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-4w2w-36vm-c8hf"},{"url":"https://packagist.org","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25773.json","tags":["advisory"]},{"url":"https://github.com/mautic/mautic","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-25773","title":"Relative Path Traversal in assets file upload","description":"This advisory addresses a file placement vulnerability that could allow assets to be uploaded to unintended directories on the server.\n\n  *  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.","status":"published","published":"2025-02-26T11:48:33.383Z","modified":"2025-03-12T19:51:58.376Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:34:28.374916Z"}],"euvd":[{"id":"EUVD-2022-30417","description":"This advisory addresses a file placement vulnerability that could allow assets to be uploaded to unintended directories on the server.\n\n  *  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.","status":"published","published":"2025-02-26T11:48:33Z","modified":"2025-03-12T19:51:58Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T20:53:05.95539Z"}],"ghsa":[{"id":"GHSA-4w2w-36vm-c8hf","title":"Mautic allows Relative Path Traversal in assets file upload","description":"### Summary\n\nThis advisory addresses a file placement vulnerability that could allow assets to be uploaded to unintended directories on the server.\n\n* **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.\n\n### Mitigation\n\nPlease update to 5.2.3 or later.\n\n### Workarounds\n\nNone\n\n### References\n\nIf you have any questions or comments about this advisory:\n\nEmail us at [security@mautic.org](mailto:security@mautic.org)","status":"published","published":"2025-02-26T20:09:28Z","modified":"2025-10-16T20:41:36Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:39:01.677422Z"}],"nvd":[{"id":"CVE-2022-25773","description":"This advisory addresses a file placement vulnerability that could allow assets to be uploaded to unintended directories on the server.\n\n  *  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.","status":"published","published":"2025-02-26T13:15:32.55Z","modified":"2026-06-17T04:34:15.19Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:07:42.374052Z"}],"osv":[{"id":"CVE-2022-25773","title":"Relative Path Traversal in assets file upload","description":"This advisory addresses a file placement vulnerability that could allow assets to be uploaded to unintended directories on the server.\n\n  *  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.","status":"published","published":"2025-02-26T11:48:33.383Z","modified":"2026-10-28T02:30:45.603132837Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:44:24.758293Z"},{"id":"GHSA-4w2w-36vm-c8hf","title":"Mautic allows Relative Path Traversal in assets file upload","description":"### Summary\n\nThis advisory addresses a file placement vulnerability that could allow assets to be uploaded to unintended directories on the server.\n\n* **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.\n\n### Mitigation\n\nPlease update to 5.2.3 or later.\n\n### Workarounds\n\nNone\n\n### References\n\nIf you have any questions or comments about this advisory:\n\nEmail us at [security@mautic.org](mailto:security@mautic.org)","status":"published","published":"2025-02-26T20:09:28Z","modified":"2025-10-16T20:51:33.085042Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:37.528068Z"}]}}
