Search
Find a vulnerability
Search criteria
2 vulnerabilities found for @hono/oauth-providers by honojs
CVE-2026-81888 (GCVE-0-2026-81888)
Vulnerability from nvd – Published: 2026-08-31 20:27 – Updated: 2026-09-01 14:59
VLAI
EPSS
VEX
Title
@hono/oauth-providers: OAuth state check fails open on omitted state, enabling login CSRF and forced account linking
Summary
@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.
Severity
5.4 (Medium)
SSVC
Exploitation: none
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-09-01 14:15 UTC
CWE
Assigner
References
4 references
| URL | Tags |
|---|---|
| https://github.com/honojs/middleware/security/adv… | x_refsource_CONFIRM |
| https://github.com/honojs/middleware/pull/2040 | x_refsource_MISC |
| https://github.com/honojs/middleware/commit/b3776… | x_refsource_MISC |
| https://github.com/honojs/middleware/releases/tag… | x_refsource_MISC |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| honojs | @hono/oauth-providers |
Affected:
< 0.8.6
|
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-81888",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-09-01T14:15:08.751502Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-09-01T14:59:01.902Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "@hono/oauth-providers",
"vendor": "honojs",
"versions": [
{
"status": "affected",
"version": "\u003c 0.8.6"
}
]
}
],
"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."
}
],
"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"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-352",
"description": "CWE-352: Cross-Site Request Forgery (CSRF)",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-1275",
"description": "CWE-1275: Sensitive Cookie with Improper SameSite Attribute",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-31T20:27:33.165Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"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"
}
],
"source": {
"advisory": "GHSA-fm3f-ch8h-qw8q",
"discovery": "UNKNOWN"
},
"title": "@hono/oauth-providers: OAuth state check fails open on omitted state, enabling login CSRF and forced account linking"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-81888",
"datePublished": "2026-08-31T20:27:33.165Z",
"dateReserved": "2026-08-27T17:48:42.123Z",
"dateUpdated": "2026-09-01T14:59:01.902Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-81888 (GCVE-0-2026-81888)
Vulnerability from cvelistv5 – Published: 2026-08-31 20:27 – Updated: 2026-09-01 14:59
VLAI
EPSS
VEX
Title
@hono/oauth-providers: OAuth state check fails open on omitted state, enabling login CSRF and forced account linking
Summary
@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.
Severity
5.4 (Medium)
SSVC
Exploitation: none
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-09-01 14:15 UTC
CWE
Assigner
References
4 references
| URL | Tags |
|---|---|
| https://github.com/honojs/middleware/security/adv… | x_refsource_CONFIRM |
| https://github.com/honojs/middleware/pull/2040 | x_refsource_MISC |
| https://github.com/honojs/middleware/commit/b3776… | x_refsource_MISC |
| https://github.com/honojs/middleware/releases/tag… | x_refsource_MISC |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| honojs | @hono/oauth-providers |
Affected:
< 0.8.6
|
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-81888",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-09-01T14:15:08.751502Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-09-01T14:59:01.902Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "@hono/oauth-providers",
"vendor": "honojs",
"versions": [
{
"status": "affected",
"version": "\u003c 0.8.6"
}
]
}
],
"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."
}
],
"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"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-352",
"description": "CWE-352: Cross-Site Request Forgery (CSRF)",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-1275",
"description": "CWE-1275: Sensitive Cookie with Improper SameSite Attribute",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-31T20:27:33.165Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"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"
}
],
"source": {
"advisory": "GHSA-fm3f-ch8h-qw8q",
"discovery": "UNKNOWN"
},
"title": "@hono/oauth-providers: OAuth state check fails open on omitted state, enabling login CSRF and forced account linking"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-81888",
"datePublished": "2026-08-31T20:27:33.165Z",
"dateReserved": "2026-08-27T17:48:42.123Z",
"dateUpdated": "2026-09-01T14:59:01.902Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}