← Back to CVE Explorer

CVE-2026-105770

Full vulnerability record from the local CVENow database.

Description

Octo STS (github.com/octo-sts/app) before 0.11.2 returns trust policy configuration to callers whose OIDC token does not satisfy that policy. TrustPolicy.CheckToken included the policy's issuer, subject and audience values or patterns and claim_pattern names and regular expressions in its PermissionDenied errors, which Exchange returned verbatim. Exchange also selected the GitHub App installation before checking the token, so errors from resolving the policy's app or app_pattern pin were returned to callers the policy does not trust. An attacker who holds any validly signed OIDC token, such as a GitHub Actions token from a repository they own, and who knows or guesses a target owner/repo and identity name can read that policy's matching rules, even when the policy is stored in a private repository. These rules often name internal repositories, branches, environments or cloud account identifiers. The issue does not allow minting tokens or bypassing a trust policy. This issue is fixed in 0.11.2.

Severity
MEDIUM
CVSS score
5.3 (v3.1)
Vulnerability status
Received
Source identifier
82cea9a6-e9e3-46fe-bdb0-3673de380178
Published
2026-11-03 01:16:44.147000
Last modified
2026-11-03 01:16:44.147000
View original CVE JSON
{
  "id": "CVE-2026-105770",
  "sourceIdentifier": "82cea9a6-e9e3-46fe-bdb0-3673de380178",
  "published": "2026-11-03T01:16:44.147",
  "lastModified": "2026-11-03T01:16:44.147",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Octo STS (github.com/octo-sts/app) before 0.11.2 returns trust policy configuration to callers whose OIDC token does not satisfy that policy. TrustPolicy.CheckToken included the policy's issuer, subject and audience values or patterns and claim_pattern names and regular expressions in its PermissionDenied errors, which Exchange returned verbatim. Exchange also selected the GitHub App installation before checking the token, so errors from resolving the policy's app or app_pattern pin were returned to callers the policy does not trust. An attacker who holds any validly signed OIDC token, such as a GitHub Actions token from a repository they own, and who knows or guesses a target owner/repo and identity name can read that policy's matching rules, even when the policy is stored in a private repository. These rules often name internal repositories, branches, environments or cloud account identifiers. The issue does not allow minting tokens or bypassing a trust policy. This issue is fixed in 0.11.2."
    }
  ],
  "affected": [
    {
      "source": "82cea9a6-e9e3-46fe-bdb0-3673de380178",
      "affectedData": [
        {
          "vendor": "octo-sts",
          "product": "app",
          "defaultStatus": "unaffected",
          "collectionURL": "https://pkg.go.dev",
          "packageName": "github.com/octo-sts/app",
          "programFiles": [
            "pkg/octosts/octosts.go",
            "pkg/octosts/trust_policy.go"
          ],
          "programRoutines": [
            {
              "name": "TrustPolicy.CheckToken"
            },
            {
              "name": "Exchange"
            }
          ],
          "repo": "https://github.com/octo-sts/app",
          "versions": [
            {
              "version": "0",
              "lessThan": "0.11.2",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "82cea9a6-e9e3-46fe-bdb0-3673de380178",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
          "baseScore": 5.3,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "LOW",
          "integrityImpact": "NONE",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 3.9,
        "impactScore": 1.4
      }
    ]
  },
  "weaknesses": [
    {
      "source": "82cea9a6-e9e3-46fe-bdb0-3673de380178",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-209"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/octo-sts/app/commit/88c6432adc4f497ec69b574e1ce162a564a9e71a",
      "source": "82cea9a6-e9e3-46fe-bdb0-3673de380178"
    },
    {
      "url": "https://github.com/octo-sts/app/releases/tag/v0.11.2",
      "source": "82cea9a6-e9e3-46fe-bdb0-3673de380178"
    },
    {
      "url": "https://github.com/octo-sts/app/security/advisories/GHSA-h5p6-j8m9-xx4p",
      "source": "82cea9a6-e9e3-46fe-bdb0-3673de380178"
    }
  ]
}