Apache Commons FileUpload before 1.3.3 DiskFileItem File Manipulation Remote Code Execution

libcommons-fileupload-java Updated 02 Oct 2025

Summary

25/10/2016
N/A
No i
Critical
9.8

CVE-2016-1000031: Apache Commons FileUpload before 1.3.3 DiskFileItem File Manipulation Remote Code Execution. Affects libcommons-fileupload-java versions < 1a01d4b321351ddc8b0cabafe09aa1e96ae7f08d. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Apache Commons FileUpload library is a popular Java library used for uploading files to a server. It provides functionality for handling file uploads in web applications. The library is widely used in various projects and frameworks.

Vulnerability Detail

The vulnerability with ID CVE-2016-1000031 affects the Apache Commons FileUpload library before version 1.3.3. It allows an attacker to manipulate the content of a file being uploaded, potentially leading to remote code execution. This vulnerability can be exploited by an attacker who can control the content of the uploaded file and trick the application into executing malicious code.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to upgrade to the patched version of Apache Commons FileUpload to mitigate the risk.

Conclusion

The Apache Commons FileUpload library before version 1.3.3 is vulnerable to remote code execution. It is crucial to upgrade to the latest version to mitigate the risk. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for libcommons-fileupload-java →

Share this vulnerability

FAQ

Apache Commons FileUpload is a Java library used for handling file uploads in web applications.

This vulnerability allows an attacker to execute arbitrary code on the server hosting the vulnerable application.

You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) to the playground and it will alert you if the vulnerability is present.

Yes, upgrading to Apache Commons FileUpload version 1.3.3 or later will fix this vulnerability.

No, there are no known workarounds for this vulnerability. Upgrading to the patched version is the recommended solution.

Related vulnerabilities

Recent vulnerabilities recorded for libcommons-fileupload-java.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback