CVE-2026-70449
Received Received - Intake

Path Traversal in Apache Wicket

Vulnerability report for CVE-2026-70449, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-31

Last updated on: 2026-08-31

Assigner: Apache Software Foundation

Description

Improper validation of resource URL attributes in Apache Wicket allows an unauthenticated remote attacker to read files from the web application, including files under WEB-INF that the servlet container would not otherwise serve. The locale, style and variation attributes decoded from a package resource URL are spliced into the resource lookup path without being checked for path separators. The IPackageResourceGuard β€” whose rejection of .. is one of the two intended controls β€” is applied to the resource name before those attributes are appended, and WebApplicationPath rejects only paths literally beginning with WEB-INF/. Neither control ever inspects the attacker-controlled portion of the path. On servlet containers that normalize .. in ServletContext.getResource(), a crafted request therefore escapes the intended package directory. The set of readable files is limited to the file extensions permitted by the configured IPackageResourceGuard. The default SecurePackageResourceGuard permits only js, css, png, jpg, jpeg, gif, ico, cur, map, html, txt, swf, bmp, svg, avif, eot, ttf, woff and woff2, which excludes configuration formats. Applications that have added patterns to the guard, or replaced it with the blocklist-based PackageResourceGuard, can additionally disclose configuration files such as web.xml. Independently of the extension, the lookup performed before the guard runs acts as an existence oracle for arbitrary paths. This issue affects Apache Wicket 8.18.0 and before, 9.23.0 and before and 10.10.0 and before. Users are recommended to upgrade to version 8.19.0, 9.24.0 or 10.11.0, which fix the issue. Users of Apache Wicket 7.x or older, which are no longer supported, should upgrade to a supported version.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-31
Last Modified
2026-08-31
Generated
2026-08-31
AI Q&A
2026-08-31
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 6 associated CPEs
Vendor Product Version / Range
apache wicket 8.18.0
apache wicket 9.23.0
apache wicket 10.10.0
apache wicket From 8.19.0 (inc)
apache wicket From 9.24.0 (inc)
apache wicket From 10.11.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in Apache Wicket involves improper validation of resource URL attributes. An unauthenticated remote attacker can exploit this to read files from the web application, including sensitive files under WEB-INF that should not be accessible. The issue arises because path separators in attacker-controlled URL attributes are not properly checked before resource lookup.

Detection Guidance

To detect this vulnerability, check Apache Wicket versions for affected releases (8.18.0 and before, 9.23.0 and before, 10.10.0 and before). Inspect network logs for requests containing path traversal patterns like .. or encoded separators in URL attributes (locale, style, variation). Test for file disclosure by attempting to access WEB-INF or other restricted paths via crafted URLs.

Impact Analysis

An attacker could read sensitive files like configuration files (if the guard allows it) or check for the existence of arbitrary paths in your application. This could lead to information disclosure, such as exposing web.xml or other internal files. The impact depends on the files accessible and the guard configuration.

Compliance Impact

This vulnerability could lead to non-compliance with GDPR or HIPAA if it results in unauthorized access to personal or protected health information stored in exposed files. Unauthorized file access may violate data protection requirements for confidentiality and integrity.

Mitigation Strategies

Upgrade Apache Wicket to fixed versions: 8.19.0, 9.24.0, or 10.11.0. If using unsupported versions (7.x or older), upgrade to a supported release. Review IPackageResourceGuard configurations to ensure only intended file extensions are permitted. Monitor for unusual file access patterns in logs.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-70449. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart