GHSA-wcr3-9x4c-f5gj: Github.com/blnkfinance/blnk Remote Code Execution Vulnerability
HIGHGHSA-wcr3-9x4c-f5gj is a HIGH remote code execution vulnerability (CWE-863: Incorrect Authorization) affecting Github.com/blnkfinance/blnk libraries in the Go ecosystem. The issue involves blnk has an api key authorization bypass in owner and scope enforcement. Remediation is available by upgrading affected packages to version 0.14.3.
GHSA-wcr3-9x4c-f5gj at a Glance
How to Fix GHSA-wcr3-9x4c-f5gj
To remediate this vulnerability, upgrade all affected Github.com/blnkfinance/blnk dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/blnkfinance/blnk to 0.14.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/blnkfinance/blnk
How to Check if You Are Affected
To determine whether your application is affected by GHSA-wcr3-9x4c-f5gj, inspect your project dependencies for Github.com/blnkfinance/blnk:
inspect dependencies for github.com/blnkfinance/blnk
Analyze the terminal output to locate any version of Github.com/blnkfinance/blnk in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.14.3), 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-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Github.com/blnkfinance/blnk, 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
GHSA-wcr3-9x4c-f5gj Affected Github.com/blnkfinance/blnk Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/blnkfinance/blnk
|
Go |
< 0.14.3
|
0.14.3
|
References
Frequently Asked Questions
What is GHSA-wcr3-9x4c-f5gj?
Which Github.com/blnkfinance/blnk versions are affected?
What version fixes GHSA-wcr3-9x4c-f5gj?
Is github.com/blnkfinance/blnk affected?
What CWE is associated with GHSA-wcr3-9x4c-f5gj?
How can I check Go dependencies for GHSA-wcr3-9x4c-f5gj?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wcr3-9x4c-f5gj",
"modified" : "2026-06-26T22:31:03Z",
"published" : "2026-06-26T22:31:03Z",
"aliases" : [ ],
"summary" : "Blnk has an API key authorization bypass in owner and scope enforcement",
"details" : "Blnk API key endpoints had an authorization issue that allowed non-master API keys to perform key-management actions outside their intended authorization boundary.\n\nIn 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.\n\nThis has been fixed by deriving the effective owner from the authenticated API key and enforcing scope coverage checks when creating new keys.\n\n## Details\n\nThe 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.\n\nThis meant a non-master API key could potentially:\n\n- create API keys for another owner\n- list API keys belonging to another owner\n- revoke API keys belonging to another owner\n- create a new API key with broader scopes than the caller’s own scopes\n\nThe patched version changes this behavior for non-master API keys:\n\n- the effective owner is derived from the authenticated API key\n- caller-supplied owner values are no longer trusted for authorization decisions\n- cross-owner key operations are rejected with `403 Forbidden`\n- requested scopes must be covered by the caller’s existing scopes\n- master-key behavior is unchanged\n\n## Impact\n\nA 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.\n\nDeployments using API keys for programmatic key creation, listing, or revocation should upgrade.\n\n## Affected versions\n\nVersions up to and including `v0.14.2` are affected.\n\n## Patched versions\n\nThis issue is fixed in `v0.14.3`.\n\nUsers should upgrade to `v0.14.3` or later.\n\n## Workarounds\n\nIf developers cannot upgrade their applications immediately, restrict access to API key management endpoints to trusted master keys only.\n\nWhere possible, disable or block non-master API key access to key creation, listing, and revocation endpoints until the patched version is deployed.\n\n## Credits\n\nBlank thanks @Shivam8584 for identifying and fixing this issue.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/blnkfinance/blnk"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.14.3"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.14.2"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/blnkfinance/blnk/security/advisories/GHSA-wcr3-9x4c-f5gj"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/blnkfinance/blnk"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-863" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-26T22:31:03Z",
"nvd_published_at" : null
}
}