Description
The built-in PostgreSQL service on the mobile device suffers from misconfiguration flaws and command injection vulnerabilities. This service listens on a specific port, runs with root privileges, and is protected by weak credentials. The database supports the COPY FROM PROGRAM syntax, allowing local attackers to bypass Android's permission sandbox and gain full root access.
Published: 2026-08-05
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises from a misconfigured PostgreSQL service that runs with root privileges and uses weak credentials. An attacker who can reach the service’s listening port can exploit the COPY FROM PROGRAM syntax, which permits arbitrary shell command execution. This allows the attacker to bypass Android’s permission sandbox and obtain full root access, effectively granting system‑wide control over the device.

Affected Systems

The affected product is the ZTE NX799J, marketed as the Red Magic 11 Air. No version information is provided in the CNA data; users should verify that their device model matches this unit. The vulnerability is tied to the built‑in PostgreSQL instance rather than a specific firmware build.

Risk and Exploitability

With a CVSS score of 6.5, the severity is moderate. The EPSS score is not provided, but the lack of a KEV listing suggests no known widespread exploitation yet; however, the presence of root privileges, weak authentication, and a command injection vector implies that an evasion of Android’s sandbox is straightforward for a local attacker. The most likely attack vector is a local connection to the exposed PostgreSQL port from any process the device can run, meaning that any user or malicious app that can run code on the device could trigger the exploit.

Generated by OpenCVE AI on August 5, 2026 at 08:30 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest firmware update from ZTE that addresses the PostgreSQL misconfiguration and disables or secures the service.
  • If a firmware update is unavailable, disable the built‑in PostgreSQL service so it no longer listens on its port.
  • Configure the device to enforce strong authentication for any database service, removing the weak default credentials.

Generated by OpenCVE AI on August 5, 2026 at 08:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 05 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 05 Aug 2026 10:45:00 +0000

Type Values Removed Values Added
First Time appeared Zte
Zte nx799j (red Magic 11 Air)
Vendors & Products Zte
Zte nx799j (red Magic 11 Air)

Wed, 05 Aug 2026 07:30:00 +0000

Type Values Removed Values Added
Metrics cvssV4_0

{'score': 10, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:P/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L'}


Wed, 05 Aug 2026 06:30:00 +0000

Type Values Removed Values Added
Description The built-in PostgreSQL service on the mobile device suffers from misconfiguration flaws and command injection vulnerabilities. This service listens on a specific port, runs with root privileges, and is protected by weak credentials. The database supports the COPY FROM PROGRAM syntax, allowing local attackers to bypass Android's permission sandbox and gain full root access.
Title PostgreSQL Misconfiguration and Command Injection Vulnerability in ZTE NX799J (Red Magic 11 Air) Product
Weaknesses CWE-89
References
Metrics cvssV4_0

{'score': 10, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}


Subscriptions

Zte Nx799j (red Magic 11 Air)
cve-icon MITRE

Status: PUBLISHED

Assigner: zte

Published:

Updated: 2026-08-05T13:53:10.121Z

Reserved: 2026-05-27T01:01:53.326Z

Link: CVE-2026-49004

cve-icon Vulnrichment

Updated: 2026-08-05T13:53:03.626Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T10:18:27Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')