Vulnerabilities in pkg:golang/github.com/blnkfinance/blnk

PACKAGE
Advisory Summary

GHSA-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.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/blnkfinance/blnk

1 Known Advisory Record(s)

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

Advisory ID CVE / NVD Severity Summary
GHSA-wcr3-9x4c-f5gj - HIGH Blnk has an API key authorization bypass in owner and scope enforcement

GHSA-wcr3-9x4c-f5gj at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-wcr3-9x4c-f5gj
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-863: Incorrect Authorization
Affected Product Github.com/blnkfinance/blnk
Package Ecosystem Go
Published Date
Last Updated

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.

github.com/blnkfinance/blnk fixed: 0.14.3
Upgrade github.com/blnkfinance/blnk to 0.14.3
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/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

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. ## Details 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: - create API keys for another owner - list API keys belonging to another owner - revoke API keys belonging to another owner - create a new API key with broader scopes than the caller’s own scopes The patched version changes this behavior for non-master API keys: - the effective owner is derived from the authenticated API key - caller-supplied owner values are no longer trusted for authorization decisions - cross-owner key operations are rejected with `403 Forbidden` - requested scopes must be covered by the caller’s existing scopes - master-key behavior is unchanged ## Impact A 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. ## Affected versions Versions up to and including `v0.14.2` are affected. ## Patched versions This issue is fixed in `v0.14.3`. Users should upgrade to `v0.14.3` or later. ## Workarounds 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. ## Credits Blank thanks @Shivam8584 for identifying and fixing this issue.

GHSA-wcr3-9x4c-f5gj Affected Github.com/blnkfinance/blnk Versions

1 component(s)
Fixed Versions:
0.14.3
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?
GHSA-wcr3-9x4c-f5gj is a security vulnerability in Github.com/blnkfinance/blnk involving Blnk has an API key authorization bypass in owner and scope enforcement under CWE-863: Incorrect Authorization.
Which Github.com/blnkfinance/blnk versions are affected?
Affected versions include releases prior to 0.14.3 across affected packages: github.com/blnkfinance/blnk.
What version fixes GHSA-wcr3-9x4c-f5gj?
Upgrading to 0.14.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/blnkfinance/blnk affected?
Yes, github.com/blnkfinance/blnk is affected in releases prior to 0.14.3. Upgrade your dependency to 0.14.3 or later.
What CWE is associated with GHSA-wcr3-9x4c-f5gj?
GHSA-wcr3-9x4c-f5gj is classified under CWE-863: Incorrect Authorization (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.).
How can I check Go dependencies for GHSA-wcr3-9x4c-f5gj?
Run the dependency tree command: 'inspect dependencies for github.com/blnkfinance/blnk'. 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-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
  }
}