GrepBoard/Manuals
605 manuals ·

Spring Security 6.5 Has No Open-Source Fix — August Advisories

·Tested on Spring official advisories · 2026-10 · Maven Central lookup · Boot 4.1.2 docs·Test scope ↓·7 steps

CVE-2026-41707 and CVE-2026-47841 fixed Spring Security 6.5 and 6.4 only for Enterprise Support customers. Check your version, exposure and open-source path.

The August 20 Spring Security advisories CVE-2026-41707 and CVE-2026-47841 are both rated High, and they ship the 6.5 fix (6.5.12) and the 6.4 fix (6.4.19) as "Enterprise Support Only". A project on 6.5 or older cannot get a fix with a plain version bump. Check your version, whether you are exposed, and where you can go.

[1] Read the spring-security-core version you actually use. With a build tool, print the dependency tree.

console
$ ./mvnw dependency:tree -Dincludes=org.springframework.security$ ./gradlew dependencies --configuration runtimeClasspath | grep spring-security

For a built executable jar, look at the file names inside. The result below is from a test app.jar that holds spring-security-core-7.0.6.jar under BOOT-INF/lib.

console
$ unzip -l app.jar | grep -E 'spring-(security|data|ai)' | awk '{print $4}'
output
BOOT-INF/lib/spring-security-core-7.0.6.jar

A single jar also records its version in the manifest.

console
$ unzip -p spring-security-core-7.0.6.jar META-INF/MANIFEST.MF | grep -E 'Implementation-(Title|Version)'
output
Implementation-Title: spring-security-coreImplementation-Version: 7.0.6

[2] Compare with the affected and fixed versions. Both advisories came out on August 20 with the same version numbers.

LineAffectedFixedOpen source?
7.17.1.07.1.1Open source
7.07.0.0 to 7.0.67.0.7Open source
6.56.5.0 to 6.5.116.5.12Enterprise Support Only
6.46.4.0 to 6.4.18 (47841 only)6.4.19Enterprise Support Only

For 7.1.0 and 7.0.6 the Enterprise side also has separate fixes, 7.1.0.1 and 7.0.6.1. Line 6.4 is absent from the CVE-2026-41707 list and appears only in CVE-2026-47841.

[3] Check that the fixed version can actually be downloaded from the public repository. Maven Central answers 200 when the jar exists and 404 when it does not.

console
$ for v in 6.5.11 6.5.12 7.0.6 7.0.7; do echo "$v $(curl -s -o /dev/null -w '%{http_code}' -I https://repo.maven.apache.org/maven2/org/springframework/security/spring-security-core/$v/spring-security-core-$v.jar)"; done
output
6.5.11 2006.5.12 4047.0.6 2007.0.7 200

The last public 6.5 release is 6.5.11, and 6.5.12 is not published. 7.0.7 is. A project that stays on 6.5 has two options: get 6.5.12 through Enterprise Support, or move to 7.0.7 or later. Read Spring's 7.0 migration documentation separately before you move to 7.x.

[4] With Spring Boot, look at the spring-security-core version Boot manages. The dependency versions table in the Boot 4.1.2 docs sets spring-security-core to 7.1.2, so that Boot release is at or above the fixed 7.1.1. For other Boot versions, check appendix/dependency-versions in that version's docs. If your project pins the version itself, the result of step 1 is what counts.

[5] CVE-2026-47841 applies when all three conditions in the advisory are met. One, the app uses WebAuthn (passkey) authentication. Two, it sets userVerification = REQUIRED explicitly (the default PREFERRED is not affected). Three, it uses a distributed HTTP session store such as Spring Session with Redis, JDBC or Hazelcast. Serialization breaks the identity comparison, and user verification is not enforced. Look for each condition.

console
$ grep -rnE 'UserVerificationRequirement|userVerification' src/
console
$ grep -rnE 'spring-session|EnableRedisHttpSession|EnableJdbcHttpSession|EnableHazelcastHttpSession|store-type' pom.xml build.gradle build.gradle.kts src/

No output from the first search means WebAuthn is not configured or uses the default; no output from the second means no distributed session store. Settings can also come from outside the files (environment variables, external config), so if you are unsure about any one condition, postpone the verdict and upgrade.

[6] The advisory describes CVE-2026-41707 as a size limit on the cache that remembers DPoP proof jti values (DPoPProofJwtDecoderFactory). The advisory does not state a condition for using DPoP. First find out whether the app uses DPoP.

console
$ grep -rniE 'DPoP|oauth2ResourceServer' src/ pom.xml build.gradle build.gradle.kts

An empty result does not mean DPoP is unused. Whether resource server configuration can enable DPoP without the name appearing was not confirmed, so on an affected version upgrade regardless of the result.

[7] After changing versions, run step 1 again and confirm spring-security-core is at or above the fixed version in the step 2 table. Both advisories say no further mitigation steps exist, so upgrading to a fixed version is the only action.

Where the check goes wrong

  • A fixed version number in an advisory does not mean you can download it. 6.5.12 returns 404 on Maven Central.
  • Line 6.4 appears only in the second advisory. 6.4 users only need to check the three conditions in step 5.
  • The Enterprise version numbers (7.1.0.1, 7.0.6.1) are not numbers you pull from the public repository.

#spring-security#cve-2026-41707#cve-2026-47841#maven-central