Vulnerability DatabaseCVE-2026-129483

CVE-2026-129483: 
Cyrus SASL vulnerability analysis and mitigation

Overview

CVE-2026-129483 is a critical authentication bypass vulnerability in Cyrus SASL through version 2.1.28, affecting the SRP (Secure Remote Password) server mechanism. The flaw exists because srp_server_mech_step2 in plugins/srp.c fails to reject client-supplied public values A that are multiples of N, as required by RFC 5054 §2.5.3 and RFC 2945. An unauthenticated network attacker can send A = N to force a zero shared secret, authenticate as any existing user without knowing their password, and learn session keys. It was reported by researcher afldl on July 31, 2026, and publicly disclosed on November 15, 2026. The CVSS v3.1 base score is 9.1 (Critical) and the CVSS v4.0 base score is 9.3 (Critical) (Github Advisory, Cyrus SASL Issue #896).

Technical details

The root cause is classified as CWE-287 (Improper Authentication). In plugins/srp.c at line 2040, the server's srp_server_mech_step2 function only checks if (BigIntCmpWord(text->A, 0) <= 0) — rejecting A <= 0 — but never verifies that A % N != 0 as mandated by RFC 5054 §2.5.3. When an attacker sends A = N, the server computes base = A * v^u mod N = N * v^u mod N = 0, then S = 0^b mod N = 0, and finally K = H(S) = SHA1("") = da39a3ee5e6b4b0d3255bfef95601890afd80709 — a publicly known constant. Because all inputs to the M1 computation (H(H(N) xor H(g) | H(user) | salt | A | B | K | H(authzid) | H(L))) are then either public or attacker-known, the attacker can compute a valid M1 without any password and the server accepts it. Exploitation requires only that the SRP mechanism is compiled in (--enable-srp, which is opt-in) and offered in the server's mech_list, and that the target username exists. A full end-to-end Python PoC (srp_bypass_e2e.py) and a self-contained math proof (poc_math.py) were published by the reporter (Cyrus SASL Issue #896, PoC Gist, srp.c source).

Impact

Successful exploitation allows an unauthenticated remote attacker to impersonate any existing user on services relying on Cyrus SASL's SRP mechanism — including SMTP, IMAP, and other SASL-enabled services — without supplying a valid password. The attacker also learns the session key K, enabling decryption or forgery of subsequent session traffic if a security layer is negotiated. Confidentiality and integrity of authenticated sessions are fully compromised; availability is not directly impacted. Depending on the privileges of the impersonated account, this could enable lateral movement, data exfiltration, or unauthorized administrative actions on the affected system (Github Advisory, Cyrus SASL Issue #896).

Exploitability

A public proof-of-concept (PoC) was published by the discoverer (afldl) as a GitHub Gist on July 31, 2026, including a full end-to-end reproducer that drives the real libsasl2 SRP server via hand-crafted wire messages (PoC Gist). NVD's SSVC assessment classifies exploitation as poc and the vulnerability as automatable: yes with total technical impact. No evidence of in-the-wild exploitation or threat actor attribution has been reported as of the disclosure date. The EPSS score is approximately 0.38% (34th percentile), indicating a currently low but non-negligible probability of exploitation in the near term. The vulnerability is not listed in the CISA KEV catalog at this time (Github Advisory).

Exploitation steps

  1. Reconnaissance: Identify services exposing Cyrus SASL with the SRP mechanism enabled (e.g., SMTP, IMAP servers). SRP is opt-in (--enable-srp) and must appear in the server's mech_list. Use banner grabbing or SASL capability negotiation to confirm SRP is offered.
  2. Enumerate a valid username: Obtain or guess a valid username on the target system (e.g., via SMTP VRFY, IMAP login probing, or other enumeration techniques). The attack requires a known existing username.
  3. Initiate SRP authentication (Step 1): Send a crafted SASL SRP step1 message with the wire format { utf8(U) utf8(I) utf8("") os(cn) } to the server. The server responds with { 0x00 mpi(N) mpi(g) os(salt) mpi(B) utf8(L) }, providing the public parameters N, g, salt, B, and L.
  4. Craft the malicious Step 2 message: Set A = N (the group modulus). Compute K = SHA1("") = da39a3ee5e6b4b0d3255bfef95601890afd80709 (a known constant, since S = 0). Compute M1 = SHA1((SHA1(N) xor SHA1(g)) || SHA1(U) || salt || bn(A) || bn(B) || K || SHA1(I) || SHA1(L)) using only public/attacker-known values.
  5. Send the attack Step 2 message: Transmit { mpi(A=N) os(M1) utf8("mda=SHA-1") os(cIV) } to the server. The server's only check (A <= 0) passes because N > 0, so it computes S = 0, derives the same K, and verifies M1 successfully.
  6. Authentication bypass confirmed: The server returns SASL_CONTINUE (authentication complete), granting access as the target user. The attacker now holds valid session keys and is authenticated without ever knowing the user's password (Cyrus SASL Issue #896, PoC Gist).

Indicators of compromise

  • Network: Unexpected or repeated SASL SRP authentication attempts (especially from unknown or external IP addresses) against SMTP, IMAP, or other SASL-enabled services; SRP step2 messages where the MPI value of A equals the group modulus N (2048-bit or other standard sizes).
  • Logs: SASL authentication logs showing successful SRP logins for accounts from unusual source IPs or at unusual times, particularly without a preceding failed attempt; absence of password-related errors despite successful authentication.
  • Application/Service Logs: IMAP or SMTP server logs recording successful logins via the SRP mechanism from clients that do not normally use SRP; SASL_CONTINUE responses following SRP step2 from unexpected clients.
  • Process/Behavior: Post-authentication actions inconsistent with the impersonated user's normal behavior (e.g., bulk email access, configuration changes, data downloads) immediately following an SRP authentication event.

Mitigation and workarounds

The upstream fix is to upgrade to a version of Cyrus SASL that includes commit fb3724f, which removes the SRP plugin entirely from the codebase, as the SRP SASL mechanism was never standardized as an RFC (Upstream Commit). For systems that cannot immediately upgrade, disable the SRP mechanism by removing or not loading the libsrp plugin and ensuring SRP does not appear in the server's mech_list. A targeted code fix (adding the RFC 5054 §2.5.3 modular check after parsing A in srp_server_mech_step2) is also described in the issue report for those who must maintain SRP support. Additionally, implement network-level access controls to restrict SASL authentication endpoints to trusted clients until patching is complete (Cyrus SASL Issue #896, Github Advisory).

Community reactions

The SANS Internet Storm Center noted the vulnerability via their Mastodon and Bluesky accounts shortly after disclosure, highlighting the pre-authentication nature of the bypass. The vulnerability received coverage in security newsletters including Secret CISO. The Ostorlab security blog published a technical write-up on the SRP authentication bypass. Community reaction has focused on the severity of the pre-authentication bypass and the decision to remove the SRP plugin entirely rather than patch it, given that the SRP SASL mechanism was never formally standardized as an RFC (SANS ISC Mastodon, Ostorlab Blog).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Affected

bookworm

cyrus-sasl2

Affected

sid

cyrus-sasl2

Affected

trixie

cyrus-sasl2

Affected

Ubuntu

Unknown

bionic (esm-infra)

cyrus-sasl2

Unknown

devel

cyrus-sasl2

Unknown

focal (esm-infra)

cyrus-sasl2

Unknown

jammy

cyrus-sasl2

Unknown

noble

cyrus-sasl2

Unknown

resolute

cyrus-sasl2

Unknown

trusty (esm-infra-legacy)

cyrus-sasl2

Unknown

xenial (esm-infra-legacy)

cyrus-sasl2

Unknown

RHEL / CentOS

Affected

OpenShift

Not Affected

RHEL 8

cyrus-sasl.src

Affected

RHEL 9

cyrus-sasl.src

Affected

RHEL 10

cyrus-sasl.src

Affected

Source: This report was generated using AI

Related Cyrus SASL vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-129483CRITICAL9.3
  • Cyrus SASL logoCyrus SASL
  • cyrus-sasl-ldap
NoYesNov 15, 2026
CVE-2022-24407HIGH8.8
  • NixOS logoNixOS
  • cyrus-sasl-gs2
NoYesFeb 24, 2022
CVE-2026-107161HIGH7.5
  • Cyrus SASL logoCyrus SASL
  • cyrus-sasl-lib
NoYesOct 07, 2026
CVE-2020-8032HIGH7
  • NixOS logoNixOS
  • cyrus-sasl
NoYesFeb 25, 2021
CVE-2026-132138MEDIUM5.3
  • Cyrus SASL logoCyrus SASL
  • cyrus-sasl-lib
NoYesNov 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management