Vulnerabilities in pkg:golang/github.com/ossf/allstar

PACKAGE
Advisory Identifier: GHSA-33f4-mjch-7fpr
Advisory Summary

CVE-2025-61926 is a MODERATE authentication bypass vulnerability (CWE-798: Use of Hard-coded Credentials) affecting Github.com/ossf/allstar libraries in the Go ecosystem. The issue involves allstar reviewbot has authentication bypass via hard-coded webhook secret. Remediation is available by upgrading affected packages to version 0.0.0-20250721181116-e004ecb540d6.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/ossf/allstar

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/ossf/allstar. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-33f4-mjch-7fpr CVE-2025-61926 MODERATE Allstar Reviewbot has Authentication Bypass via Hard-coded Webhook Secret

CVE-2025-61926 at a Glance

CVE Identifier CVE-2025-61926
GHSA Identifier GHSA-33f4-mjch-7fpr
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-798: Use of Hard-coded Credentials
Affected Product Github.com/ossf/allstar
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2025-61926

To remediate this vulnerability, upgrade all affected Github.com/ossf/allstar dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/ossf/allstar fixed: 0.0.0-20250721181116-e004ecb540d6
Upgrade github.com/ossf/allstar to 0.0.0-20250721181116-e004ecb540d6
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/ossf/allstar

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-61926, inspect your project dependencies for Github.com/ossf/allstar:

inspect dependencies for github.com/ossf/allstar

Analyze the terminal output to locate any version of Github.com/ossf/allstar in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20250721181116-e004ecb540d6), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-798: Use of Hard-coded Credentials, where the product contains hard-coded credentials, such as a password or cryptographic key. In Github.com/ossf/allstar, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A vulnerability in Allstar’s Reviewbot component caused inbound webhook requests to be validated against a hard-coded, shared secret: https://github.com/ossf/allstar/blob/294ae985cc2facd0918e8d820e4196021aa0b914/pkg/reviewbot/reviewbot.go#L59 The value used for the secret token was compiled into the Allstar binary and could not be configured at runtime. In practice, this meant that every deployment using Reviewbot would validate requests with the same secret unless the operator modified source code and rebuilt the component - an expectation that is not documented and is easy to miss. While Reviewbot is not commonly enabled in standard Allstar setups, we are issuing this advisory to reach any environments where it may have been deployed. ## Affected Versions All Allstar releases prior to v4.5 that include the Reviewbot code path are affected. Deployments on v4.5 and later are not affected. If you have not enabled or exposed the Reviewbot endpoint, this issue does not apply to your installation. ## Impact If the Reviewbot endpoint is deployed and reachable, an attacker can bypass authentication by crafting webhook requests that use the known, hard-coded secret. Because signature verification will succeed, Reviewbot would treat these requests as authentic when they should be rejected. Depending on the permissions and automations attached to your deployment, this could allow unauthorized triggering of review actions such as posting automated comments or reviews, influencing checks, or otherwise manipulating repository signals. The primary risk is to the integrity of repository workflows rather than confidentiality or availability, although secondary effects (e.g., noisy automation, misleading reviews, or workflow disruptions) are possible. ## Exploitability Exploiting this is straightforward and does not require an attacker to be authenticated. Anyone who can send requests to the Reviewbot webhook can reach the vulnerable code.

CVE-2025-61926 Affected Github.com/ossf/allstar Versions

1 component(s)
Fixed Versions:
0.0.0-20250721181116-e004ecb540d6
Product / Package Ecosystem Affected Versions Fixed Version
github.com/ossf/allstar
Go
< 0.0.0-20250721181116-e004ecb540d6
0.0.0-20250721181116-e004ecb540d6

References

Frequently Asked Questions

What is CVE-2025-61926?
CVE-2025-61926 is a security vulnerability in Github.com/ossf/allstar involving Allstar Reviewbot has Authentication Bypass via Hard-coded Webhook Secret under CWE-798: Use of Hard-coded Credentials.
Which Github.com/ossf/allstar versions are affected?
Affected versions include releases prior to 0.0.0-20250721181116-e004ecb540d6 across affected packages: github.com/ossf/allstar.
What version fixes CVE-2025-61926?
Upgrading to 0.0.0-20250721181116-e004ecb540d6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/ossf/allstar affected?
Yes, github.com/ossf/allstar is affected in releases prior to 0.0.0-20250721181116-e004ecb540d6. Upgrade your dependency to 0.0.0-20250721181116-e004ecb540d6 or later.
What CWE is associated with CVE-2025-61926?
CVE-2025-61926 is classified under CWE-798: Use of Hard-coded Credentials (The product contains hard-coded credentials, such as a password or cryptographic key.).
How can I check Go dependencies for CVE-2025-61926?
Run the dependency tree command: 'inspect dependencies for github.com/ossf/allstar'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-33f4-mjch-7fpr",
  "modified" : "2025-10-23T20:35:27Z",
  "published" : "2025-10-10T22:53:42Z",
  "aliases" : [ "CVE-2025-61926" ],
  "summary" : "Allstar Reviewbot has Authentication Bypass via Hard-coded Webhook Secret",
  "details" : "A vulnerability in Allstar’s Reviewbot component caused inbound webhook requests to be validated against a hard-coded, shared secret:\n\nhttps://github.com/ossf/allstar/blob/294ae985cc2facd0918e8d820e4196021aa0b914/pkg/reviewbot/reviewbot.go#L59\n\nThe value used for the secret token was compiled into the Allstar binary and could not be configured at runtime. In practice, this meant that every deployment using Reviewbot would validate requests with the same secret unless the operator modified source code and rebuilt the component - an expectation that is not documented and is easy to miss. While Reviewbot is not commonly enabled in standard Allstar setups, we are issuing this advisory to reach any environments where it may have been deployed.\n\n## Affected Versions\n\nAll Allstar releases prior to v4.5 that include the Reviewbot code path are affected. Deployments on v4.5 and later are not affected. If you have not enabled or exposed the Reviewbot endpoint, this issue does not apply to your installation.\n\n## Impact\n\nIf the Reviewbot endpoint is deployed and reachable, an attacker can bypass authentication by crafting webhook requests that use the known, hard-coded secret. Because signature verification will succeed, Reviewbot would treat these requests as authentic when they should be rejected. Depending on the permissions and automations attached to your deployment, this could allow unauthorized triggering of review actions such as posting automated comments or reviews, influencing checks, or otherwise manipulating repository signals. The primary risk is to the integrity of repository workflows rather than confidentiality or availability, although secondary effects (e.g., noisy automation, misleading reviews, or workflow disruptions) are possible.\n\n## Exploitability\n\nExploiting this is straightforward and does not require an attacker to be authenticated. Anyone who can send requests to the Reviewbot webhook can reach the vulnerable code.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/ossf/allstar"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.0-20250721181116-e004ecb540d6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ossf/allstar/security/advisories/GHSA-33f4-mjch-7fpr"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-61926"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ossf/allstar/pull/713"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ossf/allstar/commit/e004ecb540d63ca6f5b1689b41af6c0040a82c73"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ossf/allstar"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ossf/allstar/blob/294ae985cc2facd0918e8d820e4196021aa0b914/pkg/reviewbot/reviewbot.go#L59"
  }, {
    "type" : "WEB",
    "url" : "https://pkg.go.dev/vuln/GO-2025-4018"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-798" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-10-10T22:53:42Z",
    "nvd_published_at" : "2025-10-09T22:15:32Z"
  }
}