nday
CVE-2026-129349

Apache Shiro: DefaultLdapRealm accepts any password when authentication caching is enabled

Apache Software Foundation / Apache Shiro

Preuve de concept publique parue le jour même de la divulgation. nday n’a encore aucune trace de correctif ; cela ne veut pas dire qu’il n’en existe pas. Cette vulnérabilité figure dans une seule des 4 sources de PoC : github. Aucune inscription au catalogue KEV de la CISA à ce jour.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

authentication bypass
CWE-287, stated by the CNA apache et NVD, republishing [email protected]
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/S:N/AU:Y/R:U/V:C/RE:L/U:Red (CVSS 4.0) from the CNA apache
network
AV:N in CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/S:N/AU:Y/R:U/V:C/RE:L/U:Red (CVSS 4.0) from the CNA apache
no authentication required
PR:N in CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/S:N/AU:Y/R:U/V:C/RE:L/U:Red (CVSS 4.0) from the CNA apache
no user interaction
UI:N in CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/S:N/AU:Y/R:U/V:C/RE:L/U:Red (CVSS 4.0) from the CNA apache
étape actuelle
POC
divulgation
délai avant PoC
T+0d POC : date seule
CVSS
9.1 CRITICAL v4.0

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
11-15T09:31Z
PATcorrectif
aucune donnée
ANAanalyse
11-14T05:37Z
POCPoC
11-15, date seule
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

When authentication caching is enabled on DefaultLdapRealm, after a user logs in successfully once, subsequent logins for that user succeed with any password. A cached authentication skips the LDAP bind, and the AllowAllCredentialsMatcher installed by default in DefaultLdapRealm accepts any credentials, allowing an attacker who knows a valid username to authenticate as that user. This issue affects all Apache Shiro versions through 3.0.0, only when using DefaultLdapRealm (or JndiLdapRealm) with authenticationCachingEnabled set to true, which is not the default.

Mitigation: Upgrade to version 3.0.1 or later, which fixes the issue by no longer installing AllowAllCredentialsMatcher by default. Alternatively, disable authentication caching on the LDAP realm (this is the default), or configure a credentials matcher, such as SimpleCredentialsMatcher, that verifies credentials against the cached authentication info.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no target-specific security measures to get around
Attack requirements AT:P
Present: success depends on specific deployment or execution conditions, such as a race condition, a non-default setting or a position on the network path
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/S:N/AU:Y/R:U/V:C/RE:L/U:Red

CVSS 4.0 vector from the CVE record, scored by the CNA apache.

Journal des événements

+ANAanalyse technique

Publié sur la liste de diffusion oss-security : « CVE-2026-129349: Apache Shiro: DefaultLdapRealm accepts any password when authentication caching is enabled ».

source osssec 2026/q4/705 · observé en direct par nday le · brut
{
  "id": 496572,
  "type": "analysis_published",
  "source": "osssec",
  "url": "https://seclists.org/oss-sec/2026/q4/705",
  "occurred_at": "2026-11-14T05:37:47Z",
  "observed_at": "2026-11-20T08:13:28.642196Z",
  "is_backfill": false,
  "dedupe_key": "2026/q4/705",
  "detail": {
    "list": "oss-security",
    "author": "Lenny Primak",
    "subject": "CVE-2026-129349: Apache Shiro: DefaultLdapRealm accepts any password when authentication caching is enabled",
    "is_reply": false
  }
}
+DISdivulgation

Fiche CVE publiée par apache. CVSS 9.1, gravité critique.

source cvelist · observé en direct par nday le · brut
{
  "id": 472347,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-129349",
  "occurred_at": "2026-11-15T09:31:50.485Z",
  "observed_at": "2026-11-15T10:01:22.560425Z",
  "is_backfill": false,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/S:N/AU:Y/R:U/V:C/RE:L/U:Red",
      "version": "4.0",
      "base_score": 9.1,
      "base_severity": "CRITICAL"
    },
    "ssvc": {
      "timestamp": "2026-11-17T15:12:58.874777Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-15T09:31:50.485Z",
    "assigner_short_name": "apache"
  }
}
2026-11-15date seule, selon la source
+POCPoC publique

Dépôt de PoC sur GitHub : googlesky/CVE-2026-129349. La date est celle de la création du dépôt.

source github 1459045613 · importé en masse par nday le · brut
{
  "id": 483202,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/googlesky/CVE-2026-129349",
  "occurred_at": "2026-11-15T17:14:29Z",
  "observed_at": "2026-11-19T00:00:00Z",
  "is_backfill": true,
  "dedupe_key": "1459045613",
  "detail": {
    "url": "https://github.com/googlesky/CVE-2026-129349",
    "title": "googlesky/CVE-2026-129349",
    "precision": "day"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.