{
  "id": "CVE-2026-54402",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-54402",
  "published_at": "2026-07-02T14:49:17.03Z",
  "vendor": "Ubiquiti Inc",
  "product": "UniFi OS Server",
  "cvss": {
    "score": 9.9,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": {
    "category": "Router / network device",
    "confidence": "high",
    "reason": "known edge product: Ubiquiti Inc UniFi OS Server"
  },
  "description": "A malicious actor with access to the network and low privileges could exploit an Improper Input Validation vulnerability found in UniFi OS to execute a Command Injection on the host device.",
  "cwe": "CWE-20",
  "cpes": [
    "cpe:2.3:a:ui:unifi_os_server:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:enterprise_firewall_core_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:enterprise_fortress_gateway_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:enterprise_network_video_recorder_core_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:enterprise_network_video_recorder_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unas_2_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unas_4_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unas_pro_4_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unas_pro_8_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unas_pro_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unifi_cloud_gateway_fiber_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unifi_cloud_gateway_industrial_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unifi_cloud_gateway_max_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unifi_cloud_gateway_ultra_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unifi_cloud_key_plus_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unifi_cloudkey_enterprise_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unifi_cloudkey_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unifi_dream_machine_beast_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unifi_dream_machine_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unifi_dream_machine_pro_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unifi_dream_machine_pro_max_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unifi_dream_machine_special_edition_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unifi_dream_router_5g_max_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unifi_dream_router_7_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unifi_dream_router_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unifi_dream_wall_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unifi_express_7_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unifi_network_video_recorder_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unifi_network_video_recorder_g2_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unifi_network_video_recorder_g2_pro_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unifi_network_video_recorder_instant_firmware:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:ui:unifi_network_video_recorder_pro_firmware:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.9,
    "nvd": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Ubiquiti Inc",
        "product": "UniFi OS Server",
        "ranges": [
          "\u003c 5.1.19"
        ],
        "fixed_in": [
          "5.1.19"
        ]
      },
      {
        "vendor": "Ubiquiti Inc",
        "product": "Dream Machines",
        "ranges": [
          "\u003c 5.1.19"
        ],
        "fixed_in": [
          "5.1.19"
        ]
      },
      {
        "vendor": "Ubiquiti Inc",
        "product": "Enterprise Fortress Gateway",
        "ranges": [
          "\u003c 5.1.19"
        ],
        "fixed_in": [
          "5.1.19"
        ]
      },
      {
        "vendor": "Ubiquiti Inc",
        "product": "Dream Wall",
        "ranges": [
          "\u003c 5.1.19"
        ],
        "fixed_in": [
          "5.1.19"
        ]
      },
      {
        "vendor": "Ubiquiti Inc",
        "product": "Dream Routers",
        "ranges": [
          "\u003c 5.1.19"
        ],
        "fixed_in": [
          "5.1.19"
        ]
      },
      {
        "vendor": "Ubiquiti Inc",
        "product": "Express 7",
        "ranges": [
          "\u003c 5.1.19"
        ],
        "fixed_in": [
          "5.1.19"
        ]
      },
      {
        "vendor": "Ubiquiti Inc",
        "product": "Cloud Keys",
        "ranges": [
          "\u003c 5.1.19"
        ],
        "fixed_in": [
          "5.1.19"
        ]
      },
      {
        "vendor": "Ubiquiti Inc",
        "product": "Network Video Recorders",
        "ranges": [
          "\u003c 5.1.19"
        ],
        "fixed_in": [
          "5.1.19"
        ]
      },
      {
        "vendor": "Ubiquiti Inc",
        "product": "Enterprise Video Recorders",
        "ranges": [
          "\u003c 5.1.19"
        ],
        "fixed_in": [
          "5.1.19"
        ]
      },
      {
        "vendor": "Ubiquiti Inc",
        "product": "Cloud Gateways",
        "ranges": [
          "\u003c 5.1.19"
        ],
        "fixed_in": [
          "5.1.19"
        ]
      },
      {
        "vendor": "Ubiquiti Inc",
        "product": "Network Attached Storage",
        "ranges": [
          "\u003c 5.1.19"
        ],
        "fixed_in": [
          "5.1.19"
        ]
      },
      {
        "vendor": "Ubiquiti Inc",
        "product": "Enterprise Firewall Core",
        "ranges": [
          "\u003c 5.1.19"
        ],
        "fixed_in": [
          "5.1.19"
        ]
      }
    ],
    "upgrade": [
      "Upgrade UniFi OS Server to 5.1.19 or later.",
      "Upgrade Dream Machines to 5.1.19 or later.",
      "Upgrade Enterprise Fortress Gateway to 5.1.19 or later.",
      "Upgrade Dream Wall to 5.1.19 or later.",
      "Upgrade Dream Routers to 5.1.19 or later.",
      "Upgrade Express 7 to 5.1.19 or later.",
      "Upgrade Cloud Keys to 5.1.19 or later.",
      "Upgrade Network Video Recorders to 5.1.19 or later.",
      "Upgrade Enterprise Video Recorders to 5.1.19 or later.",
      "Upgrade Cloud Gateways to 5.1.19 or later.",
      "Upgrade Network Attached Storage to 5.1.19 or later.",
      "Upgrade Enterprise Firewall Core to 5.1.19 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
