{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-81888",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-08-27T17:48:42.123Z",
        "datePublished": "2026-08-31T20:27:33.165Z",
        "dateUpdated": "2026-08-31T20:27:33.165Z"
    },
    "containers": {
        "cna": {
            "title": "@hono/oauth-providers: OAuth state check fails open on omitted state, enabling login CSRF and forced account linking",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-352",
                            "lang": "en",
                            "description": "CWE-352: Cross-Site Request Forgery (CSRF)",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-1275",
                            "lang": "en",
                            "description": "CWE-1275: Sensitive Cookie with Improper SameSite Attribute",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 5.4,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/honojs/middleware/security/advisories/GHSA-fm3f-ch8h-qw8q",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/honojs/middleware/security/advisories/GHSA-fm3f-ch8h-qw8q"
                },
                {
                    "name": "https://github.com/honojs/middleware/pull/2040",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/honojs/middleware/pull/2040"
                },
                {
                    "name": "https://github.com/honojs/middleware/commit/b37765f40b7bddb1d8fce39573b085222dea58c1",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/honojs/middleware/commit/b37765f40b7bddb1d8fce39573b085222dea58c1"
                },
                {
                    "name": "https://github.com/honojs/middleware/releases/tag/%40hono%2Foauth-providers%400.8.6",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/honojs/middleware/releases/tag/%40hono%2Foauth-providers%400.8.6"
                }
            ],
            "affected": [
                {
                    "vendor": "honojs",
                    "product": "@hono/oauth-providers",
                    "versions": [
                        {
                            "version": "< 0.8.6",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-08-31T20:27:33.165Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "@hono/oauth-providers is Authentication middleware for Hono. Prior to version 0.8.6, the built-in social login providers accept an OAuth callback even when the `state` value is absent on both sides, so the anti-CSRF check passes for a callback that never came from a genuine login attempt. This defeats the `state`-based CSRF protection under default usage. Version 0.8.6 has a patch."
                }
            ],
            "source": {
                "advisory": "GHSA-fm3f-ch8h-qw8q",
                "discovery": "UNKNOWN"
            }
        }
    }
}