{
  "id": "CVE-2026-53512",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-53512",
  "published_at": "2026-07-15T17:18:09.512Z",
  "title": "Better Auth: OAuth refresh-token replay via missing client authentication on oidc-provider and mcp plugins",
  "vendor": "better-auth",
  "product": "better-auth",
  "cvss": {
    "score": 9.1,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Better Auth is an authentication and authorization library for TypeScript. Prior to 1.6.11, the legacy oidcProvider and mcp plugins expose OAuth token endpoints whose refresh_token grant authenticates only possession of the bound refreshToken row and matching client_id, without verifying the confidential client's client_secret, allowing an attacker with a valid refresh_token to mint access tokens and rotated refresh tokens through /api/auth/oauth2/token or /api/auth/mcp/token. The @better-auth/oauth-provider package is not affected. This issue is fixed in version 1.6.11.",
  "cwe": "CWE-287",
  "cpes": [
    "cpe:2.3:a:better-auth:better_auth:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.1,
    "nvd": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "better-auth",
        "product": "better-auth",
        "ranges": [
          "\u003c 1.6.11"
        ],
        "fixed_in": [
          "1.6.11"
        ]
      }
    ],
    "upgrade": [
      "Upgrade better-auth to 1.6.11 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/better-auth/better-auth/security/advisories/GHSA-pw9m-5jxm-xr6h"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/better-auth/better-auth/pull/9576"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/better-auth/better-auth/commit/1f2ff4215c4affff0b140b0c0a712c0dde35659c"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/better-auth/better-auth/releases/tag/v1.6.11"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
