{
  "id": "CVE-2025-24016",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-24016",
  "published_at": "2025-02-10T19:08:09.058Z",
  "title": "Remote code execution in Wazuh server",
  "vendor": "wazuh",
  "product": "wazuh",
  "cvss": {
    "score": 9.9,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2025-06-10",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 120
  },
  "first_poc": {
    "created_at": "2025-02-13T06:38:43Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 2.5,
    "repo": "huseyinstif/CVE-2025-24016-Nuclei-Template",
    "source": "github"
  },
  "poc_repo_count": 7,
  "exploit_count": 2,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Wazuh is a free and open source platform used for threat prevention, detection, and response. Starting in version 4.4.0 and prior to version 4.9.1, an unsafe deserialization vulnerability allows for remote code execution on Wazuh servers. DistributedAPI parameters are a serialized as JSON and deserialized using `as_wazuh_object` (in `framework/wazuh/core/cluster/common.py`). If an attacker manages to inject an unsanitized dictionary in DAPI request/response, they can forge an unhandled exception (`__unhandled_exc__`) to evaluate arbitrary python code. The vulnerability can be triggered by anybody with API access (compromised dashboard or Wazuh servers in the cluster) or, in certain configurations, even by a compromised agent. Version 4.9.1 contains a fix.",
  "cwe": "CWE-502",
  "cpes": [
    "cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.9
  },
  "repos": [
    {
      "repo": "B1ack4sh/Blackash-CVE-2025-24016",
      "url": "https://github.com/B1ack4sh/Blackash-CVE-2025-24016",
      "created_at": null,
      "first_seen_at": "2026-11-14T21:44:13.198Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "huseyinstif/CVE-2025-24016-Nuclei-Template",
      "url": "https://github.com/huseyinstif/CVE-2025-24016-Nuclei-Template",
      "created_at": "2025-02-13T06:38:43Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 4,
      "is_poc": "yes",
      "kind": "scanner",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "code never talks to a target"
      ],
      "status": "analyzed",
      "owner_created_at": "2019-09-02T23:45:39Z"
    },
    {
      "repo": "0xjessie21/CVE-2025-24016",
      "url": "https://github.com/0xjessie21/CVE-2025-24016",
      "created_at": "2025-02-16T11:01:12Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 43,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2012-11-30T05:34:46Z"
    },
    {
      "repo": "MuhammadWaseem29/CVE-2025-24016",
      "url": "https://github.com/MuhammadWaseem29/CVE-2025-24016",
      "created_at": "2025-02-20T23:31:03Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 6,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-03-02T09:22:01Z"
    },
    {
      "repo": "GloStarRx1/CVE-2025-24016",
      "url": "https://github.com/GloStarRx1/CVE-2025-24016",
      "created_at": "2025-02-21T16:21:46Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-06-03T20:56:38Z"
    },
    {
      "repo": "celsius026/poc_CVE-2025-24016",
      "url": "https://github.com/celsius026/poc_CVE-2025-24016",
      "created_at": "2025-04-15T14:24:45Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-12-13T18:35:11Z"
    },
    {
      "repo": "cybersecplayground/CVE-2025-24016-Wazuh-Remote-Code-Execution-RCE-PoC",
      "url": "https://github.com/cybersecplayground/CVE-2025-24016-Wazuh-Remote-Code-Execution-RCE-PoC",
      "created_at": "2025-04-21T19:13:01Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-03-10T06:39:35Z"
    },
    {
      "repo": "rxerium/CVE-2025-24016",
      "url": "https://github.com/rxerium/CVE-2025-24016",
      "created_at": "2025-06-10T18:54:29Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "scanner",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-12-27T18:58:42Z"
    },
    {
      "repo": "DakshRocks21/EH_Assignment_Materials",
      "url": "https://github.com/DakshRocks21/EH_Assignment_Materials",
      "created_at": "2025-07-01T16:29:14Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-06-13T03:20:16Z"
    },
    {
      "repo": "guinea-offensive-security/Wazuh-RCE",
      "url": "https://github.com/guinea-offensive-security/Wazuh-RCE",
      "created_at": "2025-07-13T23:56:54Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 8,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-04-28T00:53:06Z"
    },
    {
      "repo": "alinaclark672377250/CVE-2025-24016",
      "url": "https://github.com/alinaclark672377250/CVE-2025-24016",
      "created_at": "2026-11-13T21:52:43Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "discovered",
      "owner_created_at": "2026-08-07T12:34:56Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "wazuh",
        "product": "wazuh",
        "ranges": [
          "\u003e= 4.4.0, \u003c 4.9.1"
        ],
        "fixed_in": [
          "4.9.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade wazuh to 4.9.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/wazuh/wazuh/security/advisories/GHSA-hcrc-79hj-m3qh"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/wazuh_auth_rce_cve_2025_24016.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Wazuh server remote code execution caused by an unsafe deserialization vulnerability. (exploit/linux/http/wazuh_auth_rce_cve_2025_24016)",
      "published_at": "2025-07-15T19:06:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-24016.yaml",
      "source": "nuclei",
      "title": "nuclei template: Wazuh - Unsafe Deserialization Remote Code Execution",
      "published_at": "2025-02-13T06:43:27Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/security/user/authenticate/run_as",
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        },
        {
          "name": "Accept-Language",
          "value": "en-US"
        },
        {
          "name": "Authorization",
          "value": "Basic d2F6dXcta3dpTUltUzNjcjM3UDA1MHItOg==  # Base64-encoded \"wazuh-wui:MyS3cr37P450r.*-\""
        },
        {
          "name": "Authorization",
          "value": "Basic d2F6dXcta3dpTUltUzNjcjM3UDA1MHItOg=="
        },
        {
          "name": "Cache-Control",
          "value": "max-age=0"
        },
        {
          "name": "Upgrade-Insecure-Requests",
          "value": "1"
        }
      ],
      "body_markers": [
        "\"__unhandled_exc__\"",
        "\"__class__\":\"exit\"",
        "\"__args__\"",
        "\"__reduce__\"",
        "\"__class__\":\"NotARealClass\""
      ],
      "content_type": "application/json",
      "ports": [
        55000
      ],
      "user_agents": [
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.6478.183 Safari/537.36"
      ],
      "protocol": "http",
      "repos": [
        "GloStarRx1/CVE-2025-24016",
        "MuhammadWaseem29/CVE-2025-24016",
        "celsius026/poc_CVE-2025-24016",
        "cybersecplayground/CVE-2025-24016-Wazuh-Remote-Code-Execution-RCE-PoC",
        "huseyinstif/CVE-2025-24016-Nuclei-Template"
      ],
      "repo_count": 5,
      "confidence": 0.85,
      "evidence": [
        "GloStarRx1/CVE-2025-24016/README.md:28",
        "MuhammadWaseem29/CVE-2025-24016/README.md:28",
        "celsius026/poc_CVE-2025-24016/exploit_wazuh.py:46",
        "cybersecplayground/CVE-2025-24016-Wazuh-Remote-Code-Execution-RCE-PoC/README.md:12",
        "cybersecplayground/CVE-2025-24016-Wazuh-Remote-Code-Execution-RCE-PoC/README.md:54",
        "huseyinstif/CVE-2025-24016-Nuclei-Template/CVE-2025-24016.yaml:19"
      ]
    },
    {
      "method": "GET",
      "path_template": "/app/login",
      "protocol": "http",
      "repos": [
        "rxerium/CVE-2025-24016"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "rxerium/CVE-2025-24016/CVE-2025-24016.yaml:19"
      ]
    }
  ],
  "rules": []
}
