Bytebase 0.12.0 before 1.0.1 Authentication Bypass via GitLab Self-Hosted Login
Impact
Bytebase versions 0.12.0 before 1.0.1 have an authentication bypass vulnerability via GitLab self-hosted login, allowing unauthenticated attackers to log in as any user. The flaw stems from trusting client-supplied GitLab provider configuration. Attackers can impersonate existing users, including the Owner, or create new members.
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.Affected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
bytebase · VulnCheck
bytebase
2 ranges
bytebase · VulnCheck
bytebase
Package identity
pkg:golang/github.com/bytebase/bytebaseExplore github.com/bytebase/bytebase →Identity supplied by VulnCheck. Version matching requires compatible range evidence.
Compare with this publisher’s ranges. This does not inspect your installation.
affected
0.12.0 → before 1.0.1
semver versions
unaffected
1.0.1
semver versions
Other versions: unaffected
Original source description
Bytebase 0.12.0 before 1.0.1 contains an authentication bypass vulnerability that allows unauthenticated attackers to log in as any user. The flaw stems from trusting client-supplied GitLab provider configuration in the POST /api/auth/login/GITLAB_SELF_HOST endpoint. Attackers can set instanceUrl to a server they control that returns an active user with a chosen email. Bytebase then issues session tokens for that principal, letting attackers impersonate existing users including the Owner or create new members.
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2022-51026View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Environment requirements
These conditions apply together as specified by the publisher. A matching product name alone does not establish exposure.
VulnCheck · platform conditions
Any condition may hold
Vulnerable product
cpe:2.3:a:bytebase:bytebase:*:*:*:*:*:*:*:*From (inclusive): 0.12.0
Before: 1.0.1
Original applicability statements
[
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:bytebase:bytebase:*:*:*:*:*:*:*:*",
"versionStartIncluding": "0.12.0",
"versionEndExcluding": "1.0.1"
}
]
}
]
}
]Contributing organizations · 2
Assigning organization
Additional data publisher
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.