Skip to content
Heist/ feed
Back to feed
Low

User Attribute Enumeration when Using DaoAuthenticationProvider

Type: advisorySources: OSV

Vulnerability in Spring Spring Security. If an application is using the UserDetails#isEnabled, #isAccountNonExpired, or #isAccountNonLocked user attributes, to enable, expire, or lock users, then DaoAuthenticationProvider's timing attack defense can be bypassed for users who are disabled, expired, or locked.This issue affects Spring Security: from 5.7.0 through 5.7.22, from 5.8.0 through 5.8.24, from 6.3.0 through 6.3.15, from 6.5.0 through 6.5.9, from 7.0.0 through 7.0.4.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-22746
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 16:29 UTC · Revision 1

Source evidence

User Attribute Enumeration when Using DaoAuthenticationProvider

core-osv · Original source

Published 22 Apr 2026, 05:02 UTC

Vulnerability in Spring Spring Security. If an application is using the UserDetails#isEnabled, #isAccountNonExpired, or #isAccountNonLocked user attributes, to enable, expire, or lock users, then DaoAuthenticationProvider's timing attack defense can be bypassed for users who are disabled, expired, or locked.This issue affects Spring Security: from 5.7.0 through 5.7.22, from 5.8.0 through 5.8.24, from 6.3.0 through 6.3.15, from 6.5.0 through 6.5.9, from 7.0.0 through 7.0.4.

osv:CVE-2026-22746
Complete source record
{
  "id": "fa2811056b2574bd21e9a3fd6393044de917f10f3283ffe8a9ba54971fe56e9e",
  "url": "https://osv.dev/vulnerability/CVE-2026-22746",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "User Attribute Enumeration when Using DaoAuthenticationProvider",
    "summary": "Vulnerability in Spring Spring Security. If an application is using the UserDetails#isEnabled, #isAccountNonExpired, or #isAccountNonLocked user attributes, to enable, expire, or lock users, then DaoAuthenticationProvider's timing attack defense can be bypassed for users who are disabled, expired, or locked.This issue affects Spring Security: from 5.7.0 through 5.7.22, from 5.8.0 through 5.8.24, from 6.3.0 through 6.3.15, from 6.5.0 through 6.5.9, from 7.0.0 through 7.0.4.",
    "evidence": "osv:CVE-2026-22746",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2026-22746",
      "aliases": [
        "CVE-2026-22746",
        "GHSA-vxf7-qj7q-83fh"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/spring-projects/spring-security",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0fd0e9335ae3a6ff3538045d098dd6b94679d99e"
                },
                {
                  "fixed": "0a9d4dc8fc9d303dad7fc1ee25cc7381a9888899"
                },
                {
                  "introduced": "1d99a7fb14c62354cac00412cce2071892cdf465"
                },
                {
                  "fixed": "53bc6a77963209bb2a5f3efdd855b1f4a8051cc3"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "6.5.0"
                      },
                      {
                        "fixed": "6.5.10"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.0"
                      },
                      {
                        "fixed": "7.0.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.0.4",
            "6.5.9",
            "6.5.8",
            "7.0.3",
            "7.0.2",
            "7.0.1",
            "6.5.7",
            "7.0.0",
            "6.5.6",
            "6.5.5",
            "6.5.4",
            "6.5.3",
            "6.5.1",
            "6.5.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-22746.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.449477307Z",
      "provider": "osv",
      "references": [
        "https://spring.io/security/cve-2026-22746",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22746.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-22746"
      ],
      "provider_metadata": {
        "cna_assigner": "vmware",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "5.7.0"
                  },
                  {
                    "last_affected": "5.7.22"
                  },
                  {
                    "introduced": "5.8.0"
                  },
                  {
                    "last_affected": "5.8.24"
                  },
                  {
                    "introduced": "6.3.0"
                  },
                  {
                    "last_affected": "6.3.15"
                  },
                  {
                    "introduced": "6.5.0"
                  },
                  {
                    "last_affected": "6.5.9"
                  },
                  {
                    "introduced": "7.0.0"
                  },
                  {
                    "last_affected": "7.0.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22746.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-22746",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 497365,
  "published_at": "2026-04-22T05:02:24.327+00:00"
}