OSV 1.4.0 · github-reviewed · 修改于 2026-06-27 06:31
发布时间
2026-06-27 06:31
GitHub 审查时间
2026-06-27 06:31
NVD 发布时间
—
源文件
advisories/github-reviewed/2026/06/GHSA-wcr3-9x4c-f5gj/GHSA-wcr3-9x4c-f5gj.json
Blnk API key endpoints had an authorization issue that allowed non-master API keys to perform key-management actions outside their intended authorization boundary.
In affected versions, API key operations trusted caller-controlled request values for owner and scope decisions. As a result, a non-master API key could potentially manage keys for another owner by supplying a different owner value, or create a more privileged API key by requesting broader scopes than it already had.
This has been fixed by deriving the effective owner from the authenticated API key and enforcing scope coverage checks when creating new keys.
The API key authorization flow previously trusted request data supplied by the caller when deciding which owner a key-management operation applied to and which scopes could be granted.
This meant a non-master API key could potentially:
The patched version changes this behavior for non-master API keys:
403 ForbiddenA non-master API key with access to API key management endpoints could potentially perform unauthorized key-management operations across owners or escalate its permissions by creating a new API key with broader scopes.
Deployments using API keys for programmatic key creation, listing, or revocation should upgrade.
Versions up to and including v0.14.2 are affected.
This issue is fixed in v0.14.3.
Users should upgrade to v0.14.3 or later.
If developers cannot upgrade their applications immediately, restrict access to API key management endpoints to trusted master keys only.
Where possible, disable or block non-master API key access to key creation, listing, and revocation endpoints until the patched version is deployed.
Blank thanks @Shivam8584 for identifying and fixing this issue.