Refine your search

3 vulnerabilities found for by octo-sts

CVE-2026-105770 (GCVE-0-2026-105770)
Vulnerability from cvelistv5
Published
2026-11-03 00:41
Modified
2026-11-06 17:51
CWE
  • CWE-209 - Generation of Error Message Containing Sensitive Information
Summary
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.
Impacted products
Vendor Product Version
octo-sts app Version: 0   ≤
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-105770",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-06T17:51:00.586603Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-11-06T17:51:14.466Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "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 (\u003ccode\u003egithub.com/octo-sts/app\u003c/code\u003e) before 0.11.2 returns trust policy configuration to callers whose OIDC token does not satisfy that policy. \u003ccode\u003eTrustPolicy.CheckToken\u003c/code\u003e included the policy\u0027s \u003ccode\u003eissuer\u003c/code\u003e, \u003ccode\u003esubject\u003c/code\u003e and \u003ccode\u003eaudience\u003c/code\u003e values or patterns and \u003ccode\u003eclaim_pattern\u003c/code\u003e names and regular expressions in its \u003ccode\u003ePermissionDenied\u003c/code\u003e errors, which \u003ccode\u003eExchange\u003c/code\u003e returned verbatim. \u003ccode\u003eExchange\u003c/code\u003e also selected the GitHub App installation before checking the token, so errors from resolving the policy\u0027s \u003ccode\u003eapp\u003c/code\u003e or \u003ccode\u003eapp_pattern\u003c/code\u003e 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 \u003ccode\u003eowner/repo\u003c/code\u003e and identity name can read that policy\u0027s 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\u0027s 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\u0027s 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\u0027s 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": "\u003cp\u003eUpgrade 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 \u0026quot;PermissionDenied: token does not match trust policy\u0026quot;. 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.\u003c/p\u003e"
            }
          ],
          "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": "\u003cp\u003eNone for self-hosted deployments other than upgrading.\u003c/p\u003e"
            }
          ],
          "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-06T17:51:14.466Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2025-52477 (GCVE-0-2025-52477)
Vulnerability from cvelistv5
Published
2025-06-26 16:46
Modified
2025-06-27 13:16
CWE
  • CWE-918 - Server-Side Request Forgery (SSRF)
Summary
Octo-STS is a GitHub App that acts like a Security Token Service (STS) for the GitHub API. Octo-STS versions before v0.5.3 are vulnerable to unauthenticated SSRF by abusing fields in OpenID Connect tokens. Malicious tokens were shown to trigger internal network requests which could reflect error logs with sensitive information. Upgrade to v0.5.3 to resolve this issue. This version includes patch sets to sanitize input and redact logging.
Impacted products
Vendor Product Version
octo-sts app Version: < 0.5.3
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2025-52477",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-06-27T13:16:36.251923Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-06-27T13:16:43.418Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "app",
          "vendor": "octo-sts",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 0.5.3"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Octo-STS is a GitHub App that acts like a Security Token Service (STS) for the GitHub API. Octo-STS versions before v0.5.3 are vulnerable to unauthenticated SSRF by abusing fields in OpenID Connect tokens. Malicious tokens were shown to trigger internal network requests which could reflect error logs with sensitive information. Upgrade to v0.5.3 to resolve this issue. This version includes patch sets to sanitize input and redact logging."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 8.6,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "CHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-918",
              "description": "CWE-918: Server-Side Request Forgery (SSRF)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-06-26T16:46:09.380Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/octo-sts/app/security/advisories/GHSA-h3qp-hwvr-9xcq",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/octo-sts/app/security/advisories/GHSA-h3qp-hwvr-9xcq"
        },
        {
          "name": "https://github.com/octo-sts/app/security/advisories/GHSA-h3qp-hwvr-9xcq",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/octo-sts/app/security/advisories/GHSA-h3qp-hwvr-9xcq"
        },
        {
          "name": "https://github.com/octo-sts/app/commit/0f177fde54f9318e33f0bba6abaea9463a7c3afd",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/octo-sts/app/commit/0f177fde54f9318e33f0bba6abaea9463a7c3afd"
        },
        {
          "name": "https://github.com/octo-sts/app/commit/b3976e39bd8c8c217c0670747d34a4499043da92",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/octo-sts/app/commit/b3976e39bd8c8c217c0670747d34a4499043da92"
        }
      ],
      "source": {
        "advisory": "GHSA-h3qp-hwvr-9xcq",
        "discovery": "UNKNOWN"
      },
      "title": "Octo-STS Vulnerable to Unauthenticated SSRF with HTTP Response Reflection in OIDC Flow"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2025-52477",
    "datePublished": "2025-06-26T16:46:09.380Z",
    "dateReserved": "2025-06-17T02:28:39.717Z",
    "dateUpdated": "2025-06-27T13:16:43.418Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}

CVE-2024-34079 (GCVE-0-2024-34079)
Vulnerability from cvelistv5
Published
2024-05-10 19:05
Modified
2024-08-02 02:42
CWE
  • CWE-400 - Uncontrolled Resource Consumption
Summary
octo-sts is a GitHub App that acts like a Security Token Service (STS) for the Github API. This vulnerability can spike the resource utilization of the STS service, and combined with a significant traffic volume could potentially lead to a denial of service. This vulnerability is fixed in 0.1.0
Impacted products
Vendor Product Version
octo-sts app Version: < 0.1.0
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-34079",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-05-28T20:16:39.513748Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-04T17:41:26.463Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T02:42:59.947Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "name": "https://github.com/octo-sts/app/security/advisories/GHSA-75r6-6jg8-pfcq",
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://github.com/octo-sts/app/security/advisories/GHSA-75r6-6jg8-pfcq"
          },
          {
            "name": "https://github.com/octo-sts/app/commit/74ba874c017cf973edd6711144cf4399a9fcff57",
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/octo-sts/app/commit/74ba874c017cf973edd6711144cf4399a9fcff57"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "app",
          "vendor": "octo-sts",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 0.1.0"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "octo-sts is a GitHub App that acts like a Security Token Service (STS) for the Github API. This vulnerability can spike the resource utilization of the STS service, and combined with a significant traffic volume could potentially lead to a denial of service. This vulnerability is fixed in 0.1.0"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "LOW",
            "baseScore": 3.7,
            "baseSeverity": "LOW",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-400",
              "description": "CWE-400: Uncontrolled Resource Consumption",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-05-10T19:05:49.063Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/octo-sts/app/security/advisories/GHSA-75r6-6jg8-pfcq",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/octo-sts/app/security/advisories/GHSA-75r6-6jg8-pfcq"
        },
        {
          "name": "https://github.com/octo-sts/app/commit/74ba874c017cf973edd6711144cf4399a9fcff57",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/octo-sts/app/commit/74ba874c017cf973edd6711144cf4399a9fcff57"
        }
      ],
      "source": {
        "advisory": "GHSA-75r6-6jg8-pfcq",
        "discovery": "UNKNOWN"
      },
      "title": "octo-sts allows unauthenticated attackers to cause unbounded CPU and memory usage"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2024-34079",
    "datePublished": "2024-05-10T19:05:49.063Z",
    "dateReserved": "2024-04-30T06:56:33.383Z",
    "dateUpdated": "2024-08-02T02:42:59.947Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}