Improper validation of resource URL attributes in Apache Wicket allows an unauthenticated remote attacker to read files from the web application,… (CVE-2026-70449)
Description
Apache Wicket versions 8.18.0 and earlier, 9.23.0 and earlier, and 10.10.0 and earlier contain an improper validation vulnerability in resource URL attributes. This flaw allows unauthenticated remote attackers to read files from the web application, including files under WEB-INF that are normally protected by the servlet container. The vulnerability arises because locale, style, and variation attributes are appended to resource paths without proper path separator checks, bypassing intended directory traversal protections. The set of files accessible depends on the configured IPackageResourceGuard, with default settings limiting file types but custom configurations potentially exposing sensitive configuration files. The issue is fixed in Apache Wicket versions 8.19.0, 9.24.0, and 10.11.0.
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Apache Wicket involves improper validation of resource URL attributes (locale, style, variation) that are decoded and spliced into the resource lookup path without checking for path separators. The IPackageResourceGuard and WebApplicationPath controls do not inspect these attacker-controlled portions, allowing crafted requests to escape the intended package directory on servlet containers that normalize '..' in ServletContext.getResource(). This enables unauthenticated remote attackers to read files from the web application, including protected files under WEB-INF. The default SecurePackageResourceGuard restricts accessible file extensions to common web assets, but custom or blocklist-based guards may expose sensitive configuration files such as web.xml. The vulnerability affects Apache Wicket 8.18.0 and earlier, 9.23.0 and earlier, and 10.10.0 and earlier. Fixed versions are 8.19.0, 9.24.0, and 10.11.0.
Potential Impact
An unauthenticated remote attacker can read files from the web application, including files under WEB-INF that are normally inaccessible. The extent of file disclosure depends on the IPackageResourceGuard configuration; default settings limit exposure to certain web asset file types, while custom configurations may allow disclosure of sensitive configuration files. Additionally, the vulnerability allows an existence oracle for arbitrary paths, potentially aiding further attacks.
Mitigation Recommendations
Users should upgrade Apache Wicket to versions 8.19.0, 9.24.0, or 10.11.0 or later, which contain fixes for this vulnerability. Users of unsupported versions 7.x or older should upgrade to a supported version. No other mitigations are indicated in the advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-gfx8-6vm5-ghqh
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-70449"]
Threat ID: 6a95a0e1acd9273b4947df80
Added to database: 08/31/2026, 15:42:25 UTC
Last enriched: 09/09/2026, 11:38:46 UTC
Last updated: 10/13/2026, 18:48:23 UTC
Views: 60
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.