{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-46178","id":"CVE-2022-46178","title":"Path Traversal In MeterSpere allows file upload to any path","description":"MeterSphere is a one-stop open source continuous testing platform, covering test management, interface testing, UI testing and performance testing. Versions prior to 2.5.1 allow users to upload a file, but do not validate the file name, which may lead to upload file to any path. The vulnerability has been fixed in v2.5.1. There are no workarounds.","descriptionLong":"MeterSphere is a one-stop open source continuous testing platform, covering test management, interface testing, UI testing and performance testing. Versions prior to 2.5.1 allow users to upload a file, but do not validate the file name, which may lead to upload file to any path. The vulnerability has been fixed in v2.5.1. There are no workarounds.","published":"2022-12-29T18:09:38.842Z","updated":"2026-10-28T10:31:08.080192325Z","reserved":"2022-11-28T17:27:19.999Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","rating":"high","source":"github.com"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","rating":"high","source":"OSV"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","rating":"high","source":"GitHub"}],"rating":"high","products":["metersphere"],"affectedProducts":[{"vendor":"metersphere","product":"metersphere","defaultStatus":null,"versions":[{"version":"< v2.5.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"io.metersphere:metersphere","purl":"pkg:maven/io.metersphere/metersphere","ranges":["<2.5.1"],"fixed":["2.5.1"],"advisory":"GHSA-9p62-x3c5-hr5p"}],"cwes":["CWE-22"],"aliases":["GHSA-9p62-x3c5-hr5p"],"references":[{"url":"https://github.com/metersphere/metersphere/security/advisories/GHSA-9p62-x3c5-hr5p","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Third Party Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/46xxx/CVE-2022-46178.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-46178","tags":["advisory"]},{"url":"https://github.com/metersphere/metersphere","tags":["package"]},{"url":"https://github.com/metersphere/metersphere/blob/v2.5.0/framework/sdk-parent/sdk/src/main/java/io/metersphere/commons/utils/FileUtils.java#L5","tags":["web"]},{"url":"https://github.com/metersphere/metersphere/releases/tag/v2.5.1","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00751,"epssPercentile":0.55729,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-46178","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-46178","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-46178","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9p62-x3c5-hr5p","ok":true,"note":"GHSA-9p62-x3c5-hr5p"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-46178","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}