{"id":"CVE-2022-25773","aliases":["CVE-2022-25773","GHSA-4w2w-36vm-c8hf"],"related":[],"kind":"vulnerability","state":"published","title":"Relative Path Traversal in assets file upload","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Este aviso aborda una vulnerabilidad de ubicación de archivos que podría permitir que se carguen activos en directorios no deseados en el servidor. * Limitación incorrecta de una ruta a un directorio restringido: existe una vulnerabilidad en la funcionalidad de carga de activos que permite a los usuarios cargar archivos en directorios fuera del directorio temporal previsto.","source":"nvd"}],"published":"2025-02-26T11:48:33.383Z","modified":"2026-06-17T04:34:15.190Z","severity":{"scorer":"Mautic","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"Mautic","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","version":"< 5.2.3","status":"affected"}],"vendor":"Mautic","product":"mautic/core","package":"mautic/core","repo":"https://github.com/mautic/mautic","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.2.3"}],"ecosystem":"Packagist","package":"mautic/core","purl":"pkg:composer/mautic/core","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.2.3"}],"vendor":"acquia","product":"mautic","cpe":"cpe:2.3:a:acquia:mautic:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/mautic/mautic/security/advisories/GHSA-4w2w-36vm-c8hf","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25773","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/mautic/mautic/commit/e6aaad99f399c5df1ce6273609920098e5c2564a","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/mautic/mautic","tags":["package"],"sources":["ghsa"]}],"credits":["Patryk Gruzska","Majkelstick","John Linhart","Lenon Leite"],"assigner":"Mautic","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-02-26T14:54:09.781Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25773","url":"https://www.cve.org/CVERecord?id=CVE-2022-25773","licence":"CVE Terms of Use","modified":"2025-03-12T19:51:58.376Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4w2w-36vm-c8hf","url":"https://github.com/advisories/GHSA-4w2w-36vm-c8hf","licence":"CC-BY-4.0","modified":"2025-10-16T20:51:33.085Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25773","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25773","licence":"Public domain","modified":"2026-06-17T04:34:15.190Z"}],"updatedAt":"2026-11-25T22:58:20.831Z","epss":{"score":0.00594,"percentile":0.49756,"date":"2026-12-01T12:00:22.000Z"}}