{"answers":{"affected":"It affects 32 products.","exploited":"There is no known exploitation of CVE-2026-54404 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-54404 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-54404 is a high-severity SQL injection vulnerability in Ubiquiti Inc Cloud Gateways, published on 2 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-54404 and fix it if it is affected.\n\nWhat it is: CVE-2026-54404 is a high-severity SQL injection vulnerability in Ubiquiti Inc Cloud Gateways, published on 2 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-54404 in the wild and no public exploit code.\n\nAffected product: Ubiquiti Inc Cloud Gateways. 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-54404/ (Markdown: https://insights.sbomify.com/CVE-2026-54404/index.md)","id":"CVE-2026-54404","markdown":"https://insights.sbomify.com/CVE-2026-54404/index.md","name":"CVE-2026-54404","record":{"aliases":["GHSA-fcgm-88x5-cv87"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"UniFi OS","requires_auth":"low_privilege","summary":"Authenticated attackers can exploit SQL injection in UniFi OS to escalate privileges on various Ubiquiti network devices.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"hackerone","cpe":[{"product":"enterprise_firewall_core_firmware","vendor":"ui"},{"product":"enterprise_fortress_gateway_firmware","vendor":"ui"},{"product":"enterprise_network_video_recorder_core_firmware","vendor":"ui"},{"product":"enterprise_network_video_recorder_firmware","vendor":"ui"},{"product":"unas_2_firmware","vendor":"ui"},{"product":"unas_4_firmware","vendor":"ui"},{"product":"unas_pro_4_firmware","vendor":"ui"},{"product":"unas_pro_8_firmware","vendor":"ui"},{"product":"unas_pro_firmware","vendor":"ui"},{"product":"unifi_cloud_gateway_fiber_firmware","vendor":"ui"},{"product":"unifi_cloud_gateway_industrial_firmware","vendor":"ui"},{"product":"unifi_cloud_gateway_max_firmware","vendor":"ui"},{"product":"unifi_cloud_gateway_ultra_firmware","vendor":"ui"},{"product":"unifi_cloud_key_plus_firmware","vendor":"ui"},{"product":"unifi_cloudkey_enterprise_firmware","vendor":"ui"},{"product":"unifi_cloudkey_firmware","vendor":"ui"},{"product":"unifi_dream_machine_beast_firmware","vendor":"ui"},{"product":"unifi_dream_machine_firmware","vendor":"ui"},{"product":"unifi_dream_machine_pro_firmware","vendor":"ui"},{"product":"unifi_dream_machine_pro_max_firmware","vendor":"ui"},{"product":"unifi_dream_machine_special_edition_firmware","vendor":"ui"},{"product":"unifi_dream_router_5g_max_firmware","vendor":"ui"},{"product":"unifi_dream_router_7_firmware","vendor":"ui"},{"product":"unifi_dream_router_firmware","vendor":"ui"},{"product":"unifi_dream_wall_firmware","vendor":"ui"},{"product":"unifi_express_7_firmware","vendor":"ui"},{"product":"unifi_network_video_recorder_firmware","vendor":"ui"},{"product":"unifi_network_video_recorder_g2_firmware","vendor":"ui"},{"product":"unifi_network_video_recorder_g2_pro_firmware","vendor":"ui"},{"product":"unifi_network_video_recorder_instant_firmware","vendor":"ui"},{"product":"unifi_network_video_recorder_pro_firmware","vendor":"ui"},{"product":"unifi_os_server","vendor":"ui"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"A malicious actor with access to the network and low privileges could exploit a series of authenticated SQL Injection vulnerabilities found in UniFi OS to escalate privileges within such UniFi OS devices or instances.","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":"SQL injection in Cloud Gateways","id":"CVE-2026-54404","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Denial of service in UniFi Network Application","id":"CVE-2026-54405"},"packages":[],"prev":{"headline":"Path traversal in Cloud Gateways","id":"CVE-2026-54403"},"products":["Cloud Gateways","Cloud Keys","Dream Machines","Dream Routers","Dream Wall","Enterprise Firewall Core","Enterprise Fortress Gateway","Enterprise Video Recorders","Express 7","Network Attached Storage","Network Video Recorders","UniFi OS Server"],"published":"2026-07-02","related":[{"cvss_score":9.9,"headline":"Command injection in Cloud Gateways","id":"CVE-2026-54402","kev_date_added":null,"published":"2026-07-02"},{"cvss_score":8.6,"headline":"Path traversal in Cloud Gateways","id":"CVE-2026-54403","kev_date_added":null,"published":"2026-07-02"},{"cvss_score":7.7,"headline":"Server-side request forgery in Cloud Gateways","id":"CVE-2026-54401","kev_date_added":null,"published":"2026-07-02"},{"cvss_score":7.5,"headline":"Cross-site request forgery in Cloud Gateways","id":"CVE-2026-55110","kev_date_added":null,"published":"2026-07-02"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"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":"total"},"state":"PUBLISHED","updated":"2026-07-03","vendors":["Ubiquiti Inc"]},"summary":"Authenticated attackers can exploit SQL injection in UniFi OS to escalate privileges on various Ubiquiti network devices.","url":"https://insights.sbomify.com/CVE-2026-54404/"}