# CVE-2025-22234: Spring Security has a broken timing attack mitigation implemented in DaoAuthenticationProvide

Source: https://junglewise.ai/threats/cve-2025-22234-spring-security-has-a-broken-timing-attack-mitigation-implemented  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-01-22  
License: CC BY 4.0 with a link back

CVE-2025-22234 · Severity: low · CVSS 3.1 · Published 2026-01-22

Spring Security has a broken timing attack mitigation implemented in DaoAuthenticationProvide

Technologies: [org.springframework.security:spring-security-core (Maven)](https://junglewise.ai/threats/technologies/org-springframework-security-spring-security-core). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2025-22234 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-22234 being exploited in the wild.

**How severe is CVE-2025-22234?** Low severity, with a CVSS score of 3.1, published 22 January 2026.

**Which products and versions are affected?** org.springframework.security:spring-security-core (Maven) ECOSYSTEM:introduced=6.3.8,fixed=6.3.9.

**Is there a fix for CVE-2025-22234?** Yes. org.springframework.security:spring-security-core (Maven): upgrade to 6.3.9 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-22234?** Check whether you run org.springframework.security:spring-security-core (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.springframework.security:spring-security-core (Maven): upgrade to 6.3.9 or later

  ```sh
  # set org.springframework.security:spring-security-core to 6.3.9 in your pom.xml or build.gradle
  ```


## Affected products

- org.springframework.security:spring-security-core (Maven) ECOSYSTEM:introduced=6.3.8,fixed=6.3.9

## Identifiers

- CVE-2025-22234
- GHSA-vqxh-445g-37fc

## Related threats

- [Spring Security Vulnerable to User Attribute Enumeration when Using DaoAuthenticationProvider](https://junglewise.ai/threats/cve-2026-22746-spring-security-vulnerable-to-user-attribute-enumeration-when)
- [Spring Spring Security TOCTOU race condition in JdbcOneTimeTokenService](https://junglewise.ai/threats/cve-2026-22751-spring-spring-security-toctou-race-condition-in)
- [Spring Security annotation detection mechanism has authorization bypass](https://junglewise.ai/threats/cve-2025-41248-spring-security-annotation-detection-mechanism-has-authorization)
- [Spring Security authorization bypass for method security annotations on private methods](https://junglewise.ai/threats/cve-2025-41232-spring-security-authorization-bypass-for-method-security)
- [Spring Security Vulnerable to Authorization Bypass via Security Annotations](https://junglewise.ai/threats/cve-2025-22223-spring-security-vulnerable-to-authorization-bypass-via-security)
