ejabberd

Communication

XMPP, MQTT and SIP messaging server.

Latest 26.09 · by ProcessOneWritten in ErlangWebsiteprocessone/ejabberdRSS

Release activity

Release activity — 6 releases across 6 days in the last year. Each cell is one day; darker means more releases that day. Older weeks are hidden at this screen width.
AugSepOctNov
SundayNo releases on Aug 2, 2026No releases on Aug 9, 2026No releases on Aug 16, 2026No releases on Aug 23, 2026No releases on Aug 30, 2026No releases on Sep 6, 2026No releases on Sep 13, 2026No releases on Sep 20, 2026No releases on Sep 27, 2026No releases on Oct 4, 2026No releases on Oct 11, 2026No releases on Oct 18, 2026No releases on Oct 25, 2026No releases on Nov 1, 2026No releases on Nov 8, 2026No releases on Nov 15, 2026
MondayNo releases on Aug 3, 2026No releases on Aug 10, 2026No releases on Aug 17, 2026No releases on Aug 24, 2026No releases on Aug 31, 2026No releases on Sep 7, 2026No releases on Sep 14, 2026No releases on Sep 21, 2026No releases on Sep 28, 2026No releases on Oct 5, 2026No releases on Oct 12, 2026No releases on Oct 19, 2026No releases on Oct 26, 2026No releases on Nov 2, 2026No releases on Nov 9, 2026
TuesdayNo releases on Aug 4, 2026No releases on Aug 11, 2026No releases on Aug 18, 2026No releases on Aug 25, 2026No releases on Sep 1, 2026No releases on Sep 8, 2026No releases on Sep 15, 2026No releases on Sep 22, 2026No releases on Sep 29, 2026No releases on Oct 6, 2026No releases on Oct 13, 2026No releases on Oct 20, 2026No releases on Oct 27, 2026No releases on Nov 3, 2026No releases on Nov 10, 2026
WednesdayNo releases on Aug 5, 2026No releases on Aug 12, 2026No releases on Aug 19, 2026No releases on Aug 26, 2026No releases on Sep 2, 2026No releases on Sep 9, 2026No releases on Sep 16, 2026No releases on Sep 23, 20261 release on Sep 30, 2026No releases on Oct 7, 2026No releases on Oct 14, 2026No releases on Oct 21, 2026No releases on Oct 28, 2026No releases on Nov 4, 2026No releases on Nov 11, 2026
ThursdayNo releases on Aug 6, 2026No releases on Aug 13, 2026No releases on Aug 20, 2026No releases on Aug 27, 2026No releases on Sep 3, 2026No releases on Sep 10, 2026No releases on Sep 17, 2026No releases on Sep 24, 2026No releases on Oct 1, 2026No releases on Oct 8, 2026No releases on Oct 15, 2026No releases on Oct 22, 2026No releases on Oct 29, 2026No releases on Nov 5, 2026No releases on Nov 12, 2026
FridayNo releases on Aug 7, 2026No releases on Aug 14, 2026No releases on Aug 21, 2026No releases on Aug 28, 2026No releases on Sep 4, 2026No releases on Sep 11, 2026No releases on Sep 18, 2026No releases on Sep 25, 2026No releases on Oct 2, 2026No releases on Oct 9, 2026No releases on Oct 16, 2026No releases on Oct 23, 2026No releases on Oct 30, 2026No releases on Nov 6, 2026No releases on Nov 13, 2026
SaturdayNo releases on Aug 8, 2026No releases on Aug 15, 2026No releases on Aug 22, 2026No releases on Aug 29, 2026No releases on Sep 5, 2026No releases on Sep 12, 2026No releases on Sep 19, 2026No releases on Sep 26, 2026No releases on Oct 3, 2026No releases on Oct 10, 2026No releases on Oct 17, 2026No releases on Oct 24, 2026No releases on Oct 31, 2026No releases on Nov 7, 2026No releases on Nov 14, 2026

