/

CVE-2026-129483

Severity:

CRITICAL RISK

(9.1)

Authentication Bypass (CWE-287) in Cyrus SASL SRP Server

CVE-2026-129483

Received

Vulnerability type

Category:

Authentication Bypass

CWE:

CWE-287

Impact:

Unauthorized authentication and session-key exposure

Severity:

CRITICAL RISK

(9.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

A flaw in the Cyrus SASL SRP server mechanism can let an unauthenticated network client bypass password authentication. When the SRP mechanism is available and the server accepts an invalid client public value, the client may authenticate as an existing user and learn session keys.

Affected context

The issue affects Cyrus SASL deployments that use the SRP server mechanism. It becomes risky when an unauthenticated client can reach a service negotiating SRP and the server does not reject client public values that are multiples of the protocol modulus.

Exploit preconditions

  • Attack surface: A network-accessible service using Cyrus SASL SRP authentication
  • Required access: No prior authentication; the client must be able to initiate an SRP exchange
  • Trigger point: Processing the client's public value during the SRP server authentication flow
  • Why exploitation is possible: The server does not reject values that are multiples of N, which can result in a zero shared secret and bypass password verification

Why this happens

The SRP server mechanism does not adequately validate the client's public value A before using it to derive the shared secret. Accepting values that are multiples of N can produce a zero shared secret, undermining the authentication check and session-key security. This is an authentication bypass mapped to CWE-287: Improper Authentication.

Potential impact

  • An unauthenticated client may authenticate as an existing user without that user's password
  • An attacker could gain access to resources available to the impersonated account
  • Session keys could be exposed, potentially weakening the confidentiality or integrity of the session

General mitigation guidance

Defensive approaches include validating client public values against the protocol's required range and group constraints before using them, and rejecting invalid values before deriving secrets or making authentication decisions. Prefer vetted protocol implementations and secure-by-default authentication mechanisms; disable SRP where it is not needed. Limit service privileges and access to sensitive resources so an authentication failure has less potential impact.

How teams detect issues like this

Review SRP implementations for complete validation of client public values before shared-secret derivation and authentication decisions. Static analysis and code review can look for missing range, group-membership, and invalid-value checks. Add policy checks and protocol tests that confirm invalid public values are rejected, and monitor authentication logs for anomalous failures or unexpected account access. Automated code review tools may help identify related validation gaps.

Sources

SourceLink
gist.github.comgist.github.com/afldl/18d15d3f5a1df99411e35000c7de80db
github.comgithub.com/cyrusimap/cyrus-sasl/blob/cyrus-sasl-2.1.28/plugins/srp.c#L2046-L2050
github.comgithub.com/cyrusimap/cyrus-sasl/commit/fb3724f43dc50247ff2bf02135457d6d77031654
github.comgithub.com/cyrusimap/cyrus-sasl/issues/896
seclists.orgseclists.org/oss-sec/2026/q4/122
vulncheck.comvulncheck.com/advisories/cyrus-sasl-through-2.1.28-srp-authentication-bypass-via-plugins-srp-c

Frequently asked

questions

It may be exploitable by an unauthenticated network client if the service is reachable and uses the vulnerable SRP server mechanism.

No prior authentication is required by the described attack. The impact depends on the existence of the account being impersonated and the service's access controls.

Reject invalid SRP public values before deriving shared secrets or evaluating authentication, using protocol-compliant validation.

Use vetted authentication implementations, test protocol edge cases, review validation before cryptographic operations, and limit the privileges of services that accept network authentication.

Find out what's already
exploitable in your codebase.