CVE-2026-1002
Vert.x Web static handler component cache can be manipulated to deny the access to static files
Description
The Vert.x Web static handler component cache can be manipulated to deny the access to static files served by the handler using specifically crafted request URI.
The issue comes from an improper implementation of the C. rule of section 5.2.4 of RFC3986 and is fixed in Vert.x Core component (used by Vert.x Web): https://github.com/eclipse-vertx/vert.x/pull/5895
Steps to reproduce Given a file served by the static handler, craft an URI that introduces a string like bar%2F..%2F after the last / char to deny the access to the URI with an HTTP 404 response. For example https://example.com/foo/index.html can be denied with https://example.com/foo/bar%2F..%2Findex.html
Mitgation Disabling Static Handler cache fixes the issue.
StaticHandler staticHandler = StaticHandler.create().setCachingEnabled(false);
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| io.vertx » vertx-core | < 4.5.24>= 5.0.0.CR1, < 5.0.7 | 4.5.24, 5.0.7 |
Blast radius
61% of the dependent artifacts (5,337) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 37,946 |
| 2 hops | 56,811 |
| 3 hops | 91,292 |
| 4 hops | 104,020 |
| 5 hops | 66,333 |
| 6 hops | 20,333 |
Most used dependents
- io.quarkus » quarkus-junit52,452 usages
- io.quarkus » quarkus-resteasy1,251 usages
- io.quarkus » quarkus-arc-deployment1,077 usages
- io.vertx » vertx-web927 usages
- io.fabric8 » kubernetes-client684 usages
- io.vertx » vertx-unit647 usages
- org.apache.camel.springboot » camel-core-starter558 usages
- io.quarkus » quarkus-resteasy-jackson543 usages
- io.vertx » vertx-web-client523 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- io.quarkus » quarkus-smallrye-health469 usages
- io.quarkus » quarkus-smallrye-openapi419 usages
- com.azure » azure-core-test389 usages
- io.quarkus » quarkus-rest-jackson380 usages
- io.quarkus » quarkus-rest372 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-1002
- Webhttps://github.com/vert-x3/vertx-web/issues/2836
- Webhttps://github.com/eclipse-vertx/vert.x/pull/5894
- Webhttps://github.com/eclipse-vertx/vert.x/pull/5895
- Webhttps://github.com/eclipse-vertx/vert.x/commit/5b67f5d17788b2483d277c760f3f8154f9b2fed0
- Webhttps://github.com/eclipse-vertx/vert.x/commit/d007e7b418543eb1567fe95cf20f5450a5c2d047
- Packagehttps://github.com/eclipse-vertx/vert.x
