Vulnerability in Appwrite Templates
CVE-2026-72861
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.
CVSS v3 metric
CVSS v3 base score 5.8 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N.
Affected products
Weakness classification (CWE)
References
- GitHub Issue #350 (issue-tracking)
- verifyWebhook in the node template at 1.1.2 (technical-description)
- verifyWebhook in the node-typescript template at 1.1.2 (technical-description)
- main.js gating on verifyWebhook and calling postComment (technical-description)
- disclosure@vulncheck.com (product)
- VulnCheck Advisory: Appwrite Templates github-issue-bot Skips Webhook Signature Verification When the X-Hub-Signature-256 Header Is Absent (third-party-advisory)
Frequently asked questions
- What is CVE-2026-72861?
- CVE-2026-72861 is a medium-severity vulnerability in Appwrite Templates, classified under Improper Verification of Cryptographic Signature. CVSS score: 5.8/10. Published 2026-08-20.
- How severe is CVE-2026-72861?
- Medium severity. CVSS v3 base score is 5.8 out of 10.