# Apache Camel's Mail is vulnerable to path traversal

Advisory record · `GHSA-jv74-f9pj-xp3f`

- **Identifiers:** `GHSA-jv74-f9pj-xp3f` · `CVE-2018-8041`
- **State:** Confirmed
- **Severity:** CVSS 5.3 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-22](https://cwe.mitre.org/data/definitions/22.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md)
- **Published:** 16 Oct 2018
- **Updated:** 16 Feb 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 16 Oct 2018, 23:07 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.apache.camel:camel-mail` (Maven): affected `>=2.20.0, <2.20.4 || >=2.21.0, <2.21.2 || >=2.22.0, <2.22.1`; fixed in `2.20.4`, `2.21.2`, `2.22.1`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.3 Medium, CVSS 3.0: `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.096, the 95th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 16 Oct 2018. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-jv74-f9pj-xp3f](https://github.com/advisories/GHSA-jv74-f9pj-xp3f)
- [OSV: GHSA-jv74-f9pj-xp3f](https://osv.dev/vulnerability/GHSA-jv74-f9pj-xp3f)
- <https://nvd.nist.gov/vuln/detail/CVE-2018-8041>
- <https://github.com/apache/camel/commit/4580e4d6c65cfd544c1791c824b5819477c583cc>
- <https://github.com/apache/camel/commit/4f401c09d22c45c94fa97746dc31905e06b19e3>
- <https://github.com/apache/camel/commit/63c7c080de4d18f9ceb25843508710df2c2c6d4>
- <https://github.com/apache/camel/commit/a0d25d9582c6ee85e9567fa39413df0b4f02ef7>
- <https://access.redhat.com/errata/RHSA-2018:3768>
- <https://github.com/advisories/GHSA-jv74-f9pj-xp3f>
- <https://github.com/apache/camel>
- <https://issues.apache.org/jira/browse/CAMEL-12630>
- <https://lists.apache.org/thread.html/2318d7f7d87724d8716cd650c21b31cb06e4d34f6d0f5ee42f28fdaf@%3Ccommits.camel.apache.org%3E>
- <https://lists.apache.org/thread.html/b4014ea7c5830ca1fc28edd5cafedfe93ad4af2d9e69c961c5def31d@%3Ccommits.camel.apache.org%3E>
- <http://camel.apache.org/security-advisories.data/CVE-2018-8041.txt.asc?version=1&modificationDate=1536746339000&api=v2>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-jv74-f9pj-xp3f>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-jv74-f9pj-xp3f/>. Everything for agents: <https://agentprime.io/llms.txt>.
