CVE-2026-72861: Appwrite Templates github-issue-bot Skips Webhook Signature Verification When the X-Hub-Signature-256 Header Is Absent
Description
The github-issue-bot templates in appwrite/templates verify the GitHub webhook signature with an inverted condition. verifyWebhook in node/github-issue-bot/src/github.js and in node-typescript/github-issue-bot/src/github.ts returns "typeof signature !== 'string' || (await verify(...))", so when the X-Hub-Signature-256 header is absent the first operand is true, the logical OR short-circuits, and the function reports success without performing any HMAC verification. main.js rejects a request only when verifyWebhook returns false, so an unauthenticated request carrying no signature passes the check. Processing then continues to postComment, which takes the repository and issue objects directly from the request body, letting the caller direct the deployed function to post a comment on a repository and issue of their choosing using the configured GITHUB_TOKEN, with the issue author login from the body interpolated into the comment text.
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N · CWE-347
Tracked companies
Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
appwrite: templates
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- github.com/appwrite/templates (opens in new tab)
- github.com/appwrite/templates/blob/1.1.2/node/github-issue-bot/src/github.js (opens in new tab)
- github.com/appwrite/templates/blob/1.1.2/node/github-issue-bot/src/main.js (opens in new tab)
- github.com/appwrite/templates/blob/1.1.2/node-typescript/github-issue-bot/src/gi… (opens in new tab)
- github.com/appwrite/templates/issues/350 (opens in new tab)
- www.vulncheck.com/advisories/appwrite-templates-github-issue-bot-skips-webhook-signatur… (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)