Skip to main content

HarmonyOS Gallery CVE-2025-54654

MEDIUM
Permissions, Privileges, and Access Controls (CWE-264)
2025-10-11 psirt@huawei.com
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Install malicious app on device
  2. Exploit
    Invoke Gallery module interface
  3. Execution
    Bypass permission control check
  4. Impact
    Read 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.5 MEDIUM

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.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionNVD

Permission control vulnerability in the Gallery module. Successful exploitation of this vulnerability may affect service confidentiality

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
High
HarmonyOS ships on hundreds of millions of Huawei consumer devices
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:o:huawei:harmonyos:5.0.1:*:*:*:*:*:*:*
cpe:2.3:o:huawei:harmonyos:5.1.0:*:*:*:*:*:*:*
CVE-2026-34865 CRITICAL
10.0 Apr 13

Out-of-bounds heap write in Huawei HarmonyOS WEB module allows unauthenticated remote attackers to execute arbitrary cod

CVE-2024-32991 CRITICAL
9.8 May 14

Permission verification vulnerability in the wpa_supplicant module Impact: Successful exploitation of this vulnerability

CVE-2023-46773 CRITICAL
9.8 Dec 06

Permission management vulnerability in the PMS module. Rated critical severity (CVSS 9.8), this vulnerability is remotel

CVE-2023-44116 CRITICAL
9.8 Oct 11

Vulnerability of access permissions not being strictly verified in the APPWidget module.Successful exploitation of this

CVE-2023-44105 CRITICAL
9.8 Oct 11

Vulnerability of permissions not being strictly verified in the window management module.Successful exploitation of this

CVE-2023-44106 CRITICAL
9.8 Oct 11

API permission management vulnerability in the Fwk-Display module.Successful exploitation of this vulnerability may caus

CVE-2023-41297 CRITICAL
9.8 Sep 25

Vulnerability of defects introduced in the design process in the HiviewTunner module. Rated critical severity (CVSS 9.8)

CVE-2023-41294 CRITICAL
9.8 Sep 25

The DP module has a service hijacking vulnerability.Successful exploitation of this vulnerability may affect some Super

CVE-2023-39405 CRITICAL
9.8 Aug 13

Vulnerability of out-of-bounds parameter read/write in the Wi-Fi module. Rated critical severity (CVSS 9.8), this vulner

CVE-2023-37242 CRITICAL
9.8 Jul 06

Vulnerability of commands from the modem being intercepted in the atcmdserver module. Rated critical severity (CVSS 9.8)

CVE-2022-46327 CRITICAL
9.8 Dec 20

Some smartphones have configuration issues. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab

CVE-2022-46326 CRITICAL
9.8 Dec 20

Some smartphones have the out-of-bounds write vulnerability. Rated critical severity (CVSS 9.8), this vulnerability is r

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy