From e8535eacdb38da566bb5d4ce2adf98d56f24b588 Mon Sep 17 00:00:00 2001 From: Nathan Fretz Date: Thu, 27 Aug 2026 10:09:03 +1000 Subject: [PATCH] Update Core Lightning (add temporary Core Lightning offline security mitigation) --- core-lightning/docker-compose.yml | 14 ++++++++++++-- core-lightning/umbrel-app.yml | 20 +++++++++++++++----- 2 files changed, 27 insertions(+), 7 deletions(-) diff --git a/core-lightning/docker-compose.yml b/core-lightning/docker-compose.yml index 173a0ff6e..b4a2146e8 100644 --- a/core-lightning/docker-compose.yml +++ b/core-lightning/docker-compose.yml @@ -21,7 +21,9 @@ services: LIGHTNING_TOR_HOST: ${APP_CORE_LIGHTNING_HIDDEN_SERVICE} LIGHTNING_WS_HOST: ${APP_CORE_LIGHTNING_DAEMON_IP} LIGHTNING_WS_TOR_HOST: ${APP_CORE_LIGHTNING_HIDDEN_SERVICE} - APP_CONNECT: COMMANDO + # --offline disables CLN's WebSocket listener, so connect the UI through + # CLN's authenticated internal REST interface instead. + APP_CONNECT: REST APP_MODE: ${APP_MODE} LIGHTNING_DATA_DIR: ${CORE_LIGHTNING_PATH} APP_CONFIG_FILE: ${APP_CONFIG_DIR}/config.json @@ -32,7 +34,7 @@ services: LIGHTNING_WS_CLIENT_CERT_FILE: ${CORE_LIGHTNING_PATH}/${APP_CORE_LIGHTNING_BITCOIN_NETWORK}/client.pem LIGHTNING_WS_CA_CERT_FILE: ${CORE_LIGHTNING_PATH}/${APP_CORE_LIGHTNING_BITCOIN_NETWORK}/ca.pem LIGHTNING_REST_PROTOCOL: https - LIGHTNING_REST_HOST: ${DEVICE_DOMAIN_NAME} + LIGHTNING_REST_HOST: cln LIGHTNING_REST_TOR_HOST: ${APP_CORE_LIGHTNING_HIDDEN_SERVICE} LIGHTNING_REST_PORT: ${CORE_LIGHTNING_REST_PORT} LIGHTNING_REST_CLIENT_KEY_FILE: ${CORE_LIGHTNING_PATH}/${APP_CORE_LIGHTNING_BITCOIN_NETWORK}/client-key.pem @@ -75,11 +77,19 @@ services: - --grpc-port=${APP_CORE_LIGHTNING_DAEMON_GRPC_PORT} - --clnrest-host=${APP_CORE_LIGHTNING_DAEMON_IP} - --clnrest-port=${CORE_LIGHTNING_REST_PORT} + # Temporary security containment per upstream guidance: + # https://x.com/Core_LN/status/2092755509510283423 + # Keep chain monitoring active while disabling peer connections until the + # signed upstream fix is packaged. + - --offline volumes: - "${APP_CORE_LIGHTNING_DATA_DIR}:${CORE_LIGHTNING_PATH}" networks: default: ipv4_address: ${APP_CORE_LIGHTNING_DAEMON_IP} + # CLN's generated REST certificate is valid for this internal hostname. + aliases: + - cln tor: image: ghcr.io/getumbrel/tor:0.4.9.11@sha256:e382b8629c0dfef6ceb396b062622d4e4e955b19d6f16b883fd2c0723ad5671a user: "1000:1000" diff --git a/core-lightning/umbrel-app.yml b/core-lightning/umbrel-app.yml index c4bf6fb0f..d0fe9fece 100644 --- a/core-lightning/umbrel-app.yml +++ b/core-lightning/umbrel-app.yml @@ -2,9 +2,12 @@ manifestVersion: 1.1 id: core-lightning category: bitcoin name: Core Lightning -version: "26.06.6" +version: "26.06.6-patch.1" tagline: Run your personal Core Lightning node description: >- + **Important security notice:** This version starts Core Lightning in temporary offline mode, following [guidance from the Core Lightning maintainers](https://x.com/Core_LN/status/2092755509510283423). Your node will stay running and continue watching the Bitcoin blockchain, but it will not be able to send, receive, or route Lightning payments. Leave the app running and do not uninstall it. Another Core Lightning update will appear in Umbrel as usual when the fix is ready. Install that update to reconnect your node and re-enable Lightning payments. + + Get started with the Lightning network today with Core Lightning - a Lightning Network implementation focusing on spec compliance and performance. @@ -32,12 +35,19 @@ defaultPassword: "" submitter: Blockstream submission: https://github.com/getumbrel/umbrel-apps/pull/475 releaseNotes: >- - If Core Lightning asks for a password after updating, don’t worry—this is a browser session bug and does not affect your node or funds. Core Lightning does not require a separate password on Umbrel; open the app in a private/incognito window or clear your Umbrel’s site data in the browser. + 🚨 **Important security update** - **What's changed:** - - Rejects channel openings that reuse an existing funding outpoint, avoiding channel ID collisions. - - Handles unexpected duplicate peer connections more gracefully. + Core Lightning developers have advised node operators to keep their nodes running but temporarily disconnect them from other Lightning nodes while they prepare a security fix. This update applies that change automatically. + + + Your node will keep running and continue watching the Bitcoin blockchain, but it will not be able to send, receive, or route Lightning payments for now. + + + Please leave Core Lightning running and do not uninstall it. Another Core Lightning update will appear in Umbrel as usual when the fix is ready. Install that update to reconnect your node and re-enable Lightning payments. + + + [Read the security announcement from Core Lightning](https://x.com/Core_LN/status/2092755509510283423) backupIgnore: - data/lightningd/bitcoin/lightningd.sqlite3