# CVE-2026-59185: identrail: Cross-tenant GitHub installation binding without ownership verification

- Severity: High 8.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-09-09T23:52:14.000Z
- Modified: 2026-10-28T16:17:08.510Z
- Also known as: GHSA-cp3j-m783-3ph5, GO-2026-6448
- Weaknesses: CWE-639, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- identrail identrail: < 1.0.2
- github.com/identrail/identrail (Go): before 1.0.2

## Every score

- GitHub_M: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N`
- GitHub: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N`

## References

- <https://github.com/identrail/identrail/security/advisories/GHSA-cp3j-m783-3ph5> (advisory, web)
- <https://github.com/identrail/identrail/commit/835e40517509d6ef5405c27fbf14f579bedff0e7> (fix, web)
- <https://github.com/identrail/identrail/releases/tag/v1.0.2> (web)
- <https://github.com/identrail/identrail> (package)

## Sources

- CVE List: [CVE-2026-59185](https://www.cve.org/CVERecord?id=CVE-2026-59185), CVE Terms of Use, modified 2026-10-28
- GitHub Advisory Database: [GHSA-cp3j-m783-3ph5](https://github.com/advisories/GHSA-cp3j-m783-3ph5), CC-BY-4.0, modified 2026-09-17
- Go Vulnerability Database: [GO-2026-6448](https://pkg.go.dev/vuln/GO-2026-6448), CC-BY-4.0, modified 2026-09-17
- NVD: [CVE-2026-59185](https://nvd.nist.gov/vuln/detail/CVE-2026-59185), Public domain, modified 2026-10-28

---

Page: https://cve.day/CVE-2026-59185 · Whole record: https://cve.day/CVE-2026-59185.json · Rebuilt by cve.day 2026-11-25T22:59:47.619Z
