Skip to content

v4.18.2

Latest

Choose a tag to compare

@Yeraze Yeraze released this 04 Dec 16:20
f805faf

MeshMonitor v4.18.2

4.18.2 closes a second round of findings from a Shannon (Keygraph) AI pentest, checked by hand against the code. Most of them let a user with rights on one source reach further than they should: routes that read a missing sourceId as "all sources", automation actions, CLI consoles, settings, and map labels. Sign-in is tighter too: OIDC links accounts only by a verified email, a new PROXY_AUTH_PROVIDER picks which proxy headers to trust, and a password change revokes the user's other sessions and API tokens. New features include a read-only MCP server at /mcp (off unless ENABLE_MCP_SERVER=true) and MeshCore Suggest Path, which proposes a DM route from path data MeshMonitor already has. For MeshCore 1.19 it adds telemetry subscriptions and read-only password logins. The Meshtastic ↔ MeshCore Bridge now threads replies and passes mentions across protocols. MCOimg gains Pixel Paint and MeshCore channel pictures. 4.18.2 also fixes MySQL 8 connections after the mysql2 upgrade and adds TLS to MySQL. Read the upgrade notes below before you update.

Blog post: https://meshmonitor.org/blog/2026-12-04-v4.18.2-release.html

⚠️ Upgrade notes

  • A password change signs out the user's other sessions and revokes their API tokens. Issue new tokens for scripts and integrations afterwards.
  • OIDC no longer links by username. A first-time OIDC login joins an existing local account only when the provider sends a verified, matching email. Otherwise it creates a new account.
  • Pin PROXY_AUTH_PROVIDER (oauth2-proxy, cloudflare or generic) if you sign in through a proxy. The default, auto, keeps today's behavior and logs a startup warning.
  • runScript arguments: an unquoted {{ trigger.text }} now passes the whole message as one argument, and an empty value passes an empty argument instead of none.
  • Now admin-only: global retention and maintenance settings, script update sources, MeshCore private-key export, and dangerous CLI verbs. Saving an automation that sends, manages nodes or reboots needs that right on each target source.
  • MySQL: allowPublicKeyRetrieval defaults to true as before; add ?ssl=true (or ssl=skip-verify) to use TLS.

Features

  • feat(mcp): read-only MCP server at /mcp (phase 1 of MCP_SERVER_PLAN) #6620
  • feat(meshcore): suggest DM paths from ambient path data #6635
  • feat(meshcore): telemetry subscriptions for v1.19 repeaters and sensors #6696
  • feat(meshcore): read-only password and granted login role #6688
  • feat(meshcore): show MCOimg pictures sent as channel datagrams #6686
  • feat(mcoimg): Pixel Paint and MeshCore channel pictures as group data #6691
  • feat(automations): thread MT↔MC Bridge replies across protocols #6687
  • feat(automations): let the MT↔MC Bridge pass @[MT@name] mentions #6690
  • feat(ui): grouped sidebar section nav on wide screens #6628
  • feat(banners): let users dismiss config-issue banners #6643
  • feat(telemetry): allow favoriting the Battery (estimated) graph #6685
  • feat(messages): scroll the open chat to newest on Mark all as read #6684

Security

  • fix(security): close CLI console bypasses #6653
  • fix(security): scope routes that read a missing sourceId as "all sources" #6655
  • fix(map): escape mesh-controlled names in Leaflet marker HTML #6656
  • fix(security): close non-admin settings gaps #6654
  • fix(automations): per-source gate for send/manage/reboot actions; tokenize script args #6657
  • fix(settings): make the remaining global retention sweeps admin-only #6661
  • fix(automations): gate tapback, requestData, trace and waypoint actions per source #6662
  • fix(packets): scope /stats and /stats/distribution to permitted sources #6660
  • fix(meshcore): gate remote CLI admin-only verbs and the remote-CLI grant #6663
  • fix(automations): require channel read for AI summarize steps #6665
  • fix(auth): OIDC verified-email linking, PROXY_AUTH_PROVIDER, revoke sessions/tokens on password change #6658
  • fix(security): re-check redirects + pin DNS in safeFetch; lock down network-reach routes #6659

Bug Fixes

  • fix(mysql): keep MySQL 8 connecting after the mysql2 3.25 upgrade #6694
  • fix(messages): send sourceId when marking messages read #6670
  • fix(messages): classify DMs by channel -1 in DELETE /api/messages/:id #6669
  • fix(search): open and label DM results by their peer, not the sender #6671
  • fix(meshcore): keep the guest password note after a remote settings save #6689
  • fix(nodes): show uptime in the Node Status widget for MeshCore and purged Meshtastic nodes #6677
  • fix(meshcore): stop autofill on room/repeater passwords; re-enable Room Sync #6678
  • fix(automations): repeat the bridge tag on every split part #6676
  • fix(automations): summarize MQTT sources under a meshtastic channel selection #6668
  • fix(i18n): packet monitor hint says the limits are admin-only #6672
  • fix(protobuf): normalize proto import paths to forward slashes on Windows #6641
  • fix(api): accept the tapback emoji flag on POST /api/v1/messages #6640
  • fix(channels): classify the whole default-key PSK family as well-known #6639
  • fix(messages): stop iOS Safari treating the composer as a name field #6630
  • fix(meshtastic): send role in add_contact so favorites keep zero-hop #6451
  • fix(meshcore): let the map Features panel scroll inside the sidebar #6626

Documentation

  • docs(user-scripts): browse by author, link authors to GitHub, improve SEO #6625
  • docs(gallery): add National Airspace System Status user script #6624
  • docs(gallery): add IPAWS Emergency Alerts user script #6627

Tests / CI

  • test(mco-image): raise high-level encoder fixture timeout to 300s #6681
  • test(mqtt): pin the client id in the credential-redaction tests #6664
  • chore: version bumps #6631, #6679, #6693, #6697

Dependencies

  • [Snyk] Security upgrade mysql2 from 3.24.6 to 3.25.0 #6633
  • Translations update from Hosted Weblate #6594

Issues Resolved

#6623, #6629, #6634, #6636, #6637, #6638, #6642, #6644, #6645, #6646, #6647, #6648, #6649, #6650, #6651, #6652, #6666, #6667, #6673, #6674, #6675, #6680, #6682, #6695

Thanks

Welcome to our new contributor @giannoug (#6669, #6670, #6671), and thanks to @maxhayim, @rancur and @joroses for their contributions, and to our Weblate translators.

Full Changelog: v4.18.1...v4.18.2

🚀 MeshMonitor v4.18.2

📦 Installation

Docker (recommended):

docker run -d \
  --name meshmonitor \
  -p 8080:3001 \
  -v meshmonitor-data:/data \
  ghcr.io/Yeraze/meshmonitor:4.18.2

🧪 Testing

✅ All tests passed
✅ TypeScript checks passed
✅ Docker images built for linux/amd64, linux/arm64, linux/arm/v7

📋 Changes

See commit history for detailed changes.