Title: [BUG] Able to use copilot in VS Code signed in a different account to do actions in the account with MCP PAT · Issue #373 · github/github-mcp-server · GitHub
Open Graph Title: [BUG] Able to use copilot in VS Code signed in a different account to do actions in the account with MCP PAT · Issue #373 · github/github-mcp-server
X Title: [BUG] Able to use copilot in VS Code signed in a different account to do actions in the account with MCP PAT · Issue #373 · github/github-mcp-server
Description: Describe the bug Say you are user "hacker" who is signed into VS Code with this GitHub account, and somehow you get the PAT (Personal Access Token) of a user "victim". You can use this PAT to do actions in the "victim" user's account des...
Open Graph Description: Describe the bug Say you are user "hacker" who is signed into VS Code with this GitHub account, and somehow you get the PAT (Personal Access Token) of a user "victim". You can use this PAT to do ac...
X Description: Describe the bug Say you are user "hacker" who is signed into VS Code with this GitHub account, and somehow you get the PAT (Personal Access Token) of a user "victim". You can u...
Opengraph URL: https://github.com/github/github-mcp-server/issues/373
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG] Able to use copilot in VS Code signed in a different account to do actions in the account with MCP PAT","articleBody":"### Describe the bug\nSay you are user \"hacker\" who is signed into VS Code with this GitHub account, and somehow you get the PAT (Personal Access Token) of a user \"victim\". You can use this PAT to do actions in the \"victim\" user's account despite being logged in as \"hacker\" in VS code. \n\nThis can also be thought of as an exploit to use GitHub copilot in accounts that don't have the required subscription.\n\n### Affected version\n\nGitHub MCP Server\nVersion: v0.2.1\nCommit: 9fa582d8d63522d70ce8f3af58265effb9645323\nBuild Date: 2025-04-21T23:03:01Z\n\n### Steps to reproduce the behavior\nSame as in description\n\n### Expected vs actual behavior\nThis should raise an alert email to the \"victim\" and the PAT should be auto revoked.\n","author":{"url":"https://github.com/justary27","@type":"Person","name":"justary27"},"datePublished":"2025-05-05T10:09:52Z","url":"https://github.com/github/github-mcp-server/issues/373"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e69435a0-1370-db66-b39b-7ba85d880dcc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E9BA:3AC956:2C65A0B:3B30A3A:6B06CA60 |
| html-safe-nonce | ab9fe1c34448135ecbfcbedae4503be4ee0a4d98785c86ca5261aa03c82a2b19 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOUJBOjNBQzk1NjoyQzY1QTBCOjNCMzBBM0E6NkIwNkNBNjAiLCJ2aXNpdG9yX2lkIjoiNjA1NDgzNDQ5MzgzODUxMDY4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 76f879a788f63f0f4c9f299896e0fce18e8f3597c12f500a84d5f2918fcfff27 |
| hovercard-subject-tag | issue:3039202509 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/github-mcp-server/373/issue_layout |
| twitter:image | https://opengraph.githubassets.com/11d8cfbdf2ac1fa76ecd356412e0f91637eee61e2b4ff797cede5e6ac215a17b/github/github-mcp-server/issues/373 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/11d8cfbdf2ac1fa76ecd356412e0f91637eee61e2b4ff797cede5e6ac215a17b/github/github-mcp-server/issues/373 |
| og:image:alt | Describe the bug Say you are user "hacker" who is signed into VS Code with this GitHub account, and somehow you get the PAT (Personal Access Token) of a user "victim". You can use this PAT to do ac... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | justary27 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 48c0c26c41d13804b7e7b64ecbf80b4fd26c9800284c33d08e6f6b91b04942a7 |
| turbo-cache-control | no-preview |
| go-import | github.com/github/github-mcp-server git https://github.com/github/github-mcp-server.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 942771284 |
| octolytics-dimension-repository_nwo | github/github-mcp-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 942771284 |
| octolytics-dimension-repository_network_root_nwo | github/github-mcp-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | dfa05458654b5673dad37bef211b8605ec01b7e3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width