# CVE-2013-2186: Arbitrary file write in Apache Commons Fileupload

Source: https://junglewise.ai/threats/cve-2013-2186-arbitrary-file-write-in-apache-commons-fileupload  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-14  
License: CC BY 4.0 with a link back

CVE-2013-2186 · Severity: info · Published 2022-05-14

Arbitrary file write in Apache Commons Fileupload

Technologies: [commons-fileupload:commons-fileupload (Maven)](https://junglewise.ai/threats/technologies/commons-fileupload-commons-fileupload). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2013-2186 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2013-2186 being exploited in the wild.

**How severe is CVE-2013-2186?** Informational severity, published 14 May 2022.

**Which products and versions are affected?** commons-fileupload:commons-fileupload (Maven) ECOSYSTEM:introduced=0,fixed=1.3.1.

**Is there a fix for CVE-2013-2186?** Yes. commons-fileupload:commons-fileupload (Maven): upgrade to 1.3.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2013-2186?** Check whether you run commons-fileupload:commons-fileupload (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- commons-fileupload:commons-fileupload (Maven): upgrade to 1.3.1 or later

  ```sh
  # set commons-fileupload:commons-fileupload to 1.3.1 in your pom.xml or build.gradle
  ```


## Affected products

- commons-fileupload:commons-fileupload (Maven) ECOSYSTEM:introduced=0,fixed=1.3.1

## Identifiers

- CVE-2013-2186
- GHSA-qx6h-9567-5fqw

## Related threats

- [Apache Commons FileUpload, Apache Commons FileUpload: FileUpload DoS via part headers](https://junglewise.ai/threats/cve-2025-48976-apache-commons-fileupload-apache-commons-fileupload-fileupload)
- [Apache Commons FileUpload denial of service via resource exhaustion](https://junglewise.ai/threats/cve-2023-24998-apache-commons-fileupload-denial-of-service-via-resource)
- [Incorrect Default Permissions in Apache Commons FileUpload](https://junglewise.ai/threats/cve-2013-0248-incorrect-default-permissions-in-apache-commons-fileupload)
- [Improper Access Control in commons-fileupload](https://junglewise.ai/threats/cve-2016-1000031-improper-access-control-in-commons-fileupload)
- [Commons FileUpload Denial of service vulnerability](https://junglewise.ai/threats/cve-2014-0050-commons-fileupload-denial-of-service-vulnerability)
