Skip to content

[Aikido] Fix 66 security issues in spring-boot-starter-web, spring-boot-starter-test, spring-boot-starter-data-jpa - #16

Closed
aikido-autofix[bot] wants to merge 1 commit into
mainfrom
fix/aikido-security-update-packages-78530351-kp8y
Closed

[Aikido] Fix 66 security issues in spring-boot-starter-web, spring-boot-starter-test, spring-boot-starter-data-jpa#16
aikido-autofix[bot] wants to merge 1 commit into
mainfrom
fix/aikido-security-update-packages-78530351-kp8y

Conversation

@aikido-autofix

@aikido-autofix aikido-autofix Bot commented Aug 1, 2026

Copy link
Copy Markdown

Upgrade Spring Boot starters to fix critical RCE, authentication bypass, and path traversal vulnerabilities in Tomcat.

⚠️ Breaking changes analysis not available for: org.springframework.boot:spring-boot-starter-web, org.springframework.boot:spring-boot-starter-test, org.springframework.boot:spring-boot-starter-data-jpa

✅ 66 CVEs resolved by this upgrade, including 8 critical 🚨 CVEs

This PR will resolve the following CVEs:

Issue Severity           Description
CVE-2025-24813
🚨 CRITICAL
[tomcat-embed-core] Path traversal vulnerability in the default servlet with write permissions enabled allows attackers to access sensitive files or execute remote code through partial PUT requests and path equivalence exploitation.
CVE-2026-43512
🚨 CRITICAL
[tomcat-embed-core] Digest authentication implementation contains flaws allowing attackers to bypass authentication mechanisms. This vulnerability enables unauthorized access to protected resources without valid credentials.
CVE-2024-50379
🚨 CRITICAL
[tomcat-embed-core] TOCTOU race condition in JSP compilation on case-insensitive filesystems with writable default servlet allows remote code execution. Affects systems with non-default write-enabled servlet configuration.
CVE-2025-31651
🚨 CRITICAL
[tomcat-embed-core] Improper neutralization of escape sequences in rewrite rules allows specially crafted requests to bypass security constraints under specific configurations. This could lead to unauthorized access if rewrite rules enforce security policies.
CVE-2026-41293
🚨 CRITICAL
[tomcat-embed-core] Improper input validation vulnerability allows attackers to bypass security controls or trigger unexpected behavior. Potential impacts include remote code execution, denial of service, or information disclosure depending on exploitation context.
CVE-2025-55754
🚨 CRITICAL
[tomcat-embed-core] Improper neutralization of ANSI escape sequences in log messages allows attackers to inject sequences via crafted URLs to manipulate console output and clipboard on Windows systems, potentially tricking administrators into executing malicious commands.
CVE-2026-43515
🚨 CRITICAL
[tomcat-embed-core] Improper authorization in method constraints allows attackers to bypass HTTP method restrictions on specific file extensions, potentially enabling unauthorized access to protected resources.
CVE-2025-66614
🚨 CRITICAL
[tomcat-embed-core] Improper validation of SNI extension hostname against HTTP host header allows clients to bypass client certificate authentication by providing mismatched hostnames across multiple virtual hosts. This enables authentication bypass when certificate requirements differ between virtual hosts.
CVE-2025-48988
HIGH
[tomcat-embed-core] Uncontrolled resource allocation vulnerability allowing attackers to exhaust server resources and cause denial of service through unbounded memory or connection consumption.
CVE-2025-55752
HIGH
[tomcat-embed-core] Path traversal vulnerability allowing attackers to bypass security constraints like /WEB-INF/ protection through manipulated rewrite rules. Combined with enabled PUT requests, this could enable remote code execution.
CVE-2025-31650
HIGH
[tomcat-embed-core] Improper input validation in HTTP priority headers causes incomplete request cleanup, leading to memory leaks. Repeated malicious requests can trigger OutOfMemoryException and cause denial of service.
CVE-2025-48989
HIGH
[tomcat-embed-core] Improper resource shutdown vulnerability allows attackers to exploit the "made you reset" attack, potentially causing denial of service or connection manipulation through improper HTTP connection handling.
CVE-2025-52520
HIGH
[tomcat-embed-core] Integer overflow in multipart upload handling allows bypassing size limits, leading to denial of service attacks in specific configurations.
CVE-2026-24734
HIGH
[tomcat-embed-core] Improper input validation in OCSP responder handling fails to verify response freshness and completion, allowing certificate revocation to be bypassed. This enables attackers to use revoked certificates for authentication or encryption.
CVE-2026-24880
HIGH
[tomcat-embed-core] HTTP request smuggling vulnerability via invalid chunk extension allows attackers to bypass security controls and potentially execute arbitrary code or manipulate request handling.
CVE-2026-34483
HIGH
[tomcat-embed-core] Improper encoding in JsonAccessLogValve allows injection of malicious content into JSON access logs, potentially enabling log manipulation and code injection attacks.
CVE-2026-41284
HIGH
[tomcat-embed-core] Uncontrolled resource allocation vulnerability allows attackers to exhaust server resources through unlimited allocation requests, leading to denial of service.
CVE-2026-43513
HIGH
[tomcat-embed-core] Improper case sensitivity handling in LockOutRealm allows attackers to bypass account lockout protections through case-variant usernames, potentially enabling unauthorized access.
CVE-2026-42498
HIGH
[tomcat-embed-core] HTTP Authentication headers are exposed to unexpected hosts during WebSocket authentication, allowing potential credential disclosure to unauthorized parties.
CVE-2024-56337
HIGH
[tomcat-embed-core] A TOCTOU race condition in the default servlet on case-insensitive file systems with write enabled allows attackers to bypass security checks. This incomplete mitigation of CVE-2024-50379 could lead to unauthorized file access or modification.
CVE-2025-55668
MEDIUM
[tomcat-embed-core] Session fixation vulnerability in the rewrite valve allows attackers to hijack user sessions by reusing existing session identifiers, potentially leading to unauthorized access.
CVE-2025-49125
MEDIUM
[tomcat-embed-core] Authentication bypass vulnerability allowing access to PreResources/PostResources via alternate paths, bypassing security constraints that protect the expected paths.
CVE-2026-25854
MEDIUM
[tomcat-embed-core] Open redirect vulnerability in LoadBalancerDrainingValve allows attackers to redirect users to untrusted sites. This could enable phishing attacks or malicious redirects to compromise user security.
CVE-2025-61795
MEDIUM
[tomcat-embed-core] Temporary files from multipart uploads aren't cleaned up immediately during errors, allowing disk space to fill faster than garbage collection can clear it, causing denial of service.
CVE-2025-49124
MEDIUM
[tomcat-embed-core] Untrusted search path vulnerability in Windows installer allows arbitrary code execution when icacls.exe is invoked without a full path, enabling privilege escalation during installation.
CVE-2025-53506
LOW
[tomcat-embed-core] An HTTP/2 client that fails to acknowledge initial settings frame can cause uncontrolled resource consumption by bypassing concurrent stream limits. This leads to potential denial of service through resource exhaustion.
CVE-2026-43514
LOW
[tomcat-embed-core] Observable timing discrepancy in AJP secret comparison allows attackers to bypass authentication through timing analysis attacks.
CVE-2025-46701
LOW
[tomcat-embed-core] Improper case sensitivity handling in CGI servlet allows bypass of security constraints applied to URI path components. This enables attackers to circumvent access controls.
GHSA-r7wm-3cxj-wff9
HIGH
[jackson-core] Incomplete fix for number length validation in the async JSON parser allows attackers to bypass maxNumberLength constraints by streaming chunks without terminators, causing unbounded memory accumulation up to maxStringLength (~20MB default) instead of the configured limit (~1KB default). This enables denial-of-service attacks against reactive frameworks through memory exhaustion.
GHSA-72hv-8253-57qq
MEDIUM
[jackson-core] The async JSON parser fails to enforce the maxNumberLength constraint, allowing attackers to send arbitrarily long numbers that bypass validation and cause memory/CPU exhaustion (DoS). The synchronous parser correctly enforces this limit, but the async path skips the validation methods entirely.
CVE-2026-54512
HIGH
[jackson-databind] Polymorphic type validator bypass allows attackers to deserialize denied classes by hiding them as generic type parameters within allowed container types. This enables remote code execution through instantiation and property population of malicious gadget classes.
CVE-2026-54513
HIGH
[jackson-databind] BasicPolymorphicTypeValidator's allowIfSubTypeIsArray() method fails to validate array component types against the allowlist, allowing deserialization of non-allowlisted types as array elements. This bypasses type validation and enables remote code execution through malicious object instantiation.
CVE-2026-59888
MEDIUM
[jackson-databind] A PropertyNamingStrategy bypass allows @JsonIgnore annotations to be circumvented on Java Records, enabling ignored fields to be populated through renamed JSON keys during deserialization.
CVE-2026-54514
MEDIUM
[jackson-databind] Unsafe DNS resolution occurs during deserialization of InetSocketAddress objects, allowing attackers to trigger arbitrary DNS queries via untrusted JSON input before application validation. This enables DNS-based attacks and information disclosure through timing analysis.
CVE-2025-41249
HIGH
[spring-core] Spring Framework's annotation detection may fail to resolve security annotations on methods in generic superclasses, potentially bypassing authorization checks when using Spring Security's @EnableMethodSecurity feature.
CVE-2026-41851
HIGH
[spring-core] SpEL expression evaluation can trigger unbounded cache growth, leading to Denial of Service when processing user-supplied expressions. An attacker can exhaust memory resources by crafting malicious SpEL expressions that cause excessive cache accumulation.
CVE-2025-41234
MEDIUM
[spring-core] A reflected file download (RFD) vulnerability exists in ContentDisposition header handling when filenames derived from unsanitized user input are set with non-ASCII charsets, allowing attackers to inject malicious commands into downloaded content.
CVE-2026-41845
MEDIUM
[spring-core] Incorrect escaping in JavaScriptUtils.javaScriptEscape() allows JavaScript code injection in the browser, leading to cross-site scripting (XSS) vulnerabilities.
CVE-2026-41844
MEDIUM
[spring-core] An attacker can craft a malicious link using the "redirect:" prefix to perform an open redirect to arbitrary external hosts in applications with "/**" mappings lacking explicit view names. This enables phishing attacks and credential theft through unvalidated redirects.
CVE-2026-41846
MEDIUM
[spring-core] JSP form tags fail to properly sanitize user-supplied values in cssClass, cssErrorClass, and cssStyle attributes, allowing arbitrary HTML/JavaScript injection and cross-site scripting (XSS) attacks.
CVE-2025-41242
MEDIUM
[spring-core] A path traversal vulnerability exists in Spring Framework MVC applications when deployed on non-compliant Servlet containers that don't reject suspicious URI sequences, allowing attackers to access static resources outside intended directories. This could lead to unauthorized information disclosure or remote code execution depending on the resources exposed.
CVE-2026-22737
MEDIUM
[spring-core] A path traversal vulnerability in Java scripting engine template views allows attackers to read arbitrary files outside configured template directories, resulting in information disclosure.
CVE-2026-41841
MEDIUM
[spring-core] Spring MVC and WebFlux applications are vulnerable to Information Disclosure attacks when resolving static resources.

