Skip to main content

Red Magic 11 Air EUVDEUVD-2026-53123

| CVE-2026-49004 MEDIUM
SQL Injection (CWE-89)
2026-08-05 zte GHSA-v2vf-g6fh-j2m9
6.5
CVSS 3.1 · Vendor: zte
View

Attack ChainAIDerived

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

  1. Access
    Gain local foothold via malicious app
  2. Delivery
    Connect to root Postgres port with weak creds
  3. Exploit
    Issue COPY FROM PROGRAM SQL injection
  4. Execution
    Execute shell command as root
  5. Impact
    Escape Android sandbox, own device

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires local access to the device's PostgreSQL listener - the concrete prerequisites are (1) reaching the specific TCP port the bundled Postgres service listens on, (2) authenticating with the service's weak/default credentials, and (3) a database role with rights to invoke COPY FROM PROGRAM (pg_execute_server_program / superuser), which the service reportedly grants. In practice the attacker is a local low-privilege app or an on-device shell, since the description frames this as an Android sandbox bypass, not remote Internet exploitation. Limiting factors: the attacker must already be able to run code or open a socket on the handset (a malicious app or ADB/local shell), and only the ZTE NX799J Red Magic 11 Air build GEN_CN_NX799JV1.0.0B15 is confirmed affected - narrowing realistic exposure well below what the AV:N/PR:N CVSS suggests.

Impact

The supplied CVSS 4.0 vector is a maximal 10.0 (AV:N/AC:L/PR:N/UI:N with full VC/VI/VA and subsequent-system SC/SI/SA all High), reflecting complete compromise. However, there is a real conflict between that AV:N (network) rating and the description, which repeatedly frames this as LOCAL exploitation - 'local attackers' bypassing the 'Android permission sandbox' - implying the practical attacker is a malicious/low-privilege app already on the device rather than a remote Internet host; verify network reachability of the Postgres port with the vendor. No EPSS score, KEV listing, or POC was provided, so exploitation probability cannot be quantified from the input and there is no evidence of in-the-wild use. Weighing signals: technical severity is genuinely critical (root, sandbox escape, trivial primitive), but real-world reach is bounded by the low deployment footprint of a single niche phone build and the likely requirement of local code execution first. This is a high-priority fix for owners of the affected device, not a mass-exploitation Internet threat.

Exploit ScenarioDerived

A user installs a seemingly benign app that quietly connects to the phone's local PostgreSQL port using the weak built-in credentials. The app issues a COPY ... FROM PROGRAM statement to run a shell command as root, dropping a payload outside its sandbox and escalating from an ordinary Android UID to full device control. Given AC:L and no user interaction beyond installing the app, the technique is straightforward for anyone who reproduces the credentials and port.

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

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

Alert me

AnalysisAIv1 – Aug 05, 2026

Local root escalation on the ZTE Nubia Red Magic 11 Air (NX799J) gaming smartphone stems from a built-in PostgreSQL service that runs as root, listens on a device port, and is guarded only by weak credentials. Because PostgreSQL's COPY FROM PROGRAM syntax executes OS commands with the server's privileges, any local app that reaches the database can break out of the Android application sandbox and run commands as root. No public exploit identified at time of analysis, though the technique (weak-cred Postgres plus COPY FROM PROGRAM) is well understood and trivially reproducible.

RemediationAI

Apply the firmware update referenced in ZTE's security bulletin (https://support.zte.com.cn/zte-iccp-isupport-webui/bulletin/detail/460174866982027405) as soon as it is available; no exact fixed build number is stated in the provided data, so confirm the patched version directly with ZTE - the input identifies only affected build GEN_CN_NX799JV1.0.0B15. Because the flaw is baked into firmware, end-user workarounds are limited: users cannot easily alter a root-owned system service, but risk can be reduced by not installing untrusted apps (which would supply the required local foothold) and avoiding untrusted USB/ADB connections. For rooted/enterprise-managed devices, compensating controls include disabling or firewalling the PostgreSQL listener, rotating/strengthening the database credentials, and revoking the pg_execute_server_program privilege to neutralize COPY FROM PROGRAM - each of which may break firmware functionality that depends on the bundled database, so test before deploying.

