Repository navigation
[Aikido] Fix 1 critical issue in spring-security-core, spring-security-config, spring-security-web and 46 other issues - #8
Closed
aikido-autofix[bot] wants to merge 1 commit into
Conversation
Author
|
Aikido's automated cron job opened a newer AutoFix. It fixes the same vulnerabilities and more: [Aikido] Fix 1 critical issue in spring-security-core, spring-security-config, spring-security-web and 66 other issues |
aikido-autofix
Bot
deleted the
fix/aikido-security-update-packages-134828426-ss2w
branch
October 8, 2026 04:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thank you for submitting a pull request to the WebGoat!
Summary / Description
Upgrade dependencies to fix critical RCE and arbitrary code execution vulnerabilities in XStream, Tomcat, Spring Security, and Jackson.
Security Impact — CVE vulnerabilities fixed by this PR
✅ 47 CVEs resolved by this upgrade, including 15 critical 🚨 CVEs
This PR will resolve the following CVEs:
Breaking Changes & Upgrade Impact — prefer Warnings / Cautions /⚠️ sections over implementation sections (upgrade risks, breaking changes, manual migration steps)
✅ No breaking changes for: org.apache.tomcat.embed:tomcat-embed-core, org.apache.tomcat:tomcat-coyote, org.apache.tomcat:tomcat-catalina, org.apache.tomcat:tomcat-util, org.apache.tomcat.embed:tomcat-embed-websocket, org.springframework.security:spring-security-core, org.springframework.security:spring-security-config, org.springframework.security:spring-security-web, org.thymeleaf:thymeleaf-spring5, org.thymeleaf:thymeleaf-spring6, org.thymeleaf:thymeleaf
Fix Details / Technical Implementation (detailed write-up of what was changed and why)
🤖 Remediation details
Fix critical and high security vulnerabilities in XStream, Tomcat, Spring Security, Thymeleaf, and jackson-databind
Short summary
This PR remediates security vulnerabilities in the following packages declared or resolved in the root
pom.xml:com.thoughtworks.xstream:xstream(direct dependency), and the transitively resolvedorg.apache.tomcat.embed:tomcat-embed-core,org.apache.tomcat:tomcat-*,org.springframework.security:spring-security-*,org.thymeleaf:thymeleaf/thymeleaf-spring6, andcom.fasterxml.jackson.core:jackson-databind. Three edits were made topom.xml: thespring-boot-starter-parentversion was bumped, thexstream.versionproperty was updated, and ajackson-bom.versionproperty override was added. A previously declaredthymeleaf.versionproperty override that was pinning Thymeleaf below the patched floor was also removed.com.thoughtworks.xstream:xstream
xstreamis a direct dependency whose version is controlled by thexstream.versionproperty inpom.xml. The property was updated from1.4.5to1.4.20to satisfy the patched floor of1.4.20required across the full set of XStream advisories (ranging from CVE-2013-7285 through CVE-2022-41966). Version1.4.5was vulnerable to every listed XStream advisory;1.4.20is the smallest release that clears all of them.org.apache.tomcat.embed:tomcat-embed-core / org.apache.tomcat:tomcat-*
These Tomcat artifacts are transitive dependencies managed entirely by the
spring-boot-starter-parentBOM via itstomcat.versionproperty. Bumping the parent from3.5.6to3.5.16advancestomcat.versionfrom10.1.46to10.1.55, which is the patched floor required for the Tomcat advisories (CVE-2026-41293, CVE-2026-43512, CVE-2026-43515, CVE-2026-24880, CVE-2026-25854, CVE-2025-61795). No direct declaration ordependencyManagementoverride was needed.org.springframework.security:spring-security-core / spring-security-config / spring-security-web
These Spring Security artifacts are transitive dependencies managed by the
spring-boot-starter-parentBOM via itsspring-security.versionproperty. The parent bump from3.5.6to3.5.16advancesspring-security.versionfrom6.5.5to6.5.11, which exceeds the patched floor of6.5.9required for CVE-2026-22732. No additional override was needed.org.thymeleaf:thymeleaf / thymeleaf-spring6
Thymeleaf is a transitive dependency managed by the
spring-boot-starter-parentBOM via itsthymeleaf.versionproperty. The rootpom.xmlhad a local<thymeleaf.version>3.1.2.RELEASE</thymeleaf.version>property that overrode the parent's managed version, pinning Thymeleaf below the patched floor of3.1.4.RELEASErequired for CVE-2026-40477, CVE-2026-41901, and CVE-2026-40478. That local property was removed so the parent's value (3.1.5.RELEASEin Spring Boot3.5.16) takes effect. The parent bump alone would not have been sufficient without also removing this override.com.fasterxml.jackson.core:jackson-databind
jackson-databindis a transitive dependency managed by thespring-boot-starter-parentBOM via an importedjackson-bom. The parent bump to3.5.16deliversjackson-bom.version=2.21.4, which satisfies the earlier advisory floor of2.18.8but falls below the patched floor of2.21.5required for CVE-2026-59889 and GHSA-mhm7-754m-9p8w. The next Spring Boot release that deliversjackson-databind ≥ 2.21.5is4.0.8, which is a prohibited major-version jump. A<jackson-bom.version>2.21.5</jackson-bom.version>property override was therefore added to the project's<properties>block; Spring Boot'sspring-boot-dependenciesBOM uses this exact property name to control the imported Jackson BOM, so the override lifts all Jackson artifacts to2.21.5while keeping the project on the Spring Boot3.5.xline.Version changes
org.springframework.boot:spring-boot-starter-parent3.5.63.5.16com.thoughtworks.xstream:xstream1.4.51.4.20xstream.versionpropertyorg.thymeleaf:thymeleaf3.1.2.RELEASE3.1.5.RELEASEthymeleaf.versionoverride removed; now inherits patched version from parent bumporg.thymeleaf:thymeleaf-spring63.1.2.RELEASE3.1.5.RELEASEorg.apache.tomcat.embed:tomcat-embed-core10.1.4610.1.55spring-boot-starter-parent3.5.16)org.apache.tomcat.embed:tomcat-embed-websocket10.1.4610.1.55spring-boot-starter-parent3.5.16)org.apache.tomcat:tomcat-coyote10.1.4610.1.55spring-boot-starter-parent3.5.16)org.apache.tomcat:tomcat-catalina10.1.4610.1.55spring-boot-starter-parent3.5.16)org.apache.tomcat:tomcat-util10.1.4610.1.55spring-boot-starter-parent3.5.16)org.springframework.security:spring-security-core6.5.56.5.11spring-boot-starter-parent3.5.16)org.springframework.security:spring-security-config6.5.56.5.11spring-boot-starter-parent3.5.16)org.springframework.security:spring-security-web6.5.56.5.11spring-boot-starter-parent3.5.16)com.fasterxml.jackson.core:jackson-databind2.21.42.21.5jackson-bom.versionproperty; parent bump alone only reached 2.21.4, below patched floor of 2.21.5