CVE-2025-31174: Huawei HarmonyOS · Path Traversal
Affects Huawei HarmonyOSSource CVE Database V5
Not known to be exploited · CVSS 6.8 Medium.
Data as of 26 Oct 2026, 12:55 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 34% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 7 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Huawei HarmonyOS | Affected
| Fixed in– |
AI-suggested
- Immediate mitigation should include restricting access to the DFS module and limiting administrative privileges to trusted personnel only, reducing the risk of privilege misuse.
- Implement strict network segmentation to isolate HarmonyOS devices, especially those running version 5.0.0, from critical enterprise networks to minimize attack vectors.
- Monitor file system access logs and audit trails for unusual or unauthorized file path access attempts indicative of path traversal exploitation.
- Employ application whitelisting and integrity verification mechanisms to detect unauthorized file modifications or deletions.
- Coordinate with Huawei for timely patch deployment once available; in the interim, consider disabling or limiting DFS module functionality if feasible without disrupting essential services.
- Conduct regular security assessments and penetration testing focused on path traversal and file system vulnerabilities within HarmonyOS environments.
- Educate system administrators on the risks of elevated privileges and enforce strong authentication and access control policies to prevent privilege escalation.
- Utilize endpoint detection and response (EDR) tools capable of identifying suspicious file system activities related to path traversal attacks.
Description
Path traversal vulnerability in the DFS module Impact: Successful exploitation of this vulnerability may affect service confidentiality.