CVE-2025-31174 Path traversal in HarmonyOS
A path traversal flaw in the DFS module allows attackers to access sensitive service data, impacting HarmonyOS users.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-31174?
CVE-2025-31174 is a medium-severity path traversal vulnerability in Huawei Harmonyos, published on 7 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Path traversal vulnerability in the DFS module Impact: Successful exploitation of this vulnerability may affect service confidentiality.
Weakness: CWE-22
Which versions are affected by CVE-2025-31174?
It affects 1 product.
Products include Huawei Harmonyos.
How do I fix CVE-2025-31174?
No fix has been published for CVE-2025-31174 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-31174 being exploited?
There is no known exploitation of CVE-2025-31174 in the wild and no public exploit code.
Other vulnerabilities in Huawei Harmonyos
Sources
Also known as GHSA-grgf-jm3x-9rcf.