6 releases in the last year

Changelog

What changed from 25 to 26

26.09

Latest
Added 1
  • Added the captcha_pow toplevel option, which adds a SHA-256 hashcash challenge as described in XEP-0158 to the CAPTCHA form in mod_register, disabled by default
Fixed 2
  • Fixed the generator in fast_xml so that XML encoders emit child elements in the order declared in the codec specification
  • Fixed the sasl2_continue declaration order in the xmpp Erlang library to follow the XEP-0388 schema ordering of additional-data, tasks, text
Security 3
  • Fixed an unauthenticated remote code execution vulnerability affecting versions 25.10 and later when BOSH is enabled on any port, S2S is enabled, and mod_adhoc_api is loaded
  • Fixed a denial-of-service attack affecting versions 16.12 and later when BOSH is enabled on any port
  • Fixed cross-tenant unauthorized access to MUC, Roster and Shared-Roster

From ejabberd

Release notes copied from the original ejabberd 26.09 announcement post:

We are pleased to announce the publication of ejabberd 26.09, which includes several security fixes, some improvements and other minor bugfixes. It is strongly encouraged that you update ejabberd as soon as possible.

Contents:

Security fixes

This release contains fixes for those security issues:

  • Unauthenticated Remote Code Execution on ejabberd (reported by Gia Bui) when:
    • ejabberd versions is at least 25.10
    • BOSH is enabled on any port
    • S2S is enabled
    • mod_adhoc_api is loaded
    • outbound connectivity from ejabberd on ports epmd (default 4369), s2s (default 5269) and Erlang distribution port (dynamically assigned, typically in the range 49152-65535 unless FIREWALL_WINDOW is set in ejabberdctl.cfg).
  • DoS attack on 16.12+ versions if BOSH is enabled on any port.
  • Cross-Tenant MUC, Roster and Shared-Roster unauthorized access (reported by Hoang Gia).
Fixed the ordering of some XML child elements

There was a reference-ordering problem in the fast_xml generator, it generated XML encoders that could reorder child elements in a different order from the one declared in the codec specification. From now, the order is the one declared in the codec specification. See details in https://github.com/processone/fast_xml/pull/53

Additionally there was an incorrect sasl2_continue declaration order in the xmpp erlang library: it declared "additional-data, text, tasks". Now it follows the ordering defined in XEP-0388 schema: "additional-data, tasks, text". See details in https://github.com/processone/xmpp/pull/112

New option for CAPTCHA POW

New toplevel option captcha_pow adds a SHA-256 hashcash challenge as described in XEP-0158 in the CAPTCHA form, alongside the image challenge or on its own.

Unlike the image challenge, this does not require setting the option captcha_cmd.

This option is used only by mod_register when registering a new account using In-Band Registration, not in MUC rooms or in mod_register_web. It is disabled by default.

Improved support for vhost-admins

It is well known how to grant administrative privileges to an account: by adding that account to an acl called admin:

acl:
  admin:
    user: admin1@localhost

The default ejabberd configuration uses this admin ACL in many places:

Consequently, that admin account can administer all of ejabberd: all the global features, all the modules, in all the vhosts... For now let's call it a "global admin".

If you have several vhosts, you can allow specific accounts to administer only specific vhosts. Let's call them "vhost-admins". In this example admin1@localhost can execute commands on all vhosts. Additionally, localhost has a vhost-admin, second has two vhosts-admins, and third has a vhost-admin:

hosts:
 - localhost
 - second
 - third

acl:
  admin:
    user: admin1@localhost

append_host_config:
  localhost:
    acl:
      aclhostadmin:
        - user: hostadmin@localhost
  second:
    acl:
      aclhostadmin:
        - user: hostadmin@second
        - user: hostadmin@third
  third:
    acl:
      aclhostadmin:
        - user: hostadmin@second

api_permissions:
  "vhost http access":
    from: mod_http_api
    who:
      access:
        allow:
          - acl: admin
        allow:
          - acl: aclhostadmin
    what: "*"

