Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-71257— Apache Wicket: Configured file upload limits are not enforced when the multipart request has already been parsed

Quick assessment

Affected
Apache Software Foundation Apache Wicket
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

以下是该漏洞描述的中文翻译: 漏洞描述 Apache Wicket 在通过 Apache Commons FileUpload 解析多部分(multipart)请求时,会强制执行表单或上传字段中配置的上传限制。如果请求主体已经被其他组件消费过,Commons FileUpload 将返回空结果,Wicket 随后会回退到通过 读取上传内容。然而,通过该方式获取的 parts 未应用单文件大小限制(例如 )和文件数量限制( ),也不会抛出异常,导致上传过程如同这些限制已被满足一样被处理。因此,远程上传者可以提交比应用

AI Predicted 6.5 Difficulty: Moderate
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-71257

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Apache Wicket: Configured file upload limits are not enforced when the multipart request has already been parsed
Source: CVE Program / CVE List V5
Vulnerability Description
Apache Wicket enforces the upload limits configured on a form or upload field while parsing a multipart request with Apache Commons FileUpload. If the request body has already been consumed by another component, Commons FileUpload returns no items and Wicket falls back to reading the upload through HttpServletRequest#getParts(). The per-file size limit (for example Form#setFileMaxSize) and the file count limit (Form#setFileCountMax) are not applied to the parts obtained that way, and no exception is raised, so the upload is processed as though those limits had been satisfied. A remote uploader can therefore submit files that are larger, or more numerous, than the application permits, up to whatever the component that parsed the request allows. A part carrying no Content-Type header is additionally read into memory in full during parsing, so the size of that allocation is determined by the request and bounded only by those same external limits. The total upload size limit (Form#setMaxSize) is not affected. Commons FileUpload compares the declared Content-Length against it before reading the body, so a request declaring an oversized length is rejected before the fallback is reached. The fallback is reached in deployments where a servlet or filter has already parsed the request body — for example a servlet annotated with @MultipartConfig, Spring Boot's multipart resolver, or any filter that calls HttpServletRequest#getParameter() on a multipart request. It applies to the Wicket components that accept uploads on that path, including Form with FileUploadField, FileUploadToResourceField and AjaxFileDropBehavior. Applications that configure neither a per-file nor a file-count limit are not affected, as Wicket applies neither by default. This issue affects Apache Wicket: from 8.0.0 through 8.18.0, from 9.0.0 through 9.23.0, from 10.0.0 through 10.10.0. 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. As a workaround, configure equivalent limits in the component that parses the request — for example spring.servlet.multipart.max-file-size and max-request-size, or maxFileSize and maxRequestSize in @MultipartConfig or in the web.xml <multipart-config> element.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
不加限制或调节的资源分配
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Apache Software Foundation Apache Wicket 8.0.0 ~ 8.18.0 -

II. Public POCs for CVE-2026-71257

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-71257

登录查看更多情报信息。

Other References for CVE-2026-71257 (1)

Same Patch Batch · Apache Software Foundation · 2026-08-31 · 8 CVEs total

CVE-2026-58301 5.9 MEDIUM Apache Shiro: Server-side POST request may be steered to an alternate host
CVE-2026-76983 5.1 MEDIUM Apache Wicket: XSS in AutoLabelTextResolver via FormComponent.setLabel
CVE-2026-76984 5.1 MEDIUM Apache Wicket: XSS in MetaDataHeaderItem via addTagAttribute
CVE-2026-76982 5.1 MEDIUM Apache Wicket: XSS in Button via its model object
CVE-2026-75802 5.1 MEDIUM Apache Wicket: XSS in AjaxEditableLabel and its subclasses via IChoiceRenderer and default
CVE-2026-71378 Apache Wicket: Cross-Site Request Forgery (CSRF) protection bypass in ResourceIsolationReq
CVE-2026-70449 Apache Wicket: Path traversal in resource style/variation/locale

IV. Related Vulnerabilities

V. Comments for CVE-2026-71257

No comments yet


Leave a comment