Home / Apache Software Foundation / Apache Camel / CVE-2018-8041
CVE-2018-8041: is it exploited, and which versions of Apache Software Foundation Apache Camel are affected and fixed?
CVE-2018-8041 is a path traversal (reading or writing files outside the intended folder) vulnerability in Apache Software Foundation Apache Camel. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: org.apache.camel:camel-mail from 2.20.0 before 2.20.4, org.apache.camel:camel-mail from 2.21.0 before 2.21.2 and org.apache.camel:camel-mail from 2.22.0 before 2.22.1 (GitHub advisory GHSA-jv74-f9pj-xp3f). Fixed in 2.20.4, 2.21.2 and 2.22.1 (GitHub advisory GHSA-jv74-f9pj-xp3f). Severity: Medium (5.3, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:29 UTC.
What is CVE-2018-8041?
Apache Camel's Mail 2.20.0 through 2.20.3, 2.21.0 through 2.21.1 and 2.22.0 is vulnerable to path traversal.
From the CVE record by apache, last updated September 17, 2024, 04:29 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Camel | Camel 2.20.0 to 2.20.3, Camel 2.21.0 to 2.21.1 and Camel 2.22.0 |
As the CVE record by apache states it, last updated September 17, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.camel:camel-mail | >= 2.20.0, < 2.20.4 | 2.20.4 | GHSA-jv74-f9pj-xp3f |
| Maven | org.apache.camel:camel-mail | >= 2.21.0, < 2.21.2 | 2.21.2 | GHSA-jv74-f9pj-xp3f |
| Maven | org.apache.camel:camel-mail | >= 2.22.0, < 2.22.1 | 2.22.1 | GHSA-jv74-f9pj-xp3f |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 17, 2022. Summary: Apache Camel's Mail is vulnerable to path traversal.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | camel | from 2.20.0 through 2.20.3 | application |
| apache | camel | from 2.21.0 through 2.21.1 | application |
| apache | camel | 2.22.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:04 UTC.
How severe is CVE-2018-8041?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-8041 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 9.47% probability of exploitation activity in the next 30 days, percentile 95.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- http://camel.apache.org/security-advisories.data/CVE-2018-8041.txt.asc?version=1&modificationDate=1536746339000&api=v2 x_refsource_CONFIRM
- 105352 vdb-entry, x_refsource_BID
- https://issues.apache.org/jira/browse/CAMEL-12630 x_refsource_CONFIRM
- RHSA-2018:3768 vendor-advisory, x_refsource_REDHAT
- [camel-commits] 20190430 svn commit: r1044347 - in /websites/production/camel/content: cache/main.pageCache security-advisories.data/CVE-2019-0194.txt.asc secur mailing-list, x_refsource_MLIST
- [camel-commits] 20190524 svn commit: r1045395 - in /websites/production/camel/content: cache/main.pageCache security-advisories.data/CVE-2019-0188.txt.asc secur mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- March 9, 2018
- Published
- September 17, 2018, 14:00 UTC
- CVE record updated
- September 17, 2024, 04:29 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 02:04 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:29 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Camel?
- Nov 30, 2026CVE-2026-105968 Apache Software Foundation Apache Camel: improper authorization
- Nov 30, 2026CVE-2026-105966 Apache Software Foundation Apache Camel: missing authorization
- Nov 30, 2026CVE-2026-103873 Apache Software Foundation Apache Camel: information disclosure
- Oct 29, 2026CVE-2026-71569 Apache Software Foundation Apache Camel: server-side request forgery (SSRF)
- Oct 26, 2026CVE-2026-90885 Apache Software Foundation Apache Camel: XML external entity (XXE)
- Oct 26, 2026CVE-2026-94386 Apache Software Foundation Apache Camel: use of Cache Containing Sensitive Information
- Oct 26, 2026CVE-2026-95628 Apache Software Foundation Apache Camel: path traversal (reading or writing files outside the intended folder)
- Oct 26, 2026CVE-2026-95629 Apache Software Foundation Apache Camel: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2018-8041
Is CVE-2018-8041 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 9.47% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Software Foundation Apache Camel are affected by CVE-2018-8041?
org.apache.camel:camel-mail from 2.20.0 before 2.20.4, org.apache.camel:camel-mail from 2.21.0 before 2.21.2 and org.apache.camel:camel-mail from 2.22.0 before 2.22.1, per the GitHub advisory GHSA-jv74-f9pj-xp3f. The tables above give every range the sources list.
Which version fixes CVE-2018-8041?
2.20.4, 2.21.2 and 2.22.1, per the GitHub advisory GHSA-jv74-f9pj-xp3f. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-8041?
Medium (5.3, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2018-8041?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.