What changed, and why it matters
This commit updates a dependency version in LND's build files. It bumps the internal 'kvdb' submodule from version 1.5.0 to 1.5.1 so that downstream projects importing kvdb directly do not pull in an older, vulnerable telemetry library (OpenTelemetry SDK). The commit message says the main LND module already uses the newer versions, so this change is mostly a relabel for consumers of the kvdb submodule and has no direct code change in LND itself.
No immediate action is required for LND operators or users building the root module, because the commit message states the root module already uses the patched versions. Projects that import github.com/lightningnetwork/lnd/kvdb directly should update to v1.5.1 or later. General best practice: verify with 'go mod graph' or vulnerability scanners that the OpenTelemetry SDK is at a fixed version.
Security signals we found
Dependency bump explicitly motivated by a known vulnerability identifier (GO-2026-4394)
No source code changes in LND itself; only module metadata updated
Vendor describes the root build as already unaffected, limiting direct security impact on LND
Change protects downstream direct importers of the kvdb submodule
Evidence from the diff
The diff only changes go.mod and go.sum: github.com/lightningnetwork/lnd/kvdb is upgraded from v1.5.0 to v1.5.1. The commit message explains that kvdb v1.5.1 includes an OpenTelemetry SDK bump past GO-2026-4394. The root lnd module already requires the newer grpc and otel versions, so the transitive dependency set for the root build is unchanged. The purpose is to protect downstream consumers that import lnd/kvdb directly from inheriting the vulnerable otel SDK via kvdb’s own go.mod.
Changed components
github.com/lightningnetwork/lnd/kvdb submodule dependencygo.modgo.sumInspect captured patch +3 / −3
diff --git a/go.mod b/go.mod
index df232d9..11871e0 100644
--- a/go.mod
+++ b/go.mod
@@ -38,7 +38,7 @@ require (
github.com/lightningnetwork/lnd/clock v1.1.1
github.com/lightningnetwork/lnd/fn/v2 v2.0.9
github.com/lightningnetwork/lnd/healthcheck v1.2.6
- github.com/lightningnetwork/lnd/kvdb v1.5.0
+ github.com/lightningnetwork/lnd/kvdb v1.5.1
github.com/lightningnetwork/lnd/queue v1.2.0
github.com/lightningnetwork/lnd/sqldb v1.0.11
github.com/lightningnetwork/lnd/ticker v1.1.1
diff --git a/go.sum b/go.sum
index 553ec7d..23061c1 100644
--- a/go.sum
+++ b/go.sum
@@ -321,8 +321,8 @@ github.com/lightningnetwork/lnd/fn/v2 v2.0.9 h1:ZytG4ltPac/sCyg1EJDn10RGzPIDJeye
github.com/lightningnetwork/lnd/fn/v2 v2.0.9/go.mod h1:aPUJHJ31S+Lgoo8I5SxDIjnmeCifqujaiTXKZqpav3w=
github.com/lightningnetwork/lnd/healthcheck v1.2.6 h1:1sWhqr93GdkWy4+6U7JxBfcyZIE78MhIHTJZfPx7qqI=
github.com/lightningnetwork/lnd/healthcheck v1.2.6/go.mod h1:Mu02um4CWY/zdTOvFje7WJgJcHyX2zq/FG3MhOAiGaQ=
-github.com/lightningnetwork/lnd/kvdb v1.5.0 h1:Mglu7tGUdpFv8mDQTBIS2S8kwAz66MXlqUYUeaZ2+YQ=
-github.com/lightningnetwork/lnd/kvdb v1.5.0/go.mod h1:SxUoxWaMpyErZ2GM7maz661NQqwS8J/PUUQv6fnhzOI=
+github.com/lightningnetwork/lnd/kvdb v1.5.1 h1:OG5cDbqggxiCFKAJbSPw0PfQovi+0odCZAAU5r5b+ho=
+github.com/lightningnetwork/lnd/kvdb v1.5.1/go.mod h1:5lubXYoXHDBWBYKmC+2we7qgkjjz0cEZ/5QSQkxQSec=
github.com/lightningnetwork/lnd/queue v1.2.0 h1:sSrn+u84OLuOT/F+xGxgg8VfknXeIZEAFQoMH6BL60s=
github.com/lightningnetwork/lnd/queue v1.2.0/go.mod h1:qLNP0L3B7piRGvDyhAyJKic4xTt+Mw4D7mWrQeuAwxY=
github.com/lightningnetwork/lnd/ticker v1.1.1 h1:J/b6N2hibFtC7JLV77ULQp++QLtCwT6ijJlbdiZFbSM=
Why this scored 32/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.