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.
Published: 2026-11-03
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Information Disclosure via Trust Policy Exposure
Action: Immediate Patch
AI Analysis

Impact

Octo STS prior to 0.11.2 exposes the internal configuration of trust policies to callers whose OIDC token fails the policy check. The error messages include issuer, subject, audience values, claim_pattern names, regular expressions, and policy app or pin selection results, revealing details such as repository names, branches, environments, or cloud account identifiers even when the policy resides in a private repository. This vulnerability does not allow token minting or bypassing a trust policy; it only leaks configuration information.

Affected Systems

The affected product is Octo STS for self‑hosted deployments; all versions earlier than 0.11.2 are susceptible. The CNA identifies the vendor/product as octo‑sts:app. No downstream applications are directly impacted beyond any services communicating with the Octo STS Exchange endpoint.

Risk and Exploitability

The CVSS score of 5.3 reflects a moderate severity issue. EPSS data is not available, so the likelihood of exploitation is uncertain, and the vulnerability is not listed in CISA’s KEV catalog. An attacker can exploit the issue by presenting a valid OIDC token that does not meet the trust policy; Exchange then returns verbose PermissionDenied errors that disclose the policy. Once the product is upgraded to version 0.11.2, the error message is sanitized to a generic PermissionDenied response, eliminating the information leakage.

Generated by OpenCVE AI on November 3, 2026 at 02:20 UTC.

Remediation

Vendor Solution

Upgrade to Octo STS 0.11.2 or later. The token is now checked against the trust policy immediately after the policy is loaded and before installation selection or app pin resolution. On a mismatch the detailed reason is logged and recorded on the operator audit event, and the caller receives only a generic "PermissionDenied: token does not match trust policy". Policies that exist but cannot be read, parsed or compiled now return the same NotFound response as a missing policy. Users of the hosted service are protected once the fix is deployed.


Vendor Workaround

None for self-hosted deployments other than upgrading.


OpenCVE Recommended Actions

  • Upgrade all self‑hosted Octo STS installations to version 0.11.2 or later.
  • Audit existing trust policies to remove or obfuscate references to internal repositories, branches, or cloud identifiers that could be exposed.
  • Configure Exchange logs to capture PermissionDenied events and verify that the new generic error message is returned, confirming that policy details are no longer disclosed.

Generated by OpenCVE AI on November 3, 2026 at 02:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 03 Nov 2026 01:00:00 +0000

Type Values Removed Values Added
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.
Title Octo STS discloses trust policy contents to unauthorized callers via Exchange error messages
Weaknesses CWE-209
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: chainguard

Published:

Updated: 2026-11-03T00:41:24.502Z

Reserved: 2026-10-05T19:21:04.930Z

Link: CVE-2026-105770

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-03T01:16:44.147

Modified: 2026-11-03T01:16:44.147

Link: CVE-2026-105770

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-03T02:30:07Z

Weaknesses
  • CWE-209

    Generation of Error Message Containing Sensitive Information