{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-49004 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-49004 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-49004 is a medium-severity command injection vulnerability in ZTE NX799J (Red Magic 11 Air), published on 5 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-49004 and fix it if it is affected.\n\nWhat it is: CVE-2026-49004 is a medium-severity command injection vulnerability in ZTE NX799J (Red Magic 11 Air), published on 5 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-49004 in the wild and no public exploit code.\n\nAffected product: ZTE NX799J (Red Magic 11 Air). No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-49004/ (Markdown: https://insights.sbomify.com/CVE-2026-49004/index.md)","id":"CVE-2026-49004","markdown":"https://insights.sbomify.com/CVE-2026-49004/index.md","name":"CVE-2026-49004","record":{"aliases":["GHSA-v2vf-g6fh-j2m9"],"analysis":{"component_type":"mobile_application","fix_type":"no_fix_stated","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"ZTE Red Magic 11 Air","requires_auth":"low_privilege","summary":"Local attackers can exploit weak PostgreSQL credentials and COPY FROM PROGRAM to bypass Android sandbox and gain root access on ZTE Red Magic 11 Air devices.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"zte","cpe":[],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:P/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"PostgreSQL Misconfiguration and Command Injection Vulnerability in ZTE NX799J (Red Magic 11 Air) Product","id":"CVE-2026-49004","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Root password hash exposure vulnerability in ZTE F689 product","id":"CVE-2026-49005"},"packages":[],"prev":{"headline":"Unauthenticated RCE Vulnerability in ZTE ZXDU68 S202 V5.0 Product","id":"CVE-2026-49003"},"products":["NX799J (Red Magic 11 Air)"],"published":"2026-08-05","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-07","vendors":["ZTE"]},"summary":"Local attackers can exploit weak PostgreSQL credentials and COPY FROM PROGRAM to bypass Android sandbox and gain root access on ZTE Red Magic 11 Air devices.","url":"https://insights.sbomify.com/CVE-2026-49004/"}