CVE-2026-81888 (GCVE-0-2026-81888)

Vulnerability from cvelistv5 – Published: 2026-08-31 20:27 – Updated: 2026-09-01 14:59
VLAI
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.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-09-01 14:15 UTC
CWE
  • CWE-352 - Cross-Site Request Forgery (CSRF)
  • CWE-1275 - Sensitive Cookie with Improper SameSite Attribute
Impacted products
Vendor Product Version CPE status
honojs @hono/oauth-providers Affected: < 0.8.6
guessed Create a notification for this product.
Show details on NVD website

{
  "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",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-81888",
      "date": "2026-09-23",
      "epss": "0.00149",
      "percentile": "0.04447"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "product": "@hono/oauth-providers",
                "vendor": "honojs",
                "versions": [
                  {
                    "status": "affected",
                    "version": "\u003c 0.8.6"
                  }
                ]
              }
            ],
            "source": "security-advisories@github.com"
          }
        ],
        "cveTags": [],
        "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."
          }
        ],
        "id": "CVE-2026-81888",
        "lastModified": "2026-09-09T21:09:13.080",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "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"
              },
              "exploitabilityScore": 2.8,
              "impactScore": 2.5,
              "source": "security-advisories@github.com",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2026-81888",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-09-01T14:15:08.751502Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2026-08-31T21:17:52.317",
        "references": [
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/honojs/middleware/commit/b37765f40b7bddb1d8fce39573b085222dea58c1"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/honojs/middleware/pull/2040"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/honojs/middleware/releases/tag/%40hono%2Foauth-providers%400.8.6"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/honojs/middleware/security/advisories/GHSA-fm3f-ch8h-qw8q"
          }
        ],
        "sourceIdentifier": "security-advisories@github.com",
        "vulnStatus": "Deferred",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-352"
              },
              {
                "lang": "en",
                "value": "CWE-1275"
              }
            ],
            "source": "security-advisories@github.com",
            "type": "Secondary"
          }
        ]
      }
    },
    "vulnrichment": {
      "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:14:35.479Z",
              "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"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…