{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-72861",
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "state": "PUBLISHED",
        "assignerShortName": "VulnCheck",
        "dateReserved": "2026-08-10T15:16:31.372Z",
        "datePublished": "2026-08-20T19:48:51.102Z",
        "dateUpdated": "2026-08-21T21:45:50.993Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
                "shortName": "VulnCheck",
                "dateUpdated": "2026-08-20T19:48:51.102Z"
            },
            "datePublic": "2026-05-26T00:00:00.000Z",
            "title": "Appwrite Templates github-issue-bot Skips Webhook Signature Verification When the X-Hub-Signature-256 Header Is Absent",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "Improper Verification of Cryptographic Signature",
                            "cweId": "CWE-347",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "appwrite",
                    "product": "templates",
                    "defaultStatus": "unaffected",
                    "repo": "https://github.com/appwrite/templates",
                    "versions": [
                        {
                            "version": "0",
                            "lessThanOrEqual": "1.1.2",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ],
                    "programFiles": [
                        "node/github-issue-bot/src/github.js",
                        "node-typescript/github-issue-bot/src/github.ts"
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "scope": "CHANGED",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "LOW",
                        "availabilityImpact": "NONE",
                        "baseScore": 5.8,
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "format": "CVSS",
                    "cvssV4_0": {
                        "version": "4.0",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "LOW",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 6.9,
                        "baseSeverity": "MEDIUM"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://github.com/appwrite/templates/issues/350",
                    "tags": [
                        "issue-tracking"
                    ],
                    "name": "GitHub Issue #350"
                },
                {
                    "url": "https://github.com/appwrite/templates/blob/1.1.2/node/github-issue-bot/src/github.js",
                    "tags": [
                        "technical-description"
                    ],
                    "name": "verifyWebhook in the node template at 1.1.2"
                },
                {
                    "url": "https://github.com/appwrite/templates/blob/1.1.2/node-typescript/github-issue-bot/src/github.ts",
                    "tags": [
                        "technical-description"
                    ],
                    "name": "verifyWebhook in the node-typescript template at 1.1.2"
                },
                {
                    "url": "https://github.com/appwrite/templates/blob/1.1.2/node/github-issue-bot/src/main.js",
                    "tags": [
                        "technical-description"
                    ],
                    "name": "main.js gating on verifyWebhook and calling postComment"
                },
                {
                    "url": "https://github.com/appwrite/templates",
                    "tags": [
                        "product"
                    ]
                },
                {
                    "name": "VulnCheck Advisory: Appwrite Templates github-issue-bot Skips Webhook Signature Verification When the X-Hub-Signature-256 Header Is Absent",
                    "tags": [
                        "third-party-advisory"
                    ],
                    "url": "https://www.vulncheck.com/advisories/appwrite-templates-github-issue-bot-skips-webhook-signature-verification-when-the-x-hub-signature-256-header-is-absent"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "potdf-bl4ck-570rm",
                    "type": "reporter"
                }
            ],
            "x_generator": {
                "engine": "vulncheck-endgame"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-08-21T21:33:32.540767Z",
                                "id": "CVE-2026-72861",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-08-21T21:45:50.993Z"
                }
            }
        ]
    }
}