Affected versions:
Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.
CVE-2026-41843
MEDIUM
[spring-core] Spring MVC and WebFlux applications are vulnerable to Path Traversal attacks when resolving static resources.

Affected versions:
Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.
CVE-2026-41852
MEDIUM
[spring-core] SpEL evaluation logic allows arbitrary zero-argument method invocation in restricted contexts, enabling attackers to invoke unintended application logic and potentially execute remote code or bypass security restrictions.
CVE-2026-41853
MEDIUM
[spring-core] Spring MVC and WebFlux applications are vulnerable to Multipart request smuggling attacks.

Affected versions:
Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.
CVE-2026-41848
LOW
[spring-core] A Regular Expression Denial of Service (ReDoS) vulnerability exists in AntPathMatcher methods that process user-supplied patterns, allowing attackers to cause application hangs or crashes through malicious regex patterns.
CVE-2026-41850
LOW
[spring-core] SpEL expression evaluation is vulnerable to Algorithmic Denial of Service (DoS) when processing specially crafted user-supplied expressions, causing excessive resource consumption and potential application unavailability.
CVE-2026-41842
LOW
[spring-core] Spring MVC and WebFlux applications are vulnerable to Denial of Service (DoS) attacks when resolving static resources.

Affected versions:
Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.
CVE-2025-22233
LOW
[spring-core] A bypass vulnerability exists in disallowedFields validation that allows attackers to circumvent field binding restrictions through locale-dependent case conversion, potentially enabling unauthorized data binding and remote code execution.
CVE-2026-22741
LOW
[spring-core] Cache poisoning vulnerability in static resource resolution allows attackers to poison the resource cache with incorrectly encoded resources, causing denial of service and breaking front-end applications for clients.
CVE-2026-22745
LOW
[spring-core] Spring MVC and WebFlux applications serving static resources on Windows are vulnerable to Denial of Service attacks through malicious requests that consume HTTP connections and slow resource resolution.
CVE-2026-22735
LOW
[spring-core] Spring MVC and WebFlux applications are vulnerable to stream corruption when using Server-Sent Events (SSE). This issue affects Spring Foundation: from 7.0.0 through 7.0.5, from 6.2.0 through 6.2.16, from 6.1.0 through 6.1.25, from 5.3.0 through 5.3.46.
AIKIDO-2026-10661
HIGH
[spring-boot] A timing attack vulnerability in DevTools remote secret comparison allows attackers on the same network to infer the secret through repeated measurements, potentially leading to unauthorized class uploads and remote code execution.
AIKIDO-2026-10660
HIGH
[spring-boot] Insecure temporary directory handling allows a local attacker to predict and take control of temp directories without ownership verification. This enables session hijacking or remote code execution when persistent sessions are enabled.
AIKIDO-2026-10581
MEDIUM
[spring-boot] ApplicationPidFileWriter improperly follows symlinks when writing PID files at predictable paths, allowing local attackers with write access to cause arbitrary file corruption on application startup.
AIKIDO-2026-10583
MEDIUM
[spring-boot] A weak pseudo-random number generator is used for ${random.value}, generating predictable values unsuitable for secrets. This can weaken tokens, passwords, and other security-sensitive data derived from these properties.
AIKIDO-2026-10584
MEDIUM
[spring-boot] Improper validation of certificate hostnames in Cassandra auto-configuration allows TLS connections to trust certificates without verifying they match the intended server hostname, enabling man-in-the-middle attacks against Cassandra traffic.
AIKIDO-2026-11184
HIGH
[spring-data-commons] A property-lookup cache accepts attacker-supplied strings as permanent cache keys, enabling heap exhaustion denial-of-service attacks through repeated requests. Vulnerable applications use Querydsl web bindings or @ProjectedPayload form-parameter binding that forward unfiltered HTTP-supplied strings to PropertyPath.from.
AIKIDO-2026-11186
LOW
[spring-data-commons] Spring Data Commons applications may be vulnerable to denial of service through resource exhaustion when attacker-controlled property path strings are passed to MappingContext property path resolution.
AIKIDO-2026-11183
LOW
[spring-data-commons] A vulnerability in Spring Data Web Support with @ProjectedPayload allows attackers to trigger excessive memory allocation through specially crafted HTTP requests, causing Denial of Service.
AIKIDO-2026-11185
LOW
[spring-data-commons] A vulnerability allows attackers to trigger a StackOverflowException and cause Denial of Service by crafting malicious Sort parameters. This affects applications that expose endpoints accepting Sort parameters from untrusted sources without sanitization.
CVE-2025-22235
HIGH
[spring-boot] EndpointRequest.to() incorrectly creates a matcher for null/** when the referenced actuator endpoint is disabled or not exposed, potentially allowing unauthorized access to /null paths that should be protected by Spring Security.
CVE-2026-40973
HIGH
[spring-boot] A local attacker can hijack the predictable ApplicationTemp directory to read session data and hijack authenticated users or execute arbitrary code when persistent sessions are enabled, potentially persisting across application restarts.
AIKIDO-2026-11158
HIGH
[spring-core] Due to incorrect escaping, the use of JavaScriptUtils.javaScriptEscape() may lead to JavaScript code injection in the browser, potentially resulting in a cross-site scripting (XSS) vulnerability.
AIKIDO-2026-10571
MEDIUM
[spring-core] Static resource handling on Windows is vulnerable to uncontrolled resource consumption when resolving crafted requests, allowing attackers to exhaust HTTP connections and cause denial of service.
🔗 Related Tasks

@aikido-autofix

Copy link
Copy Markdown
Author

Closed by Aikido: a new AutoFix has been created → #18

@aikido-autofix aikido-autofix Bot closed this Aug 14, 2026
@aikido-autofix
aikido-autofix Bot deleted the fix/aikido-security-update-packages-78530351-kp8y branch August 14, 2026 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants