CVE-2026-72861
The github-issue-bot templates in appwrite/templates verify the …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/appwrite/templates
- github.com/appwrite/templates/blob/1.1.2/node-typescript/github-issue-bot/src/github.ts
- github.com/appwrite/templates/blob/1.1.2/node/github-issue-bot/src/github.js
- github.com/appwrite/templates/blob/1.1.2/node/github-issue-bot/src/main.js
- github.com/appwrite/templates/issues/350
- www.vulncheck.com/advisories/appwrite-templates-github-issue-bot-skips-webhook-signature-v
- nvd.nist.gov/vuln/detail/CVE-2026-72861
- cve.org/CVERecord?id=CVE-2026-72861
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.