CVE-2022-46178
HIGH 8.8CVSS 3.1Path Traversal In MeterSpere leads to upload file to any path
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
- 29 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-9p62-x3c5-hr5p
- Sources
- NVDJSONOSV GHSA-9p62-x3c5-hr5pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | metersphere | meterspherecpe:2.3:a:metersphere:metersphere:*:*:*:*:*:*:*:* |
< 2.5.1 | 2.5.1 |
| OSV | Maven | io.metersphere:metersphere | < 2.5.1 | 2.5.1 |
References
- https://github.com/metersphere/metersphere/security/advisories/GHSA-9p62-x3c5-hr5p · Exploit, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-46178 · ADVISORY
- https://github.com/metersphere/metersphere · PACKAGE
- https://github.com/metersphere/metersphere/blob/v2.5.0/framework/sdk-parent/sdk/src/main/java/io/metersphere/commons/utils/FileUtils.java#L5 · WEB
- https://github.com/metersphere/metersphere/releases/tag/v2.5.1 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 29 Dec 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 30 Dec 2022)