HarmonyOS Gallery
CVE-2025-54654
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInstall malicious app on device
-
ExploitInvoke Gallery module interface
-
ExecutionBypass permission control check
-
ImpactRead unauthorized private media data
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V8 - Authorization Permission and access control
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a local, already-authenticated low-privilege context on the device (PR:L) - in practice a malicious, sideloaded, or over-permissioned app running on an affected HarmonyOS 5.0.1 or 5.1.0 build that invokes the vulnerable Gallery module. The attacker cannot reach this remotely (AV:L) and the flaw only exposes data within the same device (scope Unchanged). Limiting factors: an attacker must first get code running on the device, the impact is confined to confidentiality (reading Gallery media/metadata) with no integrity or availability effect, and only the two named HarmonyOS versions are listed as affected. |
| Impact | This is a moderate-severity, locally-exploitable information disclosure flaw rather than a high-priority emergency. The vendor-supplied CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N, base 5.5) describes a locally-resident, low-privileged, no-interaction attack with high confidentiality impact but zero integrity or availability impact - consistent with a malicious or sideloaded app bypassing permission controls to read Gallery data it should not access. The EPSS score is very low (0.09%, 1st percentile), there is no CISA KEV listing and no public exploit identified, so all exploitation signals point to low real-world urgency. Note a classification tension: the tag labels this 'Privilege Escalation' and CWE-264 is a permission/access-control weakness, yet the CVSS impact profile (C:H only, no I/A, scope Unchanged) describes confidentiality disclosure rather than classic privilege elevation - treat this as an access-control/confidentiality bypass rather than full privilege gain. No conflicting data undermines the core picture; the main limitation is the terse one-line Huawei description, which does not specify the exact permission check that fails. |
| Exploit ScenarioDerived | A user installs a malicious or over-reaching third-party application on a HarmonyOS 5.0.1 or 5.1.0 device. Running with its own low-level app privileges and no user interaction, the app abuses the flawed permission control in the Gallery module to read private photos, videos, or associated metadata it was never granted access to. No public exploit code is currently available, and the local attack vector means the attacker must already have code execution on the device. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Information disclosure in the Huawei HarmonyOS Gallery module lets an authenticated, low-privilege local app on HarmonyOS 5.0.1 or 5.1.0 bypass permission controls and read Gallery data, affecting confidentiality only. The flaw is locally scoped (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) - an attacker cannot reach it remotely and must first get a malicious, sideloaded, or over-permissioned app running on the device, after which the impact stays inside that device (scope Unchanged) with no integrity or availability effect. There is no public exploit identified at time of analysis and EPSS is 0.09% (1st percentile), so this is a moderate-severity local information-disclosure issue rather than an emergency; the reference advisory is Huawei's October 2025 consumer security bulletin.
RemediationAI
Patch availability: vendor advisory - Huawei's October 2025 consumer security bulletin (https://consumer.huawei.com/en/support/bulletin/2025/10/) is the fix reference for the Gallery permission flaw, and the specific patched build numbers are not enumerated in the provided data, so confirm the applicable fix build against that bulletin before verifying remediation. Where devices cannot be updated immediately, compensating controls that directly address the local, authenticated-app prerequisite are: restrict installation sources and disable sideloading (MDM allowlists, Huawei AppGallery-only policy) so untrusted code cannot reach the vulnerable module - trade-off is reduced ability to distribute internal enterprise apps; audit and revoke media/Gallery read permissions and storage access from apps that do not need them, which breaks legitimate photo-editing or gallery-replacement apps; and place sensitive devices in a managed work profile or app sandbox that prevents crossover access - trade-off is added management overhead and possible usability friction. Because exploitation is local-only (AV:L) with no remote vector or user interaction, network-layer controls such as firewall rules or WAF signatures provide no protection here; detection effort is better spent on app-inventory review and permission-drift monitoring for over-permissioned or sideloaded packages on HarmonyOS 5.0.1 and 5.1.0 devices.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause class is CWE-264 (Permissions, Privileges, and Access Controls) - specifically a permission control defect in Huawei's Gallery module, the HarmonyOS component that brokers access to locally stored photos, videos, and their metadata. In the assessed vector the attacker operates from an already-authenticated low-privilege context (PR:L) with local access only (AV:L), no user interaction (UI:N), and unchanged scope (S:U), meaning the weakness allows an application running on the device to reach Gallery content beyond what its granted permissions should permit. The CPE data pins the exposure to the HarmonyOS operating-system branch versions 5.0.1 and 5.1.0 (cpe:2.3:o:huawei:harmonyos:5.0.1 and 5.1.0); the resulting impact is Confidentiality:High (media files and associated metadata) with no Integrity or Availability component. Because the defect is an access-control gap rather than a memory-safety or remote-reachable flaw, the practical security boundary being crossed is the in-device app sandbox and permission model, not the network perimeter.
Know when Harmonyos gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Requires a local low-privilege app (AV:L/PR:L), no user interaction, and yields only unauthorized data disclosure, so C:H with I:N/A:N and scope Unchanged.
Primary rating from NVD.
CVSS VectorNVD
DescriptionNVD
Permission control vulnerability in the Gallery module. Successful exploitation of this vulnerability may affect service confidentiality
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Affected Products (CPE)NVD
Out-of-bounds heap write in Huawei HarmonyOS WEB module allows unauthenticated remote attackers to execute arbitrary cod
Permission verification vulnerability in the wpa_supplicant module Impact: Successful exploitation of this vulnerability
Permission management vulnerability in the PMS module. Rated critical severity (CVSS 9.8), this vulnerability is remotel
Vulnerability of access permissions not being strictly verified in the APPWidget module.Successful exploitation of this
Vulnerability of permissions not being strictly verified in the window management module.Successful exploitation of this
API permission management vulnerability in the Fwk-Display module.Successful exploitation of this vulnerability may caus
Vulnerability of defects introduced in the design process in the HiviewTunner module. Rated critical severity (CVSS 9.8)
The DP module has a service hijacking vulnerability.Successful exploitation of this vulnerability may affect some Super
Vulnerability of out-of-bounds parameter read/write in the Wi-Fi module. Rated critical severity (CVSS 9.8), this vulner
Vulnerability of commands from the modem being intercepted in the atcmdserver module. Rated critical severity (CVSS 9.8)
Some smartphones have configuration issues. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab
Some smartphones have the out-of-bounds write vulnerability. Rated critical severity (CVSS 9.8), this vulnerability is r
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB