← Back to search

CVE-2026-59185

8.5 HIGHpublic exploit available

Published 2026-10-28 · Updated 2026-10-28

AI risk analysis

Summary
The endpoint accepts a GitHub installation ID from untrusted input without verifying ownership, allowing an authenticated attacker to associate their workspace with another customer's GitHub installation and access its repositories and metadata.
Exploitability
Requires valid authentication and knowledge of a non-secret GitHub installation ID belonging to another tenant; the attacker must have initiated a legitimate connection flow first.
Blast radius
An attacker could enumerate and read private repositories, content, and metadata from any organization where identrail's GitHub App is installed, potentially exposing sensitive source code and infrastructure data.
Detection
Look for anomalous GitHub API calls from identrail to `POST /app/installations/{installationId}/access_tokens` where the installation ID does not match the expected tenant-scoped association; also monitor for multiple distinct repository inventories being fetched under a single workspace connection.
Prioritized remediation
Upgrade to identrail version 1.0.2 or later, which enforces installation ownership verification against the caller's workspace.
auth-bypassidorgithubmulti-tenantsensitive-data-exposure

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

identrail is a machine identity security platform for AWS, GitHub/OIDC, and Kubernetes. Prior to 1.0.2, the default-on `POST /v1/workspaces/:workspace_id/projects/:project_id/github/connect/complete` endpoint in `internal/api/router.go` accepts `installation_id` from the request body or `X-GitHub-Installation-ID` header without verifying the installation belongs to the caller's workspace. `CompleteGitHubConnection` in `internal/api/github_connect.go` rigorously binds `state` to the caller's tenant, workspace, and project, but checks only that the installation ID is positive before persisting it as the caller's connection. `ListInstallationRepositories` in `internal/connectors/github/repositories.go` invokes token creation through `internal/connectors/github/app.go` and `POST /app/installations/{installationId}/access_tokens`, using the application's JWT. An authenticated tenant who starts a legitimate connection can supply another customer's non-secret installation ID to read the victim organization's private repository inventory, content, and metadata or drive posture scans, provided identrail's GitHub App is installed there. The default-off V2 `CompleteGitHubConnector` path shares the installation-ownership gap and additionally matches pending `state` without rechecking caller scope. This issue is fixed in version 1.0.2.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N

Weaknesses

CWE-639, CWE-862

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.