{
  "id": "CVE-2026-12851",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-12851",
  "published_at": "2026-06-24T03:40:26.802Z",
  "title": "GeoVision GV-I/O Box 4E libNetSetObj.so OS command injection vulnerability",
  "vendor": "GeoVision Inc.",
  "product": "GV-I/O Box 4E",
  "cvss": {
    "score": 9.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:H/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": "Camera / IoT",
    "confidence": "high",
    "reason": "known edge product: GeoVision Inc. GV-I/O Box 4E GeoVision GV-I/O Box"
  },
  "description": "Multiple OS command injection vulnerabilities exist in the libNetSetObj.so functionality of GeoVision GV-I/O Box 4E 2.09. A specially crafted network packet can lead to command execution. An attacker can send a network request to trigger this vulnerability.\n\n\n`libNetSetObj.so` is an internal library used by various binaries on the device to configure the network stack (start and stop various services, configure IP, Netmask, gateway, dns, etc.)\n\n\n#### CNetSetObj::m_F_n_Set_DNS_Addr command injection\n\nThe following function can take up to two addresses, performs no sanitization and then calls `system`. This is a classic command injection vulnerability. The function is reachable from both the network-exposed `DVRSearch` service and the `Network.cgi` endpoint. \n\n\n\n    int __fastcall CNetSetObj::m_F_n_Set_DNS_Addr(CNetSetObj *this, char *dns1, char *dns2)\n\n    {\n\n      int result; // r0\n\n      char v5[80]; // [sp+0h] [bp-50h] BYREF\n\n\n\n      if ( !dns1 )\n\n        result = 0;\n\n      if ( dns1 )\n\n      {\n\n        sprintf(v5, \"/bin/echo nameserver %s \u003e /etc/resolv.conf\", dns1);  // attacker controlled dns1 field\n\n        system(v5);\n\n        if ( dns2 )\n\n        {\n\n          sprintf(v5, \"/bin/echo nameserver %s \u003e\u003e /etc/resolv.conf\", dns2);\n\n          system(v5);\n\n        }\n\n        return 1;\n\n      }\n\n      return result;",
  "cwe": "CWE-78",
  "cvss_by_source": {
    "cna": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "GeoVision Inc.",
        "product": "GV-I/O Box 4E",
        "ranges": [
          "V2.09"
        ],
        "fixed_in": [
          "V2.12"
        ]
      }
    ],
    "upgrade": [
      "Upgrade GV-I/O Box 4E to V2.12 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://www.geovision.com.tw/cyber_security.php"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
