Skip to main content
VulnerabilityPublished Updated

CVE-2025-31174: Huawei HarmonyOS · Path Traversal

Affects Huawei HarmonyOSSource CVE Database V5

0

Not known to be exploited · CVSS 6.8 Medium.

Data as of 26 Oct 2026, 12:55 UTC

CVSS 3.1 base score
6.8Medium
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Apr 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Huawei HarmonyOSAffected
  • =5.0.0
Fixed in–

AI-suggested

  1. Immediate mitigation should include restricting access to the DFS module and limiting administrative privileges to trusted personnel only, reducing the risk of privilege misuse.
  2. Implement strict network segmentation to isolate HarmonyOS devices, especially those running version 5.0.0, from critical enterprise networks to minimize attack vectors.
  3. Monitor file system access logs and audit trails for unusual or unauthorized file path access attempts indicative of path traversal exploitation.
  4. Employ application whitelisting and integrity verification mechanisms to detect unauthorized file modifications or deletions.
  5. 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.
  6. Conduct regular security assessments and penetration testing focused on path traversal and file system vulnerabilities within HarmonyOS environments.
  7. Educate system administrators on the risks of elevated privileges and enforce strong authentication and access control policies to prevent privilege escalation.
  8. 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.

References

Community reviews

Loading reviews…