Updated 7 Nov 2026: Nov 4 1.0.3 adds blob encryption and default-role repair path; preserve urgent 1.0.2 per-account mail-encryption reset warning.

Key details

  1. One-time STALWART_UPDATE_ROLE_PERMISSIONS=true on restart adds missing permissions to default roles; remove it afterwards.
  2. Stalwart v1.0.3 released November 4: symmetric blob encryption/compression, BlobRecode and OAuth-scope fixes for external clients.
  3. Stalwart v1.0.2 released November 2, 2026, adding outbound OpenPGP/S/MIME encryption, recipient key services and post-quantum modes.
  4. Previously encrypted accounts are reset to Disabled on upgrade; new mail is stored unencrypted until encryption at rest is re-enabled with a selected key.
  5. Already-encrypted messages and previously registered public keys are not affected.
  6. Encryption.atRestEnable supersedes the old global switch and defaults to on; sites that disabled it must review policy.
  7. Pre-existing administrator roles may lack new encryption and public-key permissions.
  8. Stalwart v1.0.1 released October 28, 2026; security fixes cover config.json local permissions and tenant impersonation isolation.
  9. Stalwart v1.0.0 was released October 26 with a new schema; older stores still require migration.
  10. Prometheus/OTLP metric names and exporter configuration change in 1.0.1; existing alerts and dashboards need review.
  11. JMAP $draft messages are no longer encrypted on append, and JMAP Sent copies are stored unencrypted, per upstream notes.
  12. Some reused-blob-store migrations may serve an old cached WebUI bundle; Action/UpdateApps is a reported recovery path.
  13. Original 1.0 benchmarks are maintainer-run; no independent production comparison was established.

What builders should take away

  1. Treat blob-encryption and mail-at-rest as separate controls: 1.0.3 does not automatically re-enable encryption for accounts reset by 1.0.2.
  2. On 1.0.3 review new OAuth scopes for external clients and test role changes; apply the one-time default-role repair selectively and audit the result.
  3. Before upgrading, inventory encryption-at-rest settings and account keys. After upgrading to 1.0.2, reselect keys and re-enable encryption individually, then verify a new message is stored encrypted.
  4. Check the new global Encryption.atRestEnable switch against your previous policy, and add missing administrator role permissions using official guidance.
  5. Test real OpenPGP/S/MIME recipients and supported post-quantum formats; new server capability does not guarantee client compatibility.
  6. Upgrade affected Stalwart 1.0.0 deployments to 1.0.1 and audit existing config.json file permissions and tenant impersonation rights.
  7. Check JMAP draft and Sent storage encryption assumptions against your own deployment and threat model.
  8. Update OTLP/Prometheus metric names, exporters, environment settings and alert rules before assuming monitoring is intact.
  9. Upgrade all cluster nodes before relying on the revised OAuth consent behaviour.
  10. For migrations, back up first, test with a copy, check WebUI resourceUrl and cached bundle, and document an UpdateApps recovery procedure.
  11. Continue to treat vendor performance claims as benchmark claims rather than production guarantees.

What changed

On November 4, 2026, Stalwart released 1.0.3 after its November 2 1.0.2 post-quantum encryption gateway release. The new patch adds symmetric blob encryption at rest (AES-256-GCM or ChaCha20-Poly1305), Zstandard compression and a BlobRecode task; these are distinct from the per-account email encryption setting. It adds OAuth scopes security, settings and full for third-party clients to manage app passwords, API keys and account settings, while the WebUI needs no scope change. Existing default roles may lack permissions introduced since 1.0.0: administrators can restart once with STALWART_UPDATE_ROLE_PERMISSIONS=true to add default-role permissions, then remove the variable. It also invalidates cached access tokens when default roles or nested roles are edited, and addresses OIDC issuer routing plus JMAP/IMAP edge cases. Importantly, 1.0.3 does not undo the 1.0.2 upgrade warning: accounts that previously used per-account mail encryption at rest are reset to Disabled after upgrade and must explicitly reselect their keys or newly delivered mail is stored unencrypted. Pre-existing encrypted mail and keys remain untouched.

