SWUpdate 2026.12 released

2 December 2026

SWUpdate 2026.12 is out: 261 commits from 31 contributors.

Highlights

Mender Server. A suricatta module in Lua talks to the Mender Server: authentication, inventory, deployments and status reports. Mender Artifacts are unwrapped while they are streamed, nothing is stored on the device.

ThingsBoard. suricatta can receive updates from ThingsBoard.

Microcontrollers with Zephyr and MCUboot. The new mcumgr handler updates a microcontroller over UART with the standard MCUmgr protocol, with test, confirmation and rollback done by MCUboot. An emulator allows testing without hardware.

Large updates. SWU files and artifacts of 4 GiB and more are supported (new cpio format 070704, created by swugenerator 0.9 and later). The format was accepted upstream by libarchive, so tools like bsdtar can read these SWUs once Linux distributions ship the next libarchive release.

More:

  • web server backend based on libwebsockets, Mongoose updated to 7.24
  • mbedTLS 4.x and OpenSSL 4
  • CRL check for CMS signatures, optional hybrid (classic + PQC) signatures
  • install-if-hash-different property
  • namespace of bootloader variables selectable in sw-description
  • Lua suricatta modules: suricatta.vars, suricatta.crypto, suricatta.json, and a thread safe Lua state
  • progress interface: configurable socket permissions and number of clients
  • SELinux contexts for the internal subprocesses

Security

The fixes of 2026.05.2 are included:

Hardening:

  • weak digest algorithms are rejected with OpenSSL, mbedTLS and wolfSSL
  • postfailure scripts run only if they were verified
  • file names cannot leave the temporary directory, the archive handler does not extract outside the destination path
  • the default temporary directory is /run/swupdate, SWUpdate warns at startup if it is not private
  • web server: digest authentication replay, cross-origin requests, multipart parser
  • delta updates: Content-Range validated, chunks verified before decompressing

License

SWUpdate is released under GPLv2 with a generic OpenSSL exception: the copyright holders explicitly allow linking SWUpdate with the OpenSSL library. The exception was part of the project at its beginning and is now formally reintroduced. It applies to the project as a whole, regardless of the license notices in single files (see README.md and LICENSES/LicenseRef-GPL-2.0-only-WITH-generic-OpenSSL-exception.txt).

Fixes

  • hang on SIGTERM during the post-update
  • hang with updates containing many small steps
  • the failure of a Lua preinstall function was ignored
  • crash of Lua suricatta modules on IPC requests during polling
  • wfx: JSON construction and escaping, validation of the jobs, workflow transitions, retries, startup without the wfx specification
  • diskpart: sorted insert of partitions
  • flash handler: writing at an unaligned offset

The full list of changes is in the git history:

git log -M 2026.05..2026.12

Sources: tag 2026.12 on GitHub · Documentation