Example call of a vhost command by a vhost-admin:

$ curl --basic --user hostadmin@third:somepass -k \
  'https://localhost:5443/api/status_num_host?host=second&status=dnd'
7

If a vhost-admin tries to execute an API command directed to a vhost he does not administer, or a global command (that has no host argument, and affects all ejabberd), they are rejected:

$ curl --basic --user hostadmin@third:somepass -k \
  'https://localhost:5443/api/status_num_host?host=third&status=dnd'
{"code":32,
 "message":"AccessRules: Account does not have the right to perform the operation.",
 "status":"error"}

$ curl --basic --user hostadmin@third:somepass -k \
  'https://localhost:5443/api/stats?name=registeredusers'
{"code":32,
 "message":"AccessRules: Account does not have the right to perform the operation.",
 "status":"error"}
ChangeLog
Security fixes
  • Unauthenticated Remote Code Execution on ejabberd
  • DoS attack on BOSH
  • Cross-Tenant MUC, Roster and Shared-Roster unauthorized access
Core
  • Add force value to auth_external_user_exists_check option
  • Add XEP-0158 SHA-256 hashcash CAPTCHA challenge (#4594)
  • Add gen_mod:get_module_proc_check()
  • Fix to preserve reference order in XML, done in fast_xml and xmpp (#4606)
  • Get rid of couple *_to_atom
  • Make ejabberd_cluster:*call operate only on known nodes
  • More fixes for arguments in commands for vhost-admin
  • Optimize acl:load_tab()
  • ejabberd_systemd: Prefer matching over length/1
  • Updated Portuguese-Brazil and Chinese-Simplified translations
Modules
  • mod_auth_fast: Make sure that fast tokens can be used only with method that they were created for
  • mod_invites: don't apply overuse limit if max_invites is infinity (#4615)
  • mod_invites: don't crash in get_invite_by_invitee_t if reset_token present (#4620)
  • mod_invites: now that Conversations is for free we remove Yaxim (#4621)
  • mod_mix: Make access_create rule be applied when creating channel
  • mod_mqtt: Add lower limits for pre-auth packets
  • mod_muc_room: Fix handling of hats request with missing xdata
  • mod_muc_rtbl: Accept also plain account and domain JIDs
  • mod_muc_rtbl: Fix handling of remote ban servers (#4622)
  • mod_register: After changing password disallow password change on currently authenticated sessions
SQL
  • Add db_serialize to mod_privacy and mod_pubsub
  • Add rename_column op to ejabbrd_sql_schema update routines
  • Make rename_column compatible with older mysql versions
  • ejabberd_sql_schema: Escape all column/table names
  • Update mod_roster serializer with info about approved field
Administration
  • Allow vhost-admin to execute MUC commands for his vhost (#4603)
  • Fix method to check vhost-admin permission in Host API (#4619)
  • WebAdmin: Fix shared roster page when visited by vhost-admin
  • WebAdmin: For vhost-admins, hide useless link to node page
  • WebAdmin: Show proper domain in URLs, not the first configured vhost
Installers and Container
  • make-binaries: Bump Elixir to 1.19.6
  • make-binaries: Bump Erlang/OTP version to 28.5.0.7
  • make-binaries: Bump Expat version to 2.8.5
  • make-binaries: Bump JPEG version to 10
  • make-binaries: Bump OpenSSL 3.6.4
  • make-binaries: Bump PNG version to 1.6.58
  • make-binaries: Bump SQLite version to 3530400
  • make-binaries: Bump WebP version to 1.6.0
  • Dockerfile: Workaround to get image with amd64 (#4598)
Full Changelog

https://github.com/processone/ejabberd/compare/26.07...26.09

Acknowledgments

We would like to thank for the security reports provided by:

the contributions to the source code by:

and the translation by:

  • Daltux for updating the Portuguese (Brazil) translation
  • Sketch6580 for updating the Chinese (Simplified) translation

And also to all the people contributing in the ejabberd chatroom, issue tracker...

Improvements in ejabberd Business Edition

Customers of the ejabberd Business Edition, in addition to all those bugfixes, also get the following changes:

  • Improve p1db serialization
  • Fix SQLite backend for push
  • Recognize gateway_sandbox option inside mod_applepush service (to change sandbox connection endpoint)
Changes in SQL schema
MySQL

When using multihost schema:

ALTER TABLE push_gate CHANGE COLUMN user username text NOT NULL;
CREATE INDEX i_push_gate_username_server_host USING BTREE ON `push_gate`(username(191), server_host(191));

Otherwise:

ALTER TABLE push_gate RENAME COLUMN user TO username;
CREATE INDEX i_push_gate_username USING BTREE ON `push_gate`(username(191));
PgSql

When using multihost schema:

ALTER TABLE push_gate RENAME COLUMN "user" TO "username";
CREATE INDEX i_push_gate_token_server_host ON "push_gate" USING btree ("username", "server_host");

Otherwise:

ALTER TABLE push_gate RENAME COLUMN "user" TO "username";
CREATE INDEX i_push_gate_token ON "push_gate" USING btree ("username");
ejabberd 26.09 download & feedback

As usual, the release is tagged in the Git source code repository on GitHub.

The source package and installers are available in ejabberd Downloads page. To check the *.asc signature files, see How to verify ProcessOne downloads integrity.

For convenience, there are alternative download locations like the ejabberd DEB/RPM Packages Repository and the GitHub Release / Tags.

The ecs container image is available in docker.io/ejabberd/ecs and ghcr.io/processone/ecs. The alternative ejabberd container image is available in ghcr.io/processone/ejabberd.

If you consider that you've found a bug, please search or fill a bug report on GitHub Issues.

View originalPermalink
How 26.09 went

26.07

Added 2
  • mod_invites now includes a startpage where regular users can generate account creation invites using their account credentials.
  • Added WebAdmin pages under Virtual Hosts to view, generate, expire and delete invites in mod_invites.
Changed 4
  • Changed the default value of oauth_client_id_check to db.
  • Updated mod_conversejs to support ConverseJS 14 and included other minor cosmetic improvements.
  • ejabberd now softly rejects compilation with Erlang/OTP lower than 27, which can be bypassed with ./configure --with-min-erlang=13.0.
  • Updated the bundled Rebar and Rebar3 binaries to work with Erlang/OTP 26-29.
Security 12
  • Fixed a PLAIN auth request flaw that allowed authenticating as one user while opening a session for a different user.
  • Fixed mod_caps persistent cache poisoning via legacy version requests, which affected PubSub presence-based delivery notifications.
  • Fixed an SQL injection in mod_pubsub handling of paging requests.
  • Fixed possible atom exhaustion triggered by REST requests to mod_http_api.
  • Fixed ejabberd sending redirect responses for OAuth requests to unvetted URLs when acting as an OAuth provider.
  • Restricted using ejabberd as an OAuth provider to clients previously registered with oauth_add_client_password or oauth_add_client_implicit commands.
View originalRead the notes
How 26.07 went

26.04

Added 3
  • Added option max_stanza_elements to limit the maximum number of XML elements an individual stanza can contain, defaulting to infinity
  • Added options pre_auth_max_stanza_elements (default 32) and pre_auth_max_stanza_size (default 8192) to set separate stanza limits for sessions that have not yet authenticated
  • Added predefined configuration keyword DATABASE_PATH that points to the Mnesia spool directory
Changed 8
  • Improved the leave_cluster command so that it works even when run on the own node
  • sql_database toplevel option now supports the HOST keyword with a sensible default value
  • Provided more detailed log messages when using SQLite
  • Updated documentation of jwt_key to match the Docs site
  • mod_invites now supports --enable-bootstrap=no configure option to bypass download
  • mod_invites no longer depends on jquery
  • mod_mqtt defines RAM callbacks as optional and uses default_ram_db only when it truly supports RAM storage
  • Bumped Erlang/OTP to 28.4.2
Fixed 5
  • mod_http_fileserver now passes an integer to ejabberd_hooks:add as expected by make hooks
  • mod_invites no longer crashes in get_invite_by_invitee_t for the SQL backend
  • Fixed a bug in mod_roster introduced in 26.03
  • mod_roster_sql now casts the approved integer as a boolean when exporting Mnesia to SQL
  • Fixed a typo in mod_shared_roster_sql that had existed for about 10 years
Removed 1
  • Removed session_counter from ejabberd_sm, since get_vh_session_number is no longer present
Security 2
  • Added new listener options to limit the memory used by the XML parser when processing XMPP payloads, mitigating potential denial of service attacks
  • Bumped OpenSSL to 3.5.6 in make-binaries
View originalRead the notes
How 26.04 went

26.03

Added 8
  • Add support for roster pre-approval in mod_roster, requiring a new approved column in the rosterusers SQL table
  • Add ability to configure handling of the SASL client flag indicating channel bindings were wanted but not offered
  • Add ability for mod_options values to depend on other options
  • Add handling of Etag and If-Modified-Since headers to files served by mod_http_upload
  • Add support for webchat_url in mod_invites
  • Add CSRF token checking to the mod_invites register form
  • Add security headers to mod_invites responses
  • Set overuse limits in mod_invites
Changed 8
  • Offered SASL authentication methods in mod_fast_auth are based on available channel bindings
  • Only provide the XEP-0431 fulltext field in mod_mam_sql, no longer the old custom withtext field
  • Call the store_mam_message hook for messages that user_mucsub_from_muc_archive was filtering out in mod_mam
  • Always hide passwords in mod_http_api log entries
  • Migrate mod_invites to bootstrap5 and update jquery
  • Enable dark mode in mod_invites
  • Remove inline scripts from mod_invites
  • Bump Erlang/OTP to 28.4.1 in container and installers
Fixed 10
  • Fix MySQL authentication for TLS connections that required an auth plugin switch
  • Fix duplicate stanza-id in MUC MAM responses generated from local history
  • Fix display of groups in WebAdmin roster page when the value is a list
  • Fix some compiler warnings with Erlang/OTP 29
  • Stop failing to classify stand-alone chat states
  • Ignore whitespace at the end of the host header in ejabberd_http
Security 2
  • Improve handling of the SCRAM channel-bindings flag by aborting connections that present it unless -PLUS mechanisms are disabled
  • Apply many security fixes to mod_invites, including CSRF token checks, removing inline scripts, adding integrity hashes to scripts and CSS, and removing logging of query parameters including passwords
View originalRead the notes
How 26.03 went

26.02

Changed 7
  • Removes mod_muc_occupantid module and integrates its functionality directly into mod_muc
  • Improves handling of mediated group chat invitations in mod_block_stranger
  • Better errors in mod_invites
  • Accessibility improvements in mod_invites
  • Improves handling of requests with invalid url encoded values handled by ejabberd_http
  • Improves handling of invalid responses to disco queries in mod_pubsub_serverinfo
  • Changes default_ram_db from mnesia to p1db when using p1db cluster_backend in ejabberd Business Edition
Fixed 5
  • Fixes issue with adding hats data in presences sent by group chats
  • Fixes issue with occupant-id values being reset after restart of ejabberd
  • Properly installs mod_invites templates in make install call
  • Fixes conversion of MUC room configs from ejabberd older than 21.12
  • Fixes autologin in WebAdmin
View originalRead the notes
How 26.02 went

26.01

Added 4
  • Database serialization: export data from one database backend to a file with the export_db command and import it into another backend (or another machine) with import_db
  • Background export and import operations controlled via ejabberdctl commands export_db, export_db_status, export_db_abort, import_db, import_db_status and import_db_abort
  • New mod_invites module for invite-based account registration, letting administrators generate invitation URLs for new users
  • Roster invites via mod_invites, allowing users to send links that establish a contact connection without further interaction, and to create an account when account creation is allowed
View originalRead the notes
How 26.01 went

25.10

Added 3
  • New option archive_muc_as_mucsub in mod_mam archives incoming groupchat messages for MucSub subscribers as mucsub event messages
  • Support for the Erlang maybe expression, which can be used in ejabberd source code and modules since ejabberd requires Erlang/OTP 25
  • New API Commands restart_kindly, count_banned, list_banned, announce_motd_delete, announce_motd_get, announce_motd_set_online, announce_motd_update, announce_send_all, and announce_send_online
Changed 1
  • Renamed the default SQL schema to singlehost SQL schema and the new SQL schema to multihost SQL schema, with the old names still supported
Removed 1
  • Support for Erlang/OTP older than 25.0
View originalRead the notes
How 25.10 went

25.08

Added 6
  • Support for Hydra rooms (Matrix room version 12) in the Matrix gateway, which fixes high severity protocol vulnerabilities
  • New notary_servers option in mod_matrix_gw to set a list of notary servers
  • New leave_timeout option in mod_matrix_gw
  • New mod_providers module to serve XMPP Providers files automatically according to configuration
  • New predefined keyword HOST_URL_ENCODE for use with mod_http_upload put_url when it contains the @HOST@ keyword
  • New conversejs_plugins option in mod_conversejs to include additional local scripts such as OMEMO encryption libraries
Changed 3
  • State resolution has been partially rewritten in the Matrix gateway
  • A double colon is used to separate the Matrix server from the room ID in JID with Hydra rooms
  • Improved Unicode support for non-latin vhost names in configuration files
Fixed 2
  • Empty direct Matrix messages are no longer sent
  • ACME support now works with Erlang/OTP 28.0.2, the latest p1_acme library, and ejabberd 25.08
View originalRead the notes
How 25.08 went

25.07

Added 5
  • Spam filter module mod_antispam that filters spam messages and subscription requests from remote servers using Real-Time Block Lists (RTBL) and text lists of spammer JIDs and URLs
  • Support for XEP-0485 PubSub Server Information via the new mod_pubsub_serverinfo module to expose S2S information over the Pub/Sub service
  • Support for older Matrix room versions starting from version 4 in the XMPP to Matrix gateway (mod_matrix_gw)
  • Support for Erlang/OTP 28
  • Workaround protecting against CVE-2025-4748 (absolute path in the zip module) regardless of the Erlang/OTP version in use
Changed 3
  • Minimum supported Erlang/OTP version raised to 25.0
  • Compilation version check can be bypassed with ./configure --with-min-erlang to allow building with Erlang/OTP 20 to 24
  • Improved ASN.1 handling in ejabberd, fast_xml, p1_acme and xmpp libraries to adapt to the replaced Erlang/OTP public_key ASN.1 modules
View originalRead the notes
How 25.07 went

25.04

Added 1
  • New kick_users API command that disconnects all client sessions in a given virtual host
Changed 2
  • Reverted the limit on allowed characters in shared roster group names, so symbols such as : are allowed again
  • Binary installers and the ejabberd container image were updated to Erlang/OTP 27.3.2
Fixed 3
  • Fixed an issue with SQL schema auto-upgrade when using the sqlite database
  • Fixed a container update problem that could ignore previous data stored in the mnesia database
  • Fixed max_concurrent_connections handling for mod_gcm, mod_webhook and mod_webpush in the ejabberd Business Edition
Security 1
  • Fixed mod_muc_occupantid so that it replaces every user-provided occupant-id in messages and presences sent to a MUC room, not just the first one, preventing sender spoofing
View originalRead the notes
How 25.04 went
View all

Discussion

If you publish ejabberd, you can claim this product by proving you administer its repository.