Why it matters

Stalwart operators now have an official repair path for inherited default-role permissions and new controls for encrypted/compressed blob storage, but those do not replace mail-at-rest settings. A safe upgrade still requires checking old and new encryption policy independently, re-enabling per-account mail encryption, and testing whether OAuth-connected apps can manage credentials after their scopes change. Auto-adding permissions to default roles should be audited before running in a customized deployment. Release notes establish behaviour and fixes, not confirmed exploitation.

OAuth scope and login compatibility changes

Third-party clients need urn:stalwart:oauth:scope:security, urn:stalwart:oauth:scope:settings or urn:stalwart:oauth:scope:full, configured and requested appropriately, to manage security and account settings. Only a superuser can grant full to a registered app. For external OIDC providers, create and assign required scopes at the identity provider. The built-in WebUI needs no action. The release also fixes issuer-based selection for incoming bearer tokens.

1.0.3: blob encryption and permission repair

The November 4 release adds server-encrypted blobs using configurable symmetric keys, zstd compression and BlobRecode for existing blobs. It also offers STALWART_UPDATE_ROLE_PERMISSIONS=true for one restart to add new permissions missing from upgraded default roles. Remove the environment variable afterwards, confirm administrator roles and re-check any intentional permission restrictions. A change to a default or nested role now invalidates cached access tokens.

1.0.2: outbound encryption and post-quantum keys

The November 2 release adds outgoing-mail encryption using recipient public keys plus key discovery, management and verification. The new OpenPGP and S/MIME engine adds classical and post-quantum key algorithms and optional header protection. Support for an algorithm is not proof that a recipient's existing mail client implements it, so operators should test actual clients and keys.

Important upgrade step: at-rest encryption resets

An account that had encryption at rest enabled before upgrading is explicitly reset to Disabled. New incoming messages remain unencrypted until its user or administrator reselects a registered public key and enables encryption. Existing encrypted messages and registered keys are unchanged. The global Encryption.atRestEnable switch is on by default; admins who had disabled the previous server-wide switch must disable the new one as required. Verify settings account by account and send a test mail.

Default-role upgrade permissions have a 1.0.3 repair path

Upgraded servers can lack permissions added after 1.0.0 because role defaults are only created on first install. From 1.0.3, administrators can restart once with STALWART_UPDATE_ROLE_PERMISSIONS=true to fill missing permissions in each default role, then remove the variable. Review assigned permissions and any custom policy before and after restart; this does not re-enable per-account email encryption.

1.0.1 closes two security boundaries

The upstream 1.0.1 release fixes creation of config.json with a process umask that could produce 0644 permissions and leave datastore credentials readable by other local accounts. It also removes tenant-member access to the impersonate permission after tenant administrators with that permission could reach accounts belonging to other tenants. These are local filesystem and tenant-role conditions respectively; no verified exploitation was found. Operators should upgrade and audit existing config.json permissions and tenant roles; the release notes do not establish that already-created files are automatically corrected.

Telemetry names and OAuth behaviour change

New OpenTelemetry HTTP/gRPC and Prometheus exporters replace earlier crates. OTLP metrics use stalwart.* and Prometheus uses stalwart_* with unit and _total conventions; old dashboards, scrape parsing and alerts need migration. ServiceName, serviceNamespace and resourceAttributes replace earlier OTEL_* environment configuration. OAuth consent is now shown after sign-in and skipped for previously authorised connected applications unless prompt=consent is supplied; all cluster nodes must be upgraded before depending on the changed sign-in flow.

JMAP draft encryption and storage expectations

The 1.0.1 changelog explicitly says JMAP messages with the $draft keyword are no longer encrypted on append and the JMAP Sent copy is stored unencrypted. This changes storage-at-rest expectations for affected workflows. The release notes do not establish broader exposure or a new vulnerability, and operators should confirm how their application uses drafts, sent copies and external encryption before making claims about end-to-end confidentiality.

Migration can strand the WebUI despite a correct URL

Two related community reports describe 0.16.27-to-1.0.x migrations that reuse a blob store: the Application resourceUrl points to the v2 WebUI, but an older cached v1 bundle remains under the same application ID, producing 404 responses on /admin and /account. A reported workaround is to trigger Action/UpdateApps after migration to refresh the bundle. The report was reproduced by community users and still observed with server 1.0.1 and stalwart-migrate 1.0.3; maintainer confirmation of a permanent fix was not established at research time. A separate failure occurs when resourceUrl itself remains the old 'latest' URL.

Stable storage is the practical milestone

The 1.0 database schema is intentionally finalised so later releases can upgrade in place rather than repeating disruptive migrations. This release itself is a breaking storage transition: the new server will not open an old store. The official migration tool reads the old store, copies data to a new one, supports incremental reruns and preserves IMAP UIDs and change history. The final cutover still needs planning; OAuth users must sign in again and search indexes rebuild.

How existing installations move

For v0.16 installations, update to 0.16.27, back up and test, then use stalwart-migrate with a new empty v1.0 store. For v0.15 or earlier and gradual moves, the documented migration proxy and Vandelay can route accounts between old and new servers. Clusters must now use a Redis-family in-memory coordinator; single-node installations can use a built-in local store. Configuration keys were also renamed or restructured.

Performance and search changes are substantial but vendor-measured

The maintainers rewrote mail-parser using SIMD/SWAR, tuned RocksDB, PostgreSQL, MySQL, FoundationDB and SQLite backends, and redesigned mailbox caches. A new full-text index supports phrase searches and text extraction from PDF, Office, OpenDocument, EPUB and RTF attachments. On matched Azure servers, Stalwart says it won 35 of 38 head-to-head Postfix/Dovecot tests. Benchmark scripts and raw data are published, but independent reproduction and comparisons across different production configurations are still needed.

Other 1.0.1 fixes and release boundaries

The patch also addresses an aarch64 RocksDB concurrency SIGSEGV, ACME DNS-01 zone selection, JMAP response compliance and an email spam-filter false positive involving trailing dots in reverse-DNS names. The earlier 1.0 milestone remains a new stable on-disk schema requiring one-time migration; the maintainer's 35/38 benchmark wins remain vendor-run rather than independently established.

What to watch next

  • Whether 1.0.3 role repair introduces custom-role surprises or receives follow-up fixes.
  • How BlobRecode affects storage migration performance, key rotation and existing stored blobs.
  • Confirmed fix or maintainer-supported recovery for cached WebUI bundles reused in 0.16-to-1.0 migrations.
  • Independent mail-gateway and post-quantum interoperability and cryptographic testing.
  • Additional 1.0.x security and migration fixes.

Still unclear

  • No independently established fleet-wide incidence of accidental plaintext after upgrade; upstream explicitly documents the reset and its effect.
  • No independent production security audit or interoperability survey of the new gateway was verified.
  • No exploitation of the fixed local credential or tenant impersonation flaws was established.
  • Community-reproduced cached-WebUI failure has no verified fleet-wide incidence and no confirmed maintainer patch at research time.
  • No independent replication of the vendor's 35/38 performance comparison was established.

Sources

Direct reading behind this dossier.

10 sources
Stalwart v1.0.3 release notes
Stalwart primary release notes

Official blob encryption, role repair, OAuth scopes, token cache and bug fixes.

Stalwart v1.0.2 release notes
Stalwart Labs / GitHub primary release notes

New encryption, upgrade reset, global default, role permissions and JMAP changes.

Encryption at rest
Stalwart Labs primary implementation docs

Current settings and testing directions; date represents verification, not publication.

Stalwart v1.0.1 release notes
Stalwart Labs / GitHub primary release notes

Exact fixed security issues, telemetry breaking changes, JMAP draft storage and OAuth changes.

Stalwart 1.0 migration documentation
Stalwart Labs primary migration guide

Current migration paths and prerequisites; date is verification date, not necessarily publication date.

Discussion

Discussion is reader-contributed. Comments are not part of the BTN dossier or its editorial evidence.

0 visible comments

Join the discussion

Keep comments useful and relevant. Reader contributions may be moderated and are not BTN editorial evidence.

Sign in to comment