{
  "sha": "e384825bb2ca5699cd389942da4458c0f9482f04",
  "node_id": "C_kwDOKDyQLdoAKGUzODQ4MjViYjJjYTU2OTljZDM4OTk0MmRhNDQ1OGMwZjk0ODJmMDQ",
  "commit": {
    "author": {
      "name": "wyx2685",
      "email": "wyx2685@gmail.com",
      "date": "2026-04-10T07:37:24Z"
    },
    "committer": {
      "name": "wyx2685",
      "email": "wyx2685@gmail.com",
      "date": "2026-04-10T07:37:24Z"
    },
    "message": "Fix: CVE-2026-39912",
    "tree": {
      "sha": "31761cc87173d3dee29fffecbd6da8265c8dba84",
      "url": "https://api.github.com/repos/wyx2685/v2board/git/trees/31761cc87173d3dee29fffecbd6da8265c8dba84"
    },
    "url": "https://api.github.com/repos/wyx2685/v2board/git/commits/e384825bb2ca5699cd389942da4458c0f9482f04",
    "comment_count": 0,
    "verification": {
      "verified": true,
      "reason": "valid",
      "signature": "-----BEGIN PGP SIGNATURE-----\n\niQIzBAABCgAdFiEEqNJ67VOvPIOeuNK7iCejD/HbE3kFAmnYqLQACgkQiCejD/Hb\nE3kyrg//UT3Gzhfwt/a85fIq0qGUcq4NP/H32r6m8z/7XqFnpJUztRre1De/5Jsl\nMXhABirzItG5yBlIhAkyRdVy6GndHJZB9g+dpgAbF5kFspq3m9F7w594i8TKb6xl\np4oNNEFp3Aier7U8vTR5uFRlepKdZN1Lw7xukv5TrPj37gOm7W8RvtgMB7SKZjsc\nSDeAHD/1Q9UoPvitlzPw7mSrBR8zEi62W/0lXleifv7Z4AXF4THibXZU7E97QmTp\nhmG/WS8onLFmLZlcnTbagy4ssdZJTDWSXlqR8xtC5kZjxhswDlxoBpuCcEhKVMSC\nSElx838LWFBdR8fz2HtokGDyK2b1+/0FsiDJlz5rE4NV6g81h1OkTb6I4NfEMeBc\nydqR9WI60bxvKL3Uufvnndsy1cMKIOdjKbtqH4Yf4A2ox2smq7tDUcwZumYXZaU8\nQw+c8H55h9eSZ2Y4iXSmY9TggQa1jktWf10derSsBV18MCoNzbdHvF6QlyLDR7T8\n9WfDfrqGeYXHgEIlAJXYw3bW6DQEzuQrI7N4xNF6gPh0XD4/POG2qh4auYDvUWDU\nRz6cCu+owJCGiM862lK+M7vn1v0MbfwWLzuQD6WOqFTRUIKYZGjMIqAiq6UY+QFw\nKMS5Rvee+r5yxSrNmH8OkLyKrxDfUXSYhkwaDu7yEIITbNlCkQw=\n=QT2u\n-----END PGP SIGNATURE-----",
      "payload": "tree 31761cc87173d3dee29fffecbd6da8265c8dba84\nparent 4187ad5ebf87850b5439c9c7163d9ffb03f9bbce\nauthor wyx2685 <wyx2685@gmail.com> 1775806644 +0900\ncommitter wyx2685 <wyx2685@gmail.com> 1775806644 +0900\n\nFix: CVE-2026-39912\n",
      "verified_at": "2026-04-10T07:37:27Z"
    }
  },
  "url": "https://api.github.com/repos/wyx2685/v2board/commits/e384825bb2ca5699cd389942da4458c0f9482f04",
  "html_url": "https://github.com/wyx2685/v2board/commit/e384825bb2ca5699cd389942da4458c0f9482f04",
  "comments_url": "https://api.github.com/repos/wyx2685/v2board/commits/e384825bb2ca5699cd389942da4458c0f9482f04/comments",
  "author": {
    "login": "wyx2685",
    "id": 24352157,
    "node_id": "MDQ6VXNlcjI0MzUyMTU3",
    "avatar_url": "https://avatars.githubusercontent.com/u/24352157?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/wyx2685",
    "html_url": "https://github.com/wyx2685",
    "followers_url": "https://api.github.com/users/wyx2685/followers",
    "following_url": "https://api.github.com/users/wyx2685/following{/other_user}",
    "gists_url": "https://api.github.com/users/wyx2685/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/wyx2685/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/wyx2685/subscriptions",
    "organizations_url": "https://api.github.com/users/wyx2685/orgs",
    "repos_url": "https://api.github.com/users/wyx2685/repos",
    "events_url": "https://api.github.com/users/wyx2685/events{/privacy}",
    "received_events_url": "https://api.github.com/users/wyx2685/received_events",
    "type": "User",
    "user_view_type": "public",
    "site_admin": false
  },
  "committer": {
    "login": "wyx2685",
    "id": 24352157,
    "node_id": "MDQ6VXNlcjI0MzUyMTU3",
    "avatar_url": "https://avatars.githubusercontent.com/u/24352157?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/wyx2685",
    "html_url": "https://github.com/wyx2685",
    "followers_url": "https://api.github.com/users/wyx2685/followers",
    "following_url": "https://api.github.com/users/wyx2685/following{/other_user}",
    "gists_url": "https://api.github.com/users/wyx2685/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/wyx2685/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/wyx2685/subscriptions",
    "organizations_url": "https://api.github.com/users/wyx2685/orgs",
    "repos_url": "https://api.github.com/users/wyx2685/repos",
    "events_url": "https://api.github.com/users/wyx2685/events{/privacy}",
    "received_events_url": "https://api.github.com/users/wyx2685/received_events",
    "type": "User",
    "user_view_type": "public",
    "site_admin": false
  },
  "parents": [
    {
      "sha": "4187ad5ebf87850b5439c9c7163d9ffb03f9bbce",
      "url": "https://api.github.com/repos/wyx2685/v2board/commits/4187ad5ebf87850b5439c9c7163d9ffb03f9bbce",
      "html_url": "https://github.com/wyx2685/v2board/commit/4187ad5ebf87850b5439c9c7163d9ffb03f9bbce"
    }
  ],
  "stats": {
    "total": 54,
    "additions": 0,
    "deletions": 54
  },
  "files": [
    {
      "sha": "ac788fd1a8674d8fc5184892d8bb10cdca8c2cc8",
      "filename": "app/Http/Controllers/V1/Passport/AuthController.php",
      "status": "modified",
      "additions": 0,
      "deletions": 53,
      "changes": 53,
      "blob_url": "https://github.com/wyx2685/v2board/blob/e384825bb2ca5699cd389942da4458c0f9482f04/app%2FHttp%2FControllers%2FV1%2FPassport%2FAuthController.php",
      "raw_url": "https://github.com/wyx2685/v2board/raw/e384825bb2ca5699cd389942da4458c0f9482f04/app%2FHttp%2FControllers%2FV1%2FPassport%2FAuthController.php",
      "contents_url": "https://api.github.com/repos/wyx2685/v2board/contents/app%2FHttp%2FControllers%2FV1%2FPassport%2FAuthController.php?ref=e384825bb2ca5699cd389942da4458c0f9482f04",
      "patch": "@@ -20,59 +20,6 @@\n \n class AuthController extends Controller\n {\n-    public function loginWithMailLink(Request $request)\n-    {\n-        if (!(int)config('v2board.login_with_mail_link_enable')) {\n-            abort(404);\n-        }\n-        $params = $request->validate([\n-            'email' => 'required|email:strict',\n-            'redirect' => 'nullable'\n-        ]);\n-\n-        if (Cache::get(CacheKey::get('LAST_SEND_LOGIN_WITH_MAIL_LINK_TIMESTAMP', $params['email']))) {\n-            abort(500, __('Sending frequently, please try again later'));\n-        }\n-\n-        $user = User::where('email', $params['email'])->first();\n-        if (!$user) {\n-            return response([\n-                'data' => true\n-            ]);\n-        }\n-\n-        $code = Helper::guid();\n-        $key = CacheKey::get('TEMP_TOKEN', $code);\n-        Cache::put($key, $user->id, 300);\n-        Cache::put(CacheKey::get('LAST_SEND_LOGIN_WITH_MAIL_LINK_TIMESTAMP', $params['email']), time(), 60);\n-\n-\n-        $redirect = '/#/login?verify=' . $code . '&redirect=' . ($request->input('redirect') ? $request->input('redirect') : 'dashboard');\n-        if (config('v2board.app_url')) {\n-            $link = config('v2board.app_url') . $redirect;\n-        } else {\n-            $link = url($redirect);\n-        }\n-\n-        SendEmailJob::dispatch([\n-            'email' => $user->email,\n-            'subject' => __('Login to :name', [\n-                'name' => config('v2board.app_name', 'V2Board')\n-            ]),\n-            'template_name' => 'login',\n-            'template_value' => [\n-                'name' => config('v2board.app_name', 'V2Board'),\n-                'link' => $link,\n-                'url' => config('v2board.app_url')\n-            ]\n-        ]);\n-\n-        return response([\n-            'data' => $link\n-        ]);\n-\n-    }\n-\n     public function register(AuthRegister $request)\n     {\n         if ((int)config('v2board.register_limit_by_ip_enable', 0)) {"
    },
    {
      "sha": "9bf69bbd2d73a523e78eaca136ff4dceb83bbc46",
      "filename": "app/Http/Routes/V1/PassportRoute.php",
      "status": "modified",
      "additions": 0,
      "deletions": 1,
      "changes": 1,
      "blob_url": "https://github.com/wyx2685/v2board/blob/e384825bb2ca5699cd389942da4458c0f9482f04/app%2FHttp%2FRoutes%2FV1%2FPassportRoute.php",
      "raw_url": "https://github.com/wyx2685/v2board/raw/e384825bb2ca5699cd389942da4458c0f9482f04/app%2FHttp%2FRoutes%2FV1%2FPassportRoute.php",
      "contents_url": "https://api.github.com/repos/wyx2685/v2board/contents/app%2FHttp%2FRoutes%2FV1%2FPassportRoute.php?ref=e384825bb2ca5699cd389942da4458c0f9482f04",
      "patch": "@@ -16,7 +16,6 @@ public function map(Registrar $router)\n             $router->get ('/auth/token2Login', 'V1\\\\Passport\\\\AuthController@token2Login');\n             $router->post('/auth/forget', 'V1\\\\Passport\\\\AuthController@forget');\n             $router->post('/auth/getQuickLoginUrl', 'V1\\\\Passport\\\\AuthController@getQuickLoginUrl');\n-            $router->post('/auth/loginWithMailLink', 'V1\\\\Passport\\\\AuthController@loginWithMailLink');\n             // Comm\n             $router->post('/comm/sendEmailVerify', 'V1\\\\Passport\\\\CommController@sendEmailVerify');\n             $router->post('/comm/pv', 'V1\\\\Passport\\\\CommController@pv');"
    }
  ]
}
