{"id":"CVE-2026-112338","kind":"vulnerability","aliases":["CVE-2026-112338"],"related":[],"title":"Wazuh: GitHub module trusts pagination links, leaking API token to attacker hosts","description":"Wazuh from 4.3.0 before 4.14.9 contains a server-side request forgery vulnerability in the GitHub module (wm_github.c) that trusts unvalidated Link rel=\"next\" pagination URLs. Attackers controlling the next-page URL can make the manager send requests with the GitHub API token to attacker hosts, exposing organization repositories and settings.","summary":"Wazuh's GitHub integration follows the next-page URL in GitHub API responses without checking it, so a manipulated link makes the Wazuh manager send its GitHub API token to an attacker-chosen host. An attacker who gets that token can read the organization's repositories and settings.","severity":"high","cvss":8.2,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["github-integration","infrastructure","self-hosted","wazuh"],"not_affected_if":["github-module-disabled","managed-hosting","wazuh-below-4.3.0"],"how_to_check":"- Check the Wazuh manager version with `/var/ossec/bin/wazuh-control info` or `wazuh-manager -V`.\n- Look for the GitHub module (`wm_github`) in the manager's `ossec.conf` under the GitHub integration settings.\n- Confirm whether the GitHub API token configured there has org-wide read access.","fix":"- Wazuh `4.14.9` or later (fixed version given in the sources for versions from `4.3.0`).","status":"open","published_at":"2026-11-06T15:17:08+00:00","first_seen_at":"2026-11-06T15:42:43+00:00","triaged_at":"2026-11-06T15:44:15+00:00","updated_at":"2026-11-06T15:44:15+00:00","category":"infrastructure","confidence":0.6,"triage":{"at":"2026-11-06T15:44:15Z","model":"claude-haiku-5-5","output":{"fix":"- Wazuh `4.14.9` or later (fixed version given in the sources for versions from `4.3.0`).","reach":"network","title":"Wazuh: GitHub module trusts pagination links, leaking API token to attacker hosts","impact":"medium","summary":"Wazuh's GitHub integration follows the next-page URL in GitHub API responses without checking it, so a manipulated link makes the Wazuh manager send its GitHub API token to an attacker-chosen host. An attacker who gets that token can read the organization's repositories and settings.","audience":"businesses","category":"infrastructure","nicknames":[],"who_cares":["wazuh","self-hosted","github-integration"],"confidence":0.6,"fix_status":"available","needs_auth":"unknown","worst_case":"GitHub API token leaks, exposing org repositories and settings","analyst_note":"","how_to_check":"- Check the Wazuh manager version with `/var/ossec/bin/wazuh-control info` or `wazuh-manager -V`.\n- Look for the GitHub module (`wm_github`) in the manager's `ossec.conf` under the GitHub integration settings.\n- Confirm whether the GitHub API token configured there has org-wide read access.","plain_action":"","needs_analyst":false,"not_affected_if":["github-module-disabled","wazuh-below-4.3.0","managed-hosting"],"who_is_affected":"Teams running a self-hosted Wazuh manager with the GitHub module configured to pull from GitHub organizations. The exposure comes from the token the module uses and the pagination handling in wm_github.c, so a manager without the GitHub module is not affected. Managed or SaaS Wazuh deployments are the vendor's to patch.","user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"high"},"cost_usd":0.000746,"input_tokens":4307,"output_tokens":631,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-112338':15A,18A '-2026':14A,17A '4.14.9':81C '4.3.0':79C 'api':8A,39B,55B,120C 'attack':11A,60B,64B,104C,123C 'attacker-chosen':59B 'check':42B 'chosen':61B 'contain':82C 'control':105C 'cve':13A,16A 'expos':125C 'follow':31B 'forgeri':88C 'get':66B 'github':2A,20B,29B,38B,54B,92C,119C 'github-integr':19B 'github.c':95C 'host':12A,25B,62B,124C 'infrastructur':22B 'integr':21B,30B 'leak':7A 'link':6A,47B,99C 'make':48B,112C 'manag':51B,114C 'manipul':46B 'modul':3A,93C 'next':34B,101C,108C 'next-pag':33B,107C 'organ':72B,126C 'page':35B,109C 'pagin':5A,102C 'read':70B 'rel':100C 'repositori':74B,127C 'request':87C,116C 'respons':40B 'self':24B 'self-host':23B 'send':52B,115C 'server':85C 'server-sid':84C 'set':76B,129C 'side':86C 'token':9A,56B,68B,121C 'trust':4A,97C 'unvalid':98C 'url':36B,103C,110C 'vulner':89C 'wazuh':1A,26B,27B,50B,77C 'without':41B 'wm':94C","nicknames":[],"mitigations":[],"who_affected":"Teams running a self-hosted Wazuh manager with the GitHub module configured to pull from GitHub organizations. The exposure comes from the token the module uses and the pagination handling in wm_github.c, so a manager without the GitHub module is not affected. Managed or SaaS Wazuh deployments are the vendor's to patch.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["githubintegration","high","infrastructure","selfhosted","wazuh"],"campaign_type":null,"search_a":"'-112338':15A,18A '-2026':14A,17A 'api':8A 'attack':11A 'cve':13A,16A 'github':2A 'host':12A 'leak':7A 'link':6A 'modul':3A 'pagin':5A 'token':9A 'trust':4A 'wazuh':1A","search_b":"'api':39B,55B 'attack':60B,64B 'attacker-chosen':59B 'check':42B 'chosen':61B 'follow':31B 'get':66B 'github':20B,29B,38B,54B 'github-integr':19B 'host':25B,62B 'infrastructur':22B 'integr':21B,30B 'link':47B 'make':48B 'manag':51B 'manipul':46B 'next':34B 'next-pag':33B 'organ':72B 'page':35B 'read':70B 'repositori':74B 'respons':40B 'self':24B 'self-host':23B 'send':52B 'set':76B 'token':56B,68B 'url':36B 'wazuh':26B,27B,50B 'without':41B","search_c":"'4.14.9':81C '4.3.0':79C 'api':120C 'attack':104C,123C 'contain':82C 'control':105C 'expos':125C 'forgeri':88C 'github':92C,119C 'github.c':95C 'host':124C 'link':99C 'make':112C 'manag':114C 'modul':93C 'next':101C,108C 'next-pag':107C 'organ':126C 'page':109C 'pagin':102C 'rel':100C 'repositori':127C 'request':87C,116C 'send':115C 'server':85C 'server-sid':84C 'set':129C 'side':86C 'token':121C 'trust':97C 'unvalid':98C 'url':103C,110C 'vulner':89C 'wazuh':77C 'wm':94C","first_public_at":"2026-11-06T10:28:34+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-112338","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112338","severity":null,"published_at":"2026-11-06T15:17:08+00:00","modified_at":"2026-11-06T15:17:08+00:00","first_seen_at":"2026-11-06T15:42:43+00:00","fetched_at":"2026-11-06T15:42:43+00:00","note":null}],"documents":[{"id":87519,"url":"https://github.com/wazuh/wazuh/releases/tag/v4.14.9","title":"Release notes: github.com","kind":"release","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Release notes: github.com"},{"id":87534,"url":"https://github.com/wazuh/wazuh/security/advisories/GHSA-jmq7-vgh3-wq9v","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":"2026-11-06T10:28:34+00:00","relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"},{"id":87535,"url":"https://www.vulncheck.com/advisories/wazuh-from-4.3.0-before-4.14.9-ssrf-via-github-module-link-pagination","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}