{"schemaVersion":4,"id":"CVE-2026-59185","aliases":["GHSA-cp3j-m783-3ph5","GO-2026-6448"],"status":"published","duplicateOf":null,"title":"identrail: Cross-tenant GitHub installation binding without ownership verification","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.","dates":{"published":"2026-10-28T13:15:53.456Z","modified":"2026-10-28T16:07:10.634Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":8.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","exploitability":7.9,"impact":7.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0032,"percentile":0.2688,"severity":"low","asOf":"2026-12-05T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-05T00:00:00.000Z","baselineScore":0.0032},"history":[{"date":"2026-10-29T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-12-05T00:00:00.000Z","score":0.0032,"percentile":0.2688}],"last30":[{"date":"2026-11-05T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0032,"percentile":null},{"date":"2026-12-05T00:00:00.000Z","score":0.0032,"percentile":0.2688}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key","description":"The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/639.html"},{"id":"CWE-862","name":"Missing Authorization","description":"The product does not perform an authorization check when an actor attempts to access a resource or perform an action.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/862.html"}],"affected":[{"vendor":"github.com/identrail","product":"identrail","name":"github.com/identrail/identrail","label":"identrail","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/identrail/identrail","purlType":"golang","versions":[{"text":"< 1.0.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.0.2","endInclusive":false}}],"versionsText":"< 1.0.2","eol":null,"hubHref":null},{"vendor":"identrail","product":"identrail","name":"identrail","label":"identrail","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.0.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.0.2","endInclusive":false}}],"versionsText":"< 1.0.2","eol":null,"hubHref":"/vendor/identrail/identrail"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/identrail/identrail/security/advisories/GHSA-cp3j-m783-3ph5","label":"github.com/identrail/identrail/security/advisories/GHSA-cp3j-m783-3ph5","hostname":"github.com","tags":["WEB","Advisory","X Refsource CONFIRM"]},{"url":"https://github.com/identrail/identrail/commit/835e40517509d6ef5405c27fbf14f579bedff0e7","label":"github.com/identrail/identrail/commit/835e40517509d6ef5405c27fbf14f579bedff0e7","hostname":"github.com","tags":["WEB","FIX","X Refsource MISC"]},{"url":"https://github.com/identrail/identrail","label":"github.com/identrail/identrail","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/identrail/identrail/releases/tag/v1.0.2","label":"github.com/identrail/identrail/releases/tag/v1.0.2","hostname":"github.com","tags":["WEB","X Refsource MISC"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:21897-1","SUSE-SU-2026:23855-1","SUSE-SU-2026:23863-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:21897-1","SUSE-SU-2026:23855-1","SUSE-SU-2026:23863-1"]},"timeline":[{"kind":"published","date":"2026-10-28T13:15:53.456Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-28T16:07:10.634Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 8.5, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,85],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-05T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.0032,"stale":false,"promoted":null},{"type":"cvss","source":"osv_go","date":"2026-10-28T16:07:10.634Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","version":"3.1"},{"type":"cvss","source":"cve.org","date":"2026-10-28T16:07:10.634Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-10-28T16:07:10.634Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-10-28T14:37:16.463Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.0032,"date":"2026-12-05T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T13:01:25.582Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T13:01:26.078Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T12:01:28.919Z","state":"stale"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T13:01:07.092Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T13:01:23.911Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T13:01:22.884Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T14:07:08.598Z","stale":false,"partial":false}}