Affected VersionsENISA

NX799J (Red Magic 11 Air) GEN_CN_NX799JV1.0.0B15

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 is CWE-89 (SQL injection) leveraged against a bundled PostgreSQL instance shipped inside the phone firmware. PostgreSQL supports COPY ... FROM PROGRAM, a legitimate feature that pipes a shell command's output into a table; when the database superuser (or any role with the pg_execute_server_program privilege) issues it, the command runs as the OS account hosting the server. Here that account is root, and the service is exposed on a local port with weak/default credentials, so the SQL layer becomes a direct path to arbitrary OS command execution. Android's security model relies on per-app UID sandboxing; a root-owned network-listening service that any app can authenticate to defeats that boundary entirely. The single affected build per ENISA EUVD is GEN_CN_NX799JV1.0.0B15 (CPE cpe:2.3:a:zte:nx799j_(red_magic_11_air):*).

Know when PostgreSQL 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

Vendor (zte) PRIMARY 6.5 CRITICAL
AV:P/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L
vuln.today AI 9.3 CRITICAL

Description indicates a local on-device app (AV:L) with no privileges or interaction reaching a weak-cred service; sandbox escape to root crosses a trust boundary (S:C) with full C/I/A loss.

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

Primary rating from Vendor (zte).

CVSS VectorVendor: zte

Attack Vector
Physical
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
Low

Lifecycle Timeline

3
Severity Changed
Aug 05, 2026 - 08:22 NVD
CRITICAL MEDIUM
CVSS changed
Aug 05, 2026 - 08:22 NVD
10.0 (CRITICAL) 6.5 (MEDIUM)
CVE Published
Aug 05, 2026 - 06:19 cve.org
CRITICAL 10.0

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

The ZTE Nubia Red Magic 11 Air (NX799J) contains a critical local privilege escalation vulnerability (CVE-2026-49004, CVSS 10.0) that allows any installed application to gain root access through a misconfigured PostgreSQL service with weak credentials. Organizations deploying these gaming phones risk complete device compromise, data exfiltration, and malware installation with no vendor patch currently available, creating an immediate security posture risk for any business use case.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: enforce app whitelisting via Mobile Device Management to prevent installation of untrusted applications; segment affected devices from networks accessing sensitive data or corporate systems; implement application sandbox hardening where device configuration permits; establish continuous monitoring for unauthorized root-level activity; consider discontinuing use of this device model and establishing timeline for fleet replacement pending vendor security update.

Threat Intelligence Overview

EPSS Score
0.7%
Top 51% exploitable
Prevalence
Low
single niche ZTE gaming phone model and firmware build
Data Quality
5 sources
Confidence: Medium

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.7%
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
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
Very High
Technical Impact
Partial

Priority Score

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

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

CVE-2025-1094 HIGH POC
8.1 Feb 13

PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl

CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2013-1899 MEDIUM POC
6.5 Apr 04

Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re

CVE-2026-20253 CRITICAL POC
9.8 Jun 10

Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.

CVE-2026-9586 CRITICAL POC
9.3 Jul 17

Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar

CVE-2017-7546 CRITICAL
9.8 Aug 16

PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow

CVE-2015-1352 MEDIUM POC
5.0 Mar 30

The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t

CVE-2024-10553 CRITICAL POC
9.8 Mar 20

A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra

CVE-2019-9193 HIGH POC
7.2 Apr 01

In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve

CVE-2026-40887 CRITICAL POC
9.1 Apr 14

Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the

CVE-2022-24760 CRITICAL POC
10.0 Mar 12

Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot

CVE-2025-56157 CRITICAL POC
9.8 Dec 18

Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al

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