GHSA-5r3p-6rj5-7937: Github.com/bytebase/bytebase Bytebase Vulnerable To Improper Authentication Vulnerability

MODERATE
CWE-287
Published
Advisory Summary

GHSA-5r3p-6rj5-7937 is a MODERATE bytebase vulnerable to improper authentication vulnerability (CWE-287: Improper Authentication) affecting Github.com/bytebase/bytebase libraries in the Go ecosystem. The issue involves bytebase vulnerable to improper authentication. Remediation is available by upgrading affected packages to version 1.0.1.

GHSA-5r3p-6rj5-7937 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-5r3p-6rj5-7937
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-287: Improper Authentication
Affected Product Github.com/bytebase/bytebase
Package Ecosystem Go
Published Date
Last Updated

How to Fix GHSA-5r3p-6rj5-7937

To remediate this vulnerability, upgrade all affected Github.com/bytebase/bytebase 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/bytebase/bytebase fixed: 1.0.1
Upgrade github.com/bytebase/bytebase to 1.0.1
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/bytebase/bytebase

How to Check if You Are Affected

To determine whether your application is affected by GHSA-5r3p-6rj5-7937, inspect your project dependencies for Github.com/bytebase/bytebase:

inspect dependencies for github.com/bytebase/bytebase

Analyze the terminal output to locate any version of Github.com/bytebase/bytebase in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.1), 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-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Github.com/bytebase/bytebase, 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

### Impact - GitLab login allows login by any user. - JWT auth token can be derived as long as the server isn't rebooted. - Developers can assign issues to non-admin/DBA users.

GHSA-5r3p-6rj5-7937 Affected Github.com/bytebase/bytebase Versions

1 component(s)
Fixed Versions:
1.0.1
Product / Package Ecosystem Affected Versions Fixed Version
github.com/bytebase/bytebase
Go
< 1.0.1
1.0.1

References

Frequently Asked Questions

What is GHSA-5r3p-6rj5-7937?
GHSA-5r3p-6rj5-7937 is a security vulnerability in Github.com/bytebase/bytebase involving Bytebase vulnerable to Improper Authentication under CWE-287: Improper Authentication.
Which Github.com/bytebase/bytebase versions are affected?
Affected versions include releases prior to 1.0.1 across affected packages: github.com/bytebase/bytebase.
What version fixes GHSA-5r3p-6rj5-7937?
Upgrading to 1.0.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/bytebase/bytebase affected?
Yes, github.com/bytebase/bytebase is affected in releases prior to 1.0.1. Upgrade your dependency to 1.0.1 or later.
What CWE is associated with GHSA-5r3p-6rj5-7937?
GHSA-5r3p-6rj5-7937 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check Go dependencies for GHSA-5r3p-6rj5-7937?
Run the dependency tree command: 'inspect dependencies for github.com/bytebase/bytebase'. 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-5r3p-6rj5-7937",
  "modified" : "2026-03-02T17:32:24Z",
  "published" : "2026-03-02T17:32:24Z",
  "aliases" : [ ],
  "summary" : "Bytebase vulnerable to Improper Authentication",
  "details" : "### Impact\n- GitLab login allows login by any user.\n- JWT auth token can be derived as long as the server isn't rebooted.\n- Developers can assign issues to non-admin/DBA users.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/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/bytebase/bytebase"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.0.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.0.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/bytebase/bytebase/security/advisories/GHSA-5r3p-6rj5-7937"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/bytebase/bytebase/commit/a578ed58e478ba5c2dadf8d538ec5c3d39c28461"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/bytebase/bytebase"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-02T17:32:24Z",
    "nvd_published_at" : null
  }
}