# CVE-2018-8041: Apache Camel's Mail is vulnerable to path traversal

Source: https://junglewise.ai/threats/cve-2018-8041-apache-camel-s-mail-is-vulnerable-to-path-traversal  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2018-10-16  
License: CC BY 4.0 with a link back

CVE-2018-8041 · Severity: low · CVSS 3 · Published 2018-10-16

Apache Camel's Mail is vulnerable to path traversal

Technologies: [org.apache.camel:camel-mail (Maven)](https://junglewise.ai/threats/technologies/org-apache-camel-camel-mail). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

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

**How severe is CVE-2018-8041?** Low severity, with a CVSS score of 3, published 16 October 2018.

**Which products and versions are affected?** org.apache.camel:camel-mail (Maven) ECOSYSTEM:introduced=2.20.0,fixed=2.20.4.

**Is there a fix for CVE-2018-8041?** Yes. org.apache.camel:camel-mail (Maven): upgrade to 2.20.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2018-8041?** Check whether you run org.apache.camel:camel-mail (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

- org.apache.camel:camel-mail (Maven): upgrade to 2.20.4 or later

  ```sh
  # set org.apache.camel:camel-mail to 2.20.4 in your pom.xml or build.gradle
  ```


## Affected products

- org.apache.camel:camel-mail (Maven) ECOSYSTEM:introduced=2.20.0,fixed=2.20.4

## Identifiers

- CVE-2018-8041
- GHSA-jv74-f9pj-xp3f

## Related threats

- [Apache Camel-Mail header injection via headersInline](https://junglewise.ai/threats/cve-2026-59230-apache-camel-mail-header-injection-via-headersinline)
- [Apache Camel Mail information exposure via SMTP header injection](https://junglewise.ai/threats/cve-2026-46584-apache-camel-mail-information-exposure-via-smtp-header-injection)
- [Apache Camel header injection in Camel-Mail component](https://junglewise.ai/threats/cve-2026-33454-apache-camel-header-injection-in-camel-mail-component)
