---
title: Tip: two auth bypasses this week hid in options most people never use. Turn off authentication mechanisms and caching you don't need | ctxsec
url: https://ctxsec.com/items/tip-restrict-sasl-and-auth-realms-to-what-you-use-srp-shiro-ldap-caching
description: "Cyrus SASL's bug lives in the rarely used SRP mechanism; Shiro's needs LDAP authentication caching switched on. In both cases, an option nobody needed was the whole exposure."
status: "guidance based on the Cyrus SASL CVE-2026-129483 and Apache Shiro CVE-2026-129349 advisories"
published: 2026-11-15
---

> Cyrus SASL's bug lives in the rarely used SRP mechanism; Shiro's needs LDAP authentication caching switched on. In both cases, an option nobody needed was the whole exposure.

[← Tips & Guides](/tips) · [markdown](/items/tip-restrict-sasl-and-auth-realms-to-what-you-use-srp-shiro-ldap-caching.md)

guidance based on the Cyrus SASL CVE-2026-129483 and Apache Shiro CVE-2026-129349 advisories

2026-11-15 3:36 PM ET

### Tip: two auth bypasses this week hid in options most people never use. Turn off authentication mechanisms and caching you don't need

- **SASL services:** set an explicit `mech_list` for each service (for example only the mechanisms your clients use) instead of accepting every installed plugin.
- **App auth frameworks:** review realm and provider settings for caching, 'remember me' and permissive credential matchers; cached authentication must still verify the password.
- **Make it testable:** add a check that logs in with a known user and a wrong password after a successful login; it must fail.

Sources: [cyrus-sasl issue #896: SRP server authentication bypass, A == 0 (mod N) not rejected](https://github.com/cyrusimap/cyrus-sasl/issues/896) · [oss-security: CVE-2026-129349 Apache Shiro DefaultLdapRealm accepts any password when authentication caching is enabled (Nov 14, 2026)](http://www.openwall.com/lists/oss-security/2026/11/14/8)
