SCA: security update for github.com/identrail/identrail (GHSA-cp3j-m783-3ph5)

high Tenable Self-Hosted Container Security Plugin ID 447867

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2026-59185)

Solution

Update the github.com/identrail/identrail library and its related packages to version 1.0.2 or later.

See Also

https://github.com/advisories/GHSA-cp3j-m783-3ph5

Plugin Details

Severity: High

ID: 447867

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 9/10/2026

Updated: 10/29/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3.9

Percentile: 52.47

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:P/A:N

CVSS Score Source: CVE-2026-59185

CVSS v3

Risk Factor: High

Base Score: 8.5

Temporal Score: 7.4

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/9/2026

Vulnerability Publication Date: 9/9/2026

Reference Information

CVE: CVE-2026-59185