{
  "id": "CVE-2026-39976",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-39976",
  "published_at": "2026-04-09T16:50:42.326Z",
  "title": "Laravel Passport's TokenGuard Authenticates Unrelated User for Client Credentials Tokens",
  "vendor": "laravel",
  "product": "passport",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A: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": "Laravel Passport provides OAuth2 server support to Laravel. From 13.0.0 to before 13.7.1, there is an Authentication Bypass for client_credentials tokens. the league/oauth2-server library sets the JWT sub claim to the client identifier (since there's no user). The token guard then passes this value to retrieveById() without validating it's actually a user identifier, potentially resolving an unrelated real user. Any machine-to-machine token can inadvertently authenticate as an actual user. This vulnerability is fixed in 13.7.1.",
  "cwe": "CWE-287",
  "cpes": [
    "cpe:2.3:a:laravel:passport:*:*:*:*:*:laravel:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "laravel",
        "product": "passport",
        "ranges": [
          "\u003e= 13.0.0, \u003c 13.7.1"
        ],
        "fixed_in": [
          "13.7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade passport to 13.7.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/laravel/passport/security/advisories/GHSA-349c-2h2f-mxf6"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/laravel/passport/pull/1901"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/laravel/passport/pull/1902"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
