Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-104733 Overview
CVE-2026-104733 is a user impersonation vulnerability in ProcessOne ejabberd, an open-source Extensible Messaging and Presence Protocol (XMPP) server. The flaw affects ejabberd versions <= 26.04 and resides in the Simple Authentication and Security Layer (SASL) PLAIN mechanism. The server fails to validate the authzid (authorization identity) parameter against the authenticated identity. An authenticated attacker can supply an arbitrary authzid value during SASL-PLAIN negotiation to assume the identity of any other user. The weakness is classified as [CWE-290: Authentication Bypass by Spoofing].
Critical Impact
An authenticated low-privilege user can impersonate arbitrary accounts on the XMPP server, compromising message confidentiality, integrity, and account trust across the deployment.
Affected Products
- ProcessOne ejabberd <= 26.04
- Deployments using the SASL-PLAIN authentication mechanism
- Fixed in ejabberd 26.07
Discovery Timeline
- 2026-10-02 - CVE-2026-104733 published to the National Vulnerability Database (NVD)
- 2026-10-02 - Last updated in NVD database
- Advisory - Documented in NSIDE Attack Logic Advisory NSIDE-SA-2026-004
- Patch - Addressed in ejabberd Release 26.07
Technical Details for CVE-2026-104733
Vulnerability Analysis
ejabberd implements SASL-PLAIN as defined in RFC 4616. The mechanism transmits three fields separated by null bytes: authzid, authcid, and passwd. The authcid is the identity whose credentials are being verified. The authzid is the identity the client requests to act as after authentication. RFC 4422 requires the server to confirm that the authenticated principal is authorized to act as the requested authzid.
ejabberd <= 26.04 skips this authorization check. The server authenticates the credentials in authcid but then binds the resulting XMPP session to whatever Jabber ID (JID) the client placed in authzid. The attacker needs only one valid account on the server to impersonate any other user, including administrative accounts.
Root Cause
The root cause is missing identity binding enforcement during SASL negotiation. The code path that processes PLAIN responses accepts a non-empty authzid without comparing it to the verified authcid or checking an authorization policy. This matches the [CWE-290] pattern of trusting a user-supplied identity assertion without validation.
Attack Vector
The attack is remote and requires a single set of valid XMPP credentials. The attacker initiates a c2s (client-to-server) stream, selects the PLAIN SASL mechanism, and submits a base64-encoded payload of the form <target_jid>\0<attacker_jid>\0<attacker_password>. After the server returns a success response, the resulting session operates under <target_jid>. The attacker can then send messages, join rooms, and access roster data as the impersonated user. No separate exploit code is published; the technique follows directly from the SASL-PLAIN wire format. Refer to the NSIDE advisory for protocol-level detail.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-104733
Indicators of Compromise
- SASL-PLAIN authentication events where the decoded authzid field differs from the authcid field.
- XMPP sessions whose bound JID does not match the account associated with the presented password hash.
- Messages or presence stanzas originating from accounts that correlate with sessions authenticated by a different user's credentials.
Detection Strategies
- Enable ejabberd verbose authentication logging and alert on any SASL negotiation containing a non-empty authzid that is not equal to authcid.
- Correlate c2s session identifiers with the authenticating user record in the database to detect identity mismatches.
- Hunt for anomalous administrator or service-account activity following successful logins from unrelated client IP addresses.
Monitoring Recommendations
- Forward ejabberd authentication and session logs to a centralized SIEM for retention and correlation.
- Track baseline rates of SASL mechanism selection and alert when PLAIN usage spikes from a single source.
- Monitor privileged XMPP accounts for logins outside expected client fingerprints or geographies.
How to Mitigate CVE-2026-104733
Immediate Actions Required
- Upgrade ejabberd to version 26.07 or later on all server nodes in the cluster.
- Rotate credentials for any account that may have been impersonated, prioritizing administrators and service accounts.
- Review authentication and MUC (multi-user chat) logs since the server was first exposed for signs of authzid abuse.
Patch Information
ProcessOne addressed the issue in ejabberd 26.07. The release notes are published on the ejabberd GitHub Releases page. Operators running packaged distributions should pull updated packages that include the 26.07 source. No backport patches for the 26.04 branch are referenced in the advisory.
Workarounds
- Disable the SASL-PLAIN mechanism and require SCRAM-SHA-256 or SCRAM-SHA-512 for client-to-server authentication until the upgrade is applied.
- Restrict server access to trusted networks or require mutual TLS at the transport layer to limit who can initiate SASL negotiation.
- Enforce stronger authentication policies on administrative JIDs, including separate accounts and network segmentation, to reduce blast radius.
# Example ejabberd.yml fragment: restrict SASL mechanisms to SCRAM variants
c2s_access: c2s
disable_sasl_mechanisms:
- PLAIN
- ANONYMOUS
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

