{"api_version":"1","generated_at":"2026-11-03T18:06:32+00:00","cve":"CVE-2026-105770","urls":{"html":"https://cve.report/CVE-2026-105770","api":"https://cve.report/api/cve/CVE-2026-105770.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-105770","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-105770"},"summary":{"title":"Octo STS discloses trust policy contents to unauthorized callers via Exchange error messages","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.","state":"PUBLISHED","assigner":"chainguard","published_at":"2026-11-03 01:16:44","updated_at":"2026-11-03 16:30:49"},"problem_types":["CWE-209","CWE-209 CWE-209: Generation of Error Message Containing Sensitive Information"],"metrics":[{"version":"3.1","source":"82cea9a6-e9e3-46fe-bdb0-3673de380178","type":"Secondary","score":"5.3","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","data":{"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"}},{"version":"3.1","source":"CNA","type":"CVSS","score":"5.3","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}}],"references":[{"url":"https://github.com/octo-sts/app/commit/88c6432adc4f497ec69b574e1ce162a564a9e71a","name":"https://github.com/octo-sts/app/commit/88c6432adc4f497ec69b574e1ce162a564a9e71a","refsource":"82cea9a6-e9e3-46fe-bdb0-3673de380178","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/octo-sts/app/releases/tag/v0.11.2","name":"https://github.com/octo-sts/app/releases/tag/v0.11.2","refsource":"82cea9a6-e9e3-46fe-bdb0-3673de380178","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/octo-sts/app/security/advisories/GHSA-h5p6-j8m9-xx4p","name":"https://github.com/octo-sts/app/security/advisories/GHSA-h5p6-j8m9-xx4p","refsource":"82cea9a6-e9e3-46fe-bdb0-3673de380178","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-105770","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105770","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"octo-sts","product":"app","version":"affected 0.11.2 semver","platforms":[]}],"timeline":[],"solutions":[{"source":"CNA","title":"","value":"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.","time":"","lang":"en"}],"workarounds":[{"source":"CNA","title":"","value":"None for self-hosted deployments other than upgrading.","time":"","lang":"en"}],"exploits":[],"credits":[{"source":"CNA","value":"Utkarsh Baghel (hackerrexx)","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"collectionURL":"https://pkg.go.dev","defaultStatus":"unaffected","packageName":"github.com/octo-sts/app","product":"app","programFiles":["pkg/octosts/octosts.go","pkg/octosts/trust_policy.go"],"programRoutines":[{"name":"TrustPolicy.CheckToken"},{"name":"Exchange"}],"repo":"https://github.com/octo-sts/app","vendor":"octo-sts","versions":[{"lessThan":"0.11.2","status":"affected","version":"0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"finder","value":"Utkarsh Baghel (hackerrexx)"}],"datePublic":"2026-10-06T19:34:00.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Octo STS (<code>github.com/octo-sts/app</code>) before 0.11.2 returns trust policy configuration to callers whose OIDC token does not satisfy that policy. <code>TrustPolicy.CheckToken</code> included the policy's <code>issuer</code>, <code>subject</code> and <code>audience</code> values or patterns and <code>claim_pattern</code> names and regular expressions in its <code>PermissionDenied</code> errors, which <code>Exchange</code> returned verbatim. <code>Exchange</code> also selected the GitHub App installation before checking the token, so errors from resolving the policy's <code>app</code> or <code>app_pattern</code> 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 <code>owner/repo</code> 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."}],"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-209","description":"CWE-209: Generation of Error Message Containing Sensitive Information","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-03T00:41:24.502Z","orgId":"82cea9a6-e9e3-46fe-bdb0-3673de380178","shortName":"chainguard"},"references":[{"name":"GHSA-h5p6-j8m9-xx4p","tags":["vendor-advisory"],"url":"https://github.com/octo-sts/app/security/advisories/GHSA-h5p6-j8m9-xx4p"},{"tags":["patch"],"url":"https://github.com/octo-sts/app/commit/88c6432adc4f497ec69b574e1ce162a564a9e71a"},{"tags":["release-notes"],"url":"https://github.com/octo-sts/app/releases/tag/v0.11.2"}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>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 &quot;PermissionDenied: token does not match trust policy&quot;. 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.</p>"}],"value":"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."}],"source":{"advisory":"GHSA-h5p6-j8m9-xx4p","discovery":"EXTERNAL"},"title":"Octo STS discloses trust policy contents to unauthorized callers via Exchange error messages","workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>None for self-hosted deployments other than upgrading.</p>"}],"value":"None for self-hosted deployments other than upgrading."}]}},"cveMetadata":{"assignerOrgId":"82cea9a6-e9e3-46fe-bdb0-3673de380178","assignerShortName":"chainguard","cveId":"CVE-2026-105770","datePublished":"2026-11-03T00:41:24.502Z","dateReserved":"2026-10-05T19:21:04.930Z","dateUpdated":"2026-11-03T00:41:24.502Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-03 01:16:44","lastModifiedDate":"2026-11-03 16:30:49","problem_types":["CWE-209","CWE-209 CWE-209: Generation of Error Message Containing Sensitive Information"],"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}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"105770","Ordinal":"1","Title":"Octo STS discloses trust policy contents to unauthorized callers","CVE":"CVE-2026-105770","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"105770","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Octo STS discloses trust policy contents to unauthorized callers"}]}}}