CVE-2026-85313
published medium CVSS 3.1 · 4.3Apache Camel: Camel-Jetty Cross-Origin Credential Exposure via Allow-All CrossOriginFilter Defaults When enableCORS Is Set
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org.apache.camel:camel-jettyApache Camel · 4.0.0 to < 4.18.5 (affected · maven) · 4.19.0 to < 4.22.1 (affected · maven) · 4.18.5 (unaffected · maven) · 4.22.1 (unaffected · maven) · 4.23.0 (unaffected · maven) · Other versions: unaffected | Version-specific | Not stated | apache |
Description
Permissive Cross-domain Policy with Untrusted Domains vulnerability in Apache Camel Jetty component. This issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1. Setting enableCORS on a Jetty endpoint installed Jetty's CrossOriginFilter with its stock defaults, which accept every origin and allow credentials. An operator asking for CORS therefore obtained a policy that lets a page on any origin make credentialed cross-origin requests to the endpoint and read the responses, without any indication that turning the option on had chosen an allow-all policy rather than an empty one to be filled in. This is the same defect class as the platform-http-vertx advisory published alongside it, in a different component. Upgrade to Apache Camel 4.23.0, which fixes the issue. Users on the 4.18.x LTS releases stream should upgrade to 4.18.5. Users on the 4.22.x LTS releases stream should upgrade to 4.22.1. enableCORS no longer grants credentials to an origin the operator did not name. A deployment that relied on any origin being accepted must now list its origins explicitly. For deployments that cannot upgrade immediately, configure the CrossOriginFilter parameters explicitly rather than relying on what enableCORS installs, naming the allowed origins.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- apache · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Camel | 4.0.0 to < 4.18.5 (affected · maven)4.19.0 to < 4.22.1 (affected · maven)4.18.5 (unaffected · maven)4.22.1 (unaffected · maven)4.23.0 (unaffected · maven)Default: unaffected | apache · cna |
Weaknesses
1- CWE-942 CWE-942 Permissive Cross-domain Policy with Untrusted Domains
References
5- Apache Camel Security Advisory - CVE-2026-85313 https://camel.apache.org/security/CVE-2026-85313.html
- Fix on main, released in 4.23.0 (commit 6e3e4ec510b4966c70ad99b3c032e27d6adbef9d) https://github.com/apache/camel/pull/25829
- Backport to camel-4.22.x, released in 4.22.1 (commit b0399b181d26cd8b136fa98b54ec8e5c283338da) https://github.com/apache/camel/pull/25937
- Backport to camel-4.18.x, released in 4.18.5 (commit e23332aec12f7ec3a841e52d1821e2a580c2fbc7) https://github.com/apache/camel/pull/25938
- CAMEL-24450 https://issues.apache.org/jira/browse/CAMEL-24450
Provider assertions
2apache · cna
Apache Camel: Camel-Jetty Cross-Origin Credential Exposure via Allow-All CrossOriginFilter Defaults When enableCORS Is Set
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ad054627391543ba1e94304eb90af92492413c2d2cc9d0fb7d8db864b5fc190b
- Ingested
- 19 Oct 2026, 14:39:49 UTC
- Source record
- Official CVE record