GitHub plugin connector shows unrelated installed accounts and a private repo after reinstall

Open 💬 1 comment Opened May 26, 2026 by fragpit

What version of the Codex App are you using (From “About Codex” dialog)?

Version 26.519.41501 (3044)

What subscription do you have?

chatgpt plus

What platform is your computer?

Darwin 25.5.0 arm64 arm

What issue are you seeing?

The official OpenAI GitHub plugin shows GitHub App installations for unrelated accounts after I removed my old manually configured GitHub MCP server and reinstalled the official GitHub plugin in Codex.

The connector reports two GitHub accounts that are not mine. It also returns repositories from those accounts, including a private repository with push=true.

This looks like a possible cross-account authorization or data isolation issue.

Environment:

  • Product: Codex Desktop / Codex app
  • Platform: macOS
  • Codex runtime: 0.133.0-alpha.1
  • Auth mode: ChatGPT auth
  • Plugin: github@openai-curated
  • GitHub plugin version: 0.1.0
  • Plugin repository from manifest: https://github.com/openai/plugins

What steps can reproduce the bug?

  1. Remove the old manually configured GitHub MCP servers from config.toml.
  2. Reinstall or enable the official OpenAI GitHub plugin, github@openai-curated.
  3. Restart Codex.
  4. Run codex doctor --json.
  5. Confirm that the old GitHub MCP server is gone. In my case, codex doctor shows one configured MCP server and mcp.config = ok.
  6. Call the official GitHub connector tool _list_installed_accounts.
  7. Actual result: it returns unrelated GitHub accounts.
  8. Call _list_installations.
  9. Actual result: it returns GitHub App installations for those unrelated accounts.
  10. Call _search_installed_repositories_v2("my-github-username").
  11. Actual result: it returns an empty list.
  12. Call _search_installed_repositories_v2("a").
  13. Actual result: it returns repositories from an unrelated account, including a private repository with push=true.

Additional observation:

Direct lookup for my public repositories can return metadata and permissions, but installed-account search still shows unrelated accounts. This suggests that different connector methods may be using inconsistent auth or installation state.

What is the expected behavior?

The GitHub connector should only show GitHub App installations and repositories for the GitHub account connected to my Codex account.

It should not show unrelated user accounts, unrelated GitHub App installations, or private repositories belonging to other users.

If the connector is not connected to my intended GitHub account, it should show a clear disconnected or re-authentication-required state, not another user's installations.

Because the connector returned an unrelated private repository with write permissions, please advise whether this should be handled as a private security report and what diagnostic bundle is safe to provide.

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