This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 097335aff49b CAMEL-27347: camel-catalog - keep the security advisories
and known releases in sync with camel-website before each release (#30561)
097335aff49b is described below
commit 097335aff49b8a2423569b8b160f81ef1192f204
Author: Claus Ibsen <[email protected]>
AuthorDate: Sat Nov 21 20:14:22 2026 +0100
CAMEL-27347: camel-catalog - keep the security advisories and known
releases in sync with camel-website before each release (#30561)
The catalog had 76 of the 137 published Apache Camel security advisories:
the advisories are regenerated (61 added) and the Camel Quarkus releases
(3.40.1 added). A new weekly workflow, sync-catalog-website.yml, runs the sync
goals (main: advisories and releases, 4.22.x and 4.18.x: releases) and opens a
PR, and refuses a sync with fewer entries or with no file to count. The sync
goals fail on a rate-limited, empty or failed listing instead of writing a
shorter list, and send GITHUB_TO [...]
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Claus Ibsen <[email protected]>
---
.github/workflows/sync-catalog-website.yml | 116 +++
.../advisories/camel-security-advisories.json | 816 +++++++++++++++++++++
.../catalog/releases/camel-quarkus-releases.json | 7 +
.../modules/ROOT/pages/release-guide.adoc | 14 +
.../camel/maven/packaging/CamelWebsiteContent.java | 118 +++
.../maven/packaging/UpdateCamelReleasesMojo.java | 113 +--
.../packaging/UpdateSecurityAdvisoriesMojo.java | 76 +-
.../maven/packaging/CamelWebsiteContentTest.java | 116 +++
8 files changed, 1223 insertions(+), 153 deletions(-)
diff --git a/.github/workflows/sync-catalog-website.yml
b/.github/workflows/sync-catalog-website.yml
new file mode 100644
index 000000000000..d404cd7f39be
--- /dev/null
+++ b/.github/workflows/sync-catalog-website.yml
@@ -0,0 +1,116 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: Sync catalog with camel-website
+
+# The catalog ships the Apache Camel security advisories and the known
releases, generated from the
+# camel-website repository (content/security, content/releases) by the
update-security-advisories and
+# update-camel-releases goals. This workflow runs them every week, and before
a release on demand, and opens
+# a PR when something changed, so a release never ships stale lists
(CAMEL-27347). Like generate-sbom.yml it
+# lives on main only and checks out each branch of the matrix in turn; the LTS
branches have no advisories.
+on:
+ schedule:
+ # Every Monday at 06:00 UTC
+ - cron: '0 6 * * 1'
+ workflow_dispatch:
+
+permissions: {}
+jobs:
+ sync:
+ if: github.repository == 'apache/camel'
+ permissions:
+ contents: write
+ pull-requests: write # to create a PR (peter-evans/create-pull-request)
+
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ include:
+ - branch: 'main'
+ goals: 'camel-package:update-security-advisories
camel-package:update-camel-releases'
+ - branch: 'camel-4.22.x'
+ goals: 'camel-package:update-camel-releases'
+ - branch: 'camel-4.18.x'
+ goals: 'camel-package:update-camel-releases'
+ steps:
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
+ with:
+ ref: ${{ matrix.branch }}
+ persist-credentials: false
+ - name: Set up JDK 21
+ uses: actions/setup-java@d1374f8ac74474200d16ef8ecee22c7ae7a51880 #
v6.3.0
+ with:
+ distribution: 'temurin'
+ java-version: '21'
+ cache: 'maven'
+ - name: Count the entries before the sync
+ run: |
+ for f in $(git ls-files
'catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/advisories/*.json'
'catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/releases/*.json');
do
+ echo "$f $(jq length "$f")"
+ done > "$RUNNER_TEMP/before.txt"
+ cat "$RUNNER_TEMP/before.txt"
+ # no file means a moved folder: the check below would then pass
without checking anything
+ if [ ! -s "$RUNNER_TEMP/before.txt" ]; then
+ echo "::error::no advisories or releases JSON file found in
camel-catalog"
+ exit 1
+ fi
+ - name: Build the sync goals
+ run: ./mvnw -B -l build.log -Dquickly install -pl
tooling/maven/camel-package-maven-plugin -am
+ - name: Sync with camel-website
+ env:
+ # the GitHub API listings are rate limited without a token
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ run: ./mvnw -B -pl catalog/camel-catalog ${{ matrix.goals }}
+ - name: Check that no entry was lost
+ # a sync only adds entries: fewer means GitHub did not answer in full,
so no PR is opened
+ run: |
+ while read -r f before; do
+ after=$(jq length "$f")
+ echo "$f: $before -> $after"
+ if [ "$after" -lt "$before" ]; then
+ echo "::error file=$f::the sync has fewer entries ($after) than
before ($before)"
+ exit 1
+ fi
+ done < "$RUNNER_TEMP/before.txt"
+ - name: archive logs
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
# v7.0.2
+ if: always()
+ with:
+ name: sync-catalog-${{ matrix.branch }}.log
+ path: build.log
+ - name: Create Pull Request
+ uses:
peter-evans/create-pull-request@3ffccacd46053766916f087ce41d627c0b8cf2d1 #
v8.1.3
+ with:
+ base: ${{ matrix.branch }}
+ token: ${{ secrets.GITHUB_TOKEN }}
+ add-paths: |
+
catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/advisories/*.json
+
catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/releases/*.json
+ commit-message: "Sync the catalog with camel-website for ${{
matrix.branch }}"
+ committer: GitHub <[email protected]>
+ author: ${{ github.actor }} <${{ github.actor
}}@users.noreply.github.com>
+ signoff: true
+ branch: regen_bot_catalog_website_${{ matrix.branch }}
+ title: "Sync the catalog security advisories and releases with
camel-website (${{ matrix.branch }})"
+ body: |
+ Regen bot :robot: synced the Apache Camel security advisories and
the known releases of the catalog with camel-website for :camel: `${{
matrix.branch }}`.
+ Please do not delete `regen_bot_catalog_website_${{ matrix.branch
}}` branch after merge/rebase.
+ labels: |
+ regen
+ automated pr
+ camel-4
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/advisories/camel-security-advisories.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/advisories/camel-security-advisories.json
index 569f7e6a4aa1..8b15f1bfda67 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/advisories/camel-security-advisories.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/advisories/camel-security-advisories.json
@@ -1028,5 +1028,821 @@
"camel-aws2-sns",
"camel-aws2-sqs"
]
+ },
+ {
+ "cve": "CVE-2026-59230",
+ "date": "2026-08-24T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-Mail: the MimeMultipart data format copied MIME
headers onto the Camel message without a header filter strategy when
unmarshalling with headersInline enabled, so a crafted message could inject
Camel-internal headers",
+ "affected": "From 2.17.0 before 4.14.9, from 4.15.0 before 4.18.4,
from 4.19.0 before 4.22.0.",
+ "fixed": "4.14.9, 4.18.4 and 4.22.0",
+ "mitigation": "Users are recommended to upgrade to version 4.22.0,
which fixes the issue. If users are on the 4.14.x LTS releases stream, then
they are suggested to upgrade to 4.14.9. If users are on the 4.18.x releases
stream, then they are suggested to upgrade to 4.18.4. For deployments that
cannot upgrade immediately, leave headersInline at its default of false where
the inline headers are not needed, since the copy is only reached when it is
enabled. Where it must stay enable [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-59230.html",
+ "components": [
+ "camel-mail",
+ "camel-sql"
+ ]
+ },
+ {
+ "cve": "CVE-2026-60093",
+ "date": "2026-08-24T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-Azure-Storage-DataLake: the downloadToFile operation
built the local download target from the remote path name without constraining
it to the configured fileDir, so a name containing traversal segments could
write outside that directory",
+ "affected": "From 4.0.0 before 4.14.9, from 4.15.0 before 4.18.4, from
4.19.0 before 4.22.0.",
+ "fixed": "4.14.9, 4.18.4 and 4.22.0",
+ "mitigation": "Users are recommended to upgrade to version 4.22.0,
which fixes the issue. If users are on the 4.14.x LTS releases stream, then
they are suggested to upgrade to 4.14.9. If users are on the 4.18.x releases
stream, then they are suggested to upgrade to 4.18.4. For deployments that
cannot upgrade immediately, constrain the names the consumer will act on using
the regex endpoint option, which is applied to each listed path name as a
full-string match, so that only simp [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-60093.html",
+ "components": [
+ "camel-azure-files",
+ "camel-azure-storage-datalake",
+ "camel-file",
+ "camel-ftp",
+ "camel-mina-sftp",
+ "camel-smb"
+ ]
+ },
+ {
+ "cve": "CVE-2026-63621",
+ "date": "2026-08-24T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-Knative: CloudEvent extension fields received in
structured content mode were mapped onto message headers without applying any
header filter strategy, so an untrusted sender could inject Camel-internal
headers",
+ "affected": "From 3.15.0 before 4.14.9, from 4.15.0 before 4.18.4,
from 4.19.0 before 4.22.0.",
+ "fixed": "4.14.9, 4.18.4 and 4.22.0",
+ "mitigation": "Users are recommended to upgrade to version 4.22.0,
which fixes the issue. If users are on the 4.14.x LTS releases stream, then
they are suggested to upgrade to 4.14.9. If users are on the 4.18.x releases
stream, then they are suggested to upgrade to 4.18.4. The fix landed on the
maintenance lines and on main only; the non-LTS 4.15.x, 4.16.x, 4.17.x, 4.19.x,
4.20.x and 4.21.x releases are affected and are no longer maintained, so users
on those lines should move to [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-63621.html",
+ "components": [
+ "camel-knative"
+ ]
+ },
+ {
+ "cve": "CVE-2026-66906",
+ "date": "2026-08-24T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-Azure-Storage-Blob: the downloadBlobToFile operation
built the local download target from the remote blob name without constraining
it to the configured fileDir, so a name containing traversal segments could
write outside that directory",
+ "affected": "From 4.0.0 before 4.14.9, from 4.15.0 before 4.18.4, from
4.19.0 before 4.22.0.",
+ "fixed": "4.14.9, 4.18.4 and 4.22.0",
+ "mitigation": "Users are recommended to upgrade to version 4.22.0,
which fixes the issue. If users are on the 4.14.x LTS releases stream, then
they are suggested to upgrade to 4.14.9. If users are on the 4.18.x releases
stream, then they are suggested to upgrade to 4.18.4. For deployments that
cannot upgrade immediately, constrain the names the consumer will act on using
the regex endpoint option, which is applied to each listed blob name as a
full-string match, so that only simp [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-66906.html",
+ "components": [
+ "camel-azure-files",
+ "camel-azure-storage-blob",
+ "camel-file",
+ "camel-ftp",
+ "camel-mina-sftp",
+ "camel-smb"
+ ]
+ },
+ {
+ "cve": "CVE-2026-66907",
+ "date": "2026-08-24T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-Google-Storage: the consumer appended the remote
object name to the configured downloadFileName directory without constraining
the result, so an object name containing traversal segments could write outside
that directory",
+ "affected": "From 4.0.0 before 4.14.9, from 4.15.0 before 4.18.4, from
4.19.0 before 4.22.0.",
+ "fixed": "4.14.9, 4.18.4 and 4.22.0",
+ "mitigation": "Users are recommended to upgrade to version 4.22.0,
which fixes the issue. If users are on the 4.14.x LTS releases stream, then
they are suggested to upgrade to 4.14.9. If users are on the 4.18.x releases
stream, then they are suggested to upgrade to 4.18.4. For deployments that
cannot upgrade immediately, set the filter option to a regular expression that
accepts only simple single-segment object names, so that any name carrying a
path separator or a parent-direct [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-66907.html",
+ "components": [
+ "camel-azure-files",
+ "camel-file",
+ "camel-ftp",
+ "camel-google-storage",
+ "camel-mina-sftp",
+ "camel-smb"
+ ]
+ },
+ {
+ "cve": "CVE-2026-66908",
+ "date": "2026-08-24T10:00:00+02:00",
+ "severity": "HIGH",
+ "summary": "Camel-platform-http-main: when JWT authentication was
configured with a keystore but no issuer or audience, the iss and aud claims
were never validated, so any unexpired token signed by a trusted key was
accepted",
+ "affected": "From 4.8.0 before 4.22.0.",
+ "fixed": "4.22.0",
+ "mitigation": "Users are recommended to upgrade to version 4.22.0,
which fixes the issue. From 4.22.0 the server refuses to start when a JWT
keystore is configured but neither jwtIssuer nor jwtAudience is set, naming the
properties involved, and a deployment that genuinely wants signature and expiry
validation only must say so explicitly with the new
jwtAllowMissingIssuerAndAudience option, which defaults to false. This
behaviour is fixed only on 4.22.0. The 4.14.9 and 4.18.4 rel [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-66908.html",
+ "components": [
+ "camel-main",
+ "camel-platform-http-main"
+ ]
+ },
+ {
+ "cve": "CVE-2026-71300",
+ "date": "2026-08-24T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-Atmosphere-Websocket: WebSocket dispatch header
injection - the producer selected its target peers through Exchange headers
whose names sat outside the filtered Camel namespace, so an external sender
could take over the dispatch decision",
+ "affected": "From 4.0.0 before 4.14.9, from 4.15.0 before 4.18.4, from
4.19.0 before 4.22.0.",
+ "fixed": "4.14.9, 4.18.4 and 4.22.0",
+ "mitigation": "Users are recommended to upgrade to version 4.22.0,
which fixes the issue. If users are on the 4.14.x LTS releases stream, then
they are suggested to upgrade to 4.14.9. If users are on the 4.18.x releases
stream, then they are suggested to upgrade to 4.18.4. For deployments that
cannot upgrade immediately, strip the dispatch headers at the trust boundary
before the producer, for example with removeHeaders(\"websocket.*\") placed
between the HTTP consumer and the at [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-71300.html",
+ "components": [
+ "camel-atmosphere-websocket"
+ ]
+ },
+ {
+ "cve": "CVE-2026-71569",
+ "date": "2026-10-23T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-A2A: Push notification webhook guard accepts IPv6
unique local addresses reached through a host name, enabling blind server-side
request forgery",
+ "affected": "From 4.21.0 before 4.22.2.",
+ "fixed": "4.22.2 and 4.23.0",
+ "mitigation": "Users are recommended to upgrade to version 4.23.0,
which fixes the issue. If users are on the 4.22.x releases stream, then they
are suggested to upgrade to 4.22.2. The 4.21.x release line reached end of life
before this issue was resolved and will not receive a fix, so deployments on it
must move to a supported release. Both the literal and the resolved path now
classify the address from its raw bytes with one shared classifier, which
recognises fc00::\/7 and the [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-71569.html",
+ "components": [
+ "camel-a2a"
+ ]
+ },
+ {
+ "cve": "CVE-2026-78162",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-Hazelcast: Incomplete fix for CVE-2026-43865 leaves
managed instances without a Java deserialization filter, enabling remote code
execution",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "Users are recommended to upgrade to version 4.23.0,
which fixes the issue. If users are on the 4.22.x releases stream, then they
are suggested to upgrade to 4.22.1. If users are on the 4.18.x releases stream,
then they are suggested to upgrade to 4.18.5. The 4.14.x releases stream and
earlier reached end of life before this issue was resolved and will not receive
a fix, so deployments on those lines must move to a supported release. For
deployments that cannot upgr [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-78162.html",
+ "components": [
+ "camel-hazelcast"
+ ]
+ },
+ {
+ "cve": "CVE-2026-78163",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-Docling: Unvalidated message body input source
enables server-side request forgery and local file disclosure in
DoclingProducer",
+ "affected": "From 4.15.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "Users are recommended to upgrade to version 4.23.0,
which fixes the issue. If users are on the 4.22.x releases stream, then they
are suggested to upgrade to 4.22.1. If users are on the 4.18.x releases stream,
then they are suggested to upgrade to 4.18.5. The 4.15.x to 4.17.x and 4.19.x
to 4.21.x release lines reached end of life before this issue was resolved and
will not receive a fix, so deployments on them must move to a supported
release. For deployments that c [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-78163.html",
+ "components": [
+ "camel-docling"
+ ]
+ },
+ {
+ "cve": "CVE-2026-78164",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "HIGH",
+ "summary": "Camel HTTP producers: property placeholders were resolved
on the message-supplied endpoint-URI override headers, so an unauthenticated
sender able to influence those headers could have configuration values and
vault secrets expanded into the outbound request and no-argument registry bean
methods invoked",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "Users are recommended to upgrade to version 4.23.0,
which fixes the issue. If users are on the 4.22.x releases stream, then they
are suggested to upgrade to 4.22.1. If users are on the 4.18.x releases stream,
then they are suggested to upgrade to 4.18.5. The 4.14.x releases stream and
earlier reached end of life before this issue was resolved and will not receive
a fix, so deployments on those lines must move to a supported release. For
deployments that cannot upgr [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-78164.html",
+ "components": [
+ "camel-bean",
+ "camel-http",
+ "camel-http-common",
+ "camel-http4",
+ "camel-netty-http",
+ "camel-netty4",
+ "camel-undertow",
+ "camel-vertx-http"
+ ]
+ },
+ {
+ "cve": "CVE-2026-78165",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "HIGH",
+ "summary": "Camel-Spring-Redis: The default
JdkSerializationRedisSerializer deserializes Redis payloads with no
ObjectInputFilter, allowing an actor who can publish to the subscribed channel
to achieve remote code execution",
+ "affected": "From 2.11.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "Users are recommended to upgrade to version 4.23.0,
which fixes the issue. If users are on the 4.22.x releases stream, then they
are suggested to upgrade to 4.22.1. If users are on the 4.18.x releases stream,
then they are suggested to upgrade to 4.18.5. The 4.14.x releases stream and
earlier reached end of life before this issue was resolved and will not receive
a fix, so deployments on those lines must move to a supported release. For
deployments that cannot upgr [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-78165.html",
+ "components": [
+ "camel-spring-redis"
+ ]
+ },
+ {
+ "cve": "CVE-2026-78329",
+ "date": "2026-08-24T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-Undertow: the endpoint discarded the
undertow-specific header filter strategy in favour of the base HTTP one, so the
undertow filtering never ran on endpoint-configured routes",
+ "affected": "From 4.11.0 before 4.14.9, from 4.15.0 before 4.18.4,
from 4.19.0 before 4.22.0.",
+ "fixed": "4.14.9, 4.18.4 and 4.22.0",
+ "mitigation": "Users are recommended to upgrade to version 4.22.0,
which fixes the issue. If users are on the 4.14.x LTS releases stream, then
they are suggested to upgrade to 4.14.9. If users are on the 4.18.x releases
stream, then they are suggested to upgrade to 4.18.4. For deployments that
cannot upgrade immediately, configure the strategy explicitly rather than
relying on the default, for example by binding an UndertowHeaderFilterStrategy
in the registry and referencing it o [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-78329.html",
+ "components": [
+ "camel-prefix",
+ "camel-undertow"
+ ]
+ },
+ {
+ "cve": "CVE-2026-79983",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "HIGH",
+ "summary": "Camel-FTP: the consumer built the remote path of a polled
file from the name reported in the server directory listing without
constraining it to the polled directory, so a crafted listing entry could be
retrieved, deleted or renamed outside it",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "Upgrade to Apache Camel 4.23.0, which fixes the issue.
Users on the 4.22.x releases stream should upgrade to 4.22.1. Users on the
4.18.x LTS releases stream should upgrade to 4.18.5. The 4.14.x stream reached
end of life and does not receive this fix; users on it should move to a
supported releases stream. The fix adds a separator-aware
GenericFileHelper.isWithinDirectory overload, since remote paths always use a
forward slash regardless of the platform Camel runs [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-79983.html",
+ "components": [
+ "camel-ftp"
+ ]
+ },
+ {
+ "cve": "CVE-2026-79984",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "HIGH",
+ "summary": "Camel-Mina-SFTP: the consumer built the remote path of a
polled file from the name reported in the server directory listing without
constraining it to the polled directory, so a crafted listing entry could be
retrieved, deleted or renamed outside it",
+ "affected": "From 4.18.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "Upgrade to Apache Camel 4.23.0, which fixes the issue.
Users on the 4.22.x releases stream should upgrade to 4.22.1. Users on the
4.18.x LTS releases stream should upgrade to 4.18.5. The 4.19.x to 4.21.x
streams reached end of life and do not receive this fix; users on them should
move to a supported releases stream. The fix adds a separator-aware
GenericFileHelper.isWithinDirectory overload, since remote paths always use a
forward slash regardless of the platform [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-79984.html",
+ "components": [
+ "camel-mina-sftp"
+ ]
+ },
+ {
+ "cve": "CVE-2026-79985",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "HIGH",
+ "summary": "Camel-SMB: the consumer built the remote path of a polled
file from the name reported in the share listing without constraining it to the
polled directory, so a crafted listing entry could be retrieved, deleted or
renamed outside it",
+ "affected": "From 4.2.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "Upgrade to Apache Camel 4.23.0, which fixes the issue.
Users on the 4.22.x releases stream should upgrade to 4.22.1. Users on the
4.18.x LTS releases stream should upgrade to 4.18.5. The 4.14.x stream reached
end of life and does not receive this fix; users on it should move to a
supported releases stream. The fix adds a separator-aware
GenericFileHelper.isWithinDirectory overload, since remote paths always use a
forward slash regardless of the platform Camel runs [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-79985.html",
+ "components": [
+ "camel-smb"
+ ]
+ },
+ {
+ "cve": "CVE-2026-79986",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "HIGH",
+ "summary": "Camel-Azure-Files: the consumer built the remote path of a
polled file from the name reported in the share listing without constraining it
to the polled directory, so a crafted listing entry could be retrieved, deleted
or renamed outside it",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "Upgrade to Apache Camel 4.23.0, which fixes the issue.
Users on the 4.22.x releases stream should upgrade to 4.22.1. Users on the
4.18.x LTS releases stream should upgrade to 4.18.5. The 4.14.x stream reached
end of life and does not receive this fix; users on it should move to a
supported releases stream. The fix adds a separator-aware
GenericFileHelper.isWithinDirectory overload, since remote paths always use a
forward slash regardless of the platform Camel runs [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-79986.html",
+ "components": [
+ "camel-azure-files"
+ ]
+ },
+ {
+ "cve": "CVE-2026-80312",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "HIGH",
+ "summary": "Camel-OAuth: authentication bypass - the OAuth processors
returned control to the route instead of stopping it when authentication could
not be completed, so a request that failed authentication was processed as if
it had succeeded",
+ "affected": "From 4.11.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. The processors now stop
the exchange and set the appropriate error status whenever an authenticated
session cannot be established, so a failed authentication no longer reaches the
protected part of the route. For deployments that cannot upgrade immediately,
place an explicit author [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-80312.html",
+ "components": [
+ "camel-oauth"
+ ]
+ },
+ {
+ "cve": "CVE-2026-80343",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "HIGH",
+ "summary": "Camel-Netty-HTTP: security constraint bypass - the
security constraint matched the request path case sensitively while dispatch to
the route did not, so altering the case of a path segment skipped the
constraint and still reached the endpoint",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. The constraint now matches
the request path with the same case rules the dispatch uses, so the two can no
longer disagree. For deployments that cannot upgrade immediately, place the
authorization decision in front of the Camel consumer, for example in a reverse
proxy that normalise [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-80343.html",
+ "components": [
+ "camel-netty-http"
+ ]
+ },
+ {
+ "cve": "CVE-2026-80344",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "HIGH",
+ "summary": "Camel-AS2: server-side request forgery and credential
disclosure - the asynchronous MDN delivery address supplied by the remote
partner was used as the destination for the receipt, so the sender chose where
the Camel instance would connect and what credentials it would present",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. The asynchronous MDN
destination is now constrained rather than taken verbatim from the inbound
message. For deployments that cannot upgrade immediately, restrict outbound
connectivity from the AS2 receiver to the partner endpoints it legitimately
delivers receipts to, and do not a [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-80344.html",
+ "components": [
+ "camel-as2"
+ ]
+ },
+ {
+ "cve": "CVE-2026-80351",
+ "date": "2026-09-08T11:00:00+02:00",
+ "severity": "CRITICAL",
+ "summary": "Camel K Tenant repositories reach Maven execution inside
operator pod",
+ "affected": "This issue affects Apache Camel K: from 2.0.0 before
2.9.3, from 2.10.0 before 2.10.2",
+ "fixed": "2.9.3, 2.10.2 and 2.11.0",
+ "mitigation": "Users are recommended to upgrade to version 2.11.0 (or
2.10.2 or 2.9.3), which fixes the issue.",
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-80351.html"
+ },
+ {
+ "cve": "CVE-2026-80352",
+ "date": "2026-09-08T11:00:00+02:00",
+ "severity": "CRITICAL",
+ "summary": "Camel K Master trait serviceAccountName YAML injection
lets CR author apply arbitrary objects",
+ "affected": "This issue affects Apache Camel K: from 2.0.0 before
2.9.3, from 2.10.0 before 2.10.2",
+ "fixed": "2.9.3, 2.10.2 and 2.11.0",
+ "mitigation": "Users are recommended to upgrade to version 2.11.0 (or
2.10.2 or 2.9.3), which fixes the issue.",
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-80352.html"
+ },
+ {
+ "cve": "CVE-2026-80354",
+ "date": "2026-09-08T11:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel K Builder trait mavenProfiles ValueSources resolve
tenant-named secrets in operator namespace",
+ "affected": "This issue affects Apache Camel K: from 2.0.0 before
2.9.3, from 2.10.0 before 2.10.2",
+ "fixed": "2.9.3, 2.10.2 and 2.11.0",
+ "mitigation": "Users are recommended to upgrade to version 2.11.0 (or
2.10.2 or 2.9.3), which fixes the issue.",
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-80354.html"
+ },
+ {
+ "cve": "CVE-2026-83531",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "HIGH",
+ "summary": "Camel-Dynamic-Router: The dynamic-router-control endpoint
compiled the subscription predicate from an expression and an expression
language supplied by the control message, allowing an actor who can send
messages to a route that forwards them to the control endpoint to execute code
in the Camel process",
+ "affected": "From 4.4.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "Users are recommended to upgrade to version 4.23.0,
which fixes the issue. If users are on the 4.22.x releases stream, then they
are suggested to upgrade to 4.22.1. If users are on the 4.18.x releases stream,
then they are suggested to upgrade to 4.18.5. The 4.14.x releases stream and
earlier reached end of life before this issue was resolved and will not receive
a fix, so deployments on those lines must move to a supported release. After
upgrading, a control messa [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-83531.html",
+ "components": [
+ "camel-dynamic-router"
+ ]
+ },
+ {
+ "cve": "CVE-2026-84176",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-Platform-HTTP-Vertx: cross-origin credential
exposure - Access-Control-Allow-Credentials was set outside the origin check
and the caller's own Origin was reflected back when no origin list was
configured, producing a credentialed any-origin CORS policy",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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.
Access-Control-Allow-Credentials is now sent only when the request origin
matched an origin the operator actually configured. With no origin list the
origin is still reflected, as before, but credentials are not granted, and
Vary: Origin is now set whenever the origin is reflected [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-84176.html",
+ "components": [
+ "camel-platform-http-vertx"
+ ]
+ },
+ {
+ "cve": "CVE-2026-84178",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-OAuth: login cross-site request forgery - the
authorization code callback was not bound to the flow that started it, so a
code obtained in any browser could be redeemed at the callback and bound to
whichever session presented it",
+ "affected": "From 4.11.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. The authorization request
now issues a state value bound to the session, and the callback rejects a
request whose state is absent or does not match, stopping the route with a 400
response. For deployments that cannot upgrade immediately, terminate the
authorization code flow in a c [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-84178.html",
+ "components": [
+ "camel-oauth"
+ ]
+ },
+ {
+ "cve": "CVE-2026-84180",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-Knative: information disclosure - a route failure
was written back to the remote caller as the response body, so the exception
class, message and stack trace of an internal error reached an external sender",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. The consumer now honours a
muteException option that defaults to true, so a route failure returns an empty
body with the error status rather than the exception. Set muteException=false
to restore the previous output. For deployments that cannot upgrade
immediately, add an onExcepti [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-84180.html",
+ "components": [
+ "camel-knative"
+ ]
+ },
+ {
+ "cve": "CVE-2026-84181",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-Shiro: authentication bypass - the presented
credentials were not verified when the Shiro subject already bound to the
thread matched the incoming principal, so a request could reuse an
authentication it never performed",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. The processor now verifies
the presented credentials on every exchange rather than accepting a subject
already bound to the thread. Setting alwaysReauthenticate=false restores the
previous behaviour for deployments that depend on it. For deployments that
cannot upgrade immediately, [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-84181.html",
+ "components": [
+ "camel-shiro"
+ ]
+ },
+ {
+ "cve": "CVE-2026-85243",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-Crypto-PGP: integrity verification downgrade - the
modification detection code was verified only when the message used the
integrity protected packet, so a sender choosing the legacy packet skipped the
check entirely",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. A
requireIntegrityProtection option, defaulting to true, now rejects a message
that is not integrity protected. Note that signatureVerificationOption still
defaults to optional, so a message carrying no signature is accepted; the two
options together are what give a decrypted messa [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-85243.html",
+ "components": [
+ "camel-crypto-pgp"
+ ]
+ },
+ {
+ "cve": "CVE-2026-85245",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-Thrift: cross-exchange data disclosure -
unmarshalling deserialized into the shared defaultInstance rather than a copy,
so fields set by one message remained visible to the next",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. Unmarshalling now
deserializes into a copy, so each exchange gets its own instance and no state
carries between messages. For deployments that cannot upgrade immediately, copy
the unmarshalled body into a new instance immediately after the data format
runs, and do not retain refere [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-85245.html",
+ "components": [
+ "camel-thrift"
+ ]
+ },
+ {
+ "cve": "CVE-2026-85246",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-Mina: information disclosure - the consumer wrote
the route's exception straight back over the socket, handing the remote peer
its class and message over a textline codec and its serialised form over the
object codec",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. A muteException consumer
option, defaulting to true, replaces the route exception with a generic one
carrying no class name, message or stack trace, while still writing a reply so
that a synchronous peer is not left to time out. Set muteException=false to
restore the previous behav [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-85246.html",
+ "components": [
+ "camel-mina"
+ ]
+ },
+ {
+ "cve": "CVE-2026-85247",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-Knative: improper certificate validation - enabling
SSL without configuring a truststore fell back to trusting every certificate,
so turning TLS on was the thing that turned certificate validation off",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. With no truststore
configured the trust options are now left unset so the JVM default trust
anchors apply, the same fallback SSLContextParameters and the rest of Camel
use. Trusting every certificate is now reached only by asking for it explicitly
through the trust.all property, wh [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-85247.html",
+ "components": [
+ "camel-knative"
+ ]
+ },
+ {
+ "cve": "CVE-2026-85248",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-PQC: signature verification bypass - one
java.security.Signature instance was shared across concurrent exchanges without
synchronization, so interleaved use could make a verification succeed for data
it never covered",
+ "affected": "From 4.12.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. The Signature instance is
no longer shared across concurrent exchanges. For deployments that cannot
upgrade immediately, restrict the affected route to a single concurrent
consumer so that no two exchanges use the instance at once.",
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-85248.html",
+ "components": [
+ "camel-pqc"
+ ]
+ },
+ {
+ "cve": "CVE-2026-85249",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-Tika: header injection - metadata parsed out of the
submitted document was mapped onto the Exchange as headers without filtering,
so the document could set headers the route relies on, such as CamelFileName",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. Parsed document metadata
is now filtered through a HeaderFilterStrategy before it is mapped onto the
Exchange. A route that was reading a metadata-derived header the filter now
blocks will see it missing. For deployments that cannot upgrade immediately,
strip the Camel namespace af [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-85249.html",
+ "components": [
+ "camel-tika"
+ ]
+ },
+ {
+ "cve": "CVE-2026-85250",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "HIGH",
+ "summary": "Camel-XPath: XML external entity processing - the
documentType=InputSource option handed the payload to an XPath engine that
built its own parser with JDK defaults, so a DOCTYPE refused on the default
document type was accepted and its external entity resolved",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. The InputSource document
type now goes through the same hardened parser as the default type, so a
DOCTYPE is refused. Note that it also shares that type's documented escape
hatch: the same DocumentBuilderFactory system properties that relax the default
type relax this one, so a dep [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-85250.html",
+ "components": [
+ "camel-xpath"
+ ]
+ },
+ {
+ "cve": "CVE-2026-85251",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "HIGH",
+ "summary": "Camel-HTTP: credential disclosure - with followRedirects
enabled the Authorization header was re-attached to whatever host the Location
header named, so the remote server chose which host received the credentials",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. Credentials are now sent
only to the authority the endpoint was configured with, and are not re-attached
when a redirect crosses to another host. For deployments that cannot upgrade
immediately, set followRedirects=false on endpoints that carry credentials, and
handle any redirect [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-85251.html",
+ "components": [
+ "camel-http"
+ ]
+ },
+ {
+ "cve": "CVE-2026-85254",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-Platform-HTTP: request-header echo suppression
bypass - the check that stops a request header being echoed into the response
compared header names case sensitively, so a differently cased name defeated
it, and under HTTP\/2 it never matched at all",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. Request header names are
now compared case insensitively, so the suppression holds regardless of casing
and works under HTTP\/2. For deployments that cannot upgrade immediately, strip
the headers in question in front of the Camel endpoint, or remove them from the
response in the ro [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-85254.html",
+ "components": [
+ "camel-platform-http"
+ ]
+ },
+ {
+ "cve": "CVE-2026-85257",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-CXF: information disclosure - an exception thrown by
the route was described back to the SOAP client in the fault, exposing internal
exception types and messages that were never part of the service contract",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. A muteException consumer
option, defaulting to true, replaces an undeclared route failure with a generic
fault carrying no class name, message or stack trace. Faults the contract
declares are reported exactly as before. Set muteException=false to restore the
previous output. For de [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-85257.html",
+ "components": [
+ "camel-cxf"
+ ]
+ },
+ {
+ "cve": "CVE-2026-85260",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-MLLP: protected health information disclosure -
logPhi defaulted to true so HL7 payload content was written to the log out of
the box, and two code paths logged it regardless of the setting",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. logPhi now defaults to
false and is honoured on the paths that previously ignored it. This is a
changed default: a deployment that relied on payload logging must now set
logPhi=true explicitly. Because the upgrade guide for a change like this lives
on the main branch only, operator [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-85260.html",
+ "components": [
+ "camel-mllp"
+ ]
+ },
+ {
+ "cve": "CVE-2026-85296",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-AS2: cross-partner signing key confusion -
per-request signing material was held in state shared across requests, so a
receipt could be signed with the key belonging to a different trading partner",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. Per-request signing keys
are now confined to the request being processed in ResponseMDN. For deployments
that cannot upgrade immediately, run a separate Camel context per trading
partner so that no signing material is shared between them.",
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-85296.html",
+ "components": [
+ "camel-as2"
+ ]
+ },
+ {
+ "cve": "CVE-2026-85300",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-PQC: private key disclosure - generated key material
was written to disk with the process default file permissions rather than
restricted to the owner, so any local account able to read the directory could
read the private key",
+ "affected": "From 4.12.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. Key material is now
written with owner-only permissions. For deployments that cannot upgrade
immediately, place the key directory on a path only the service account can
traverse, and tighten the process umask. Key material already written with
permissive permissions should be treat [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-85300.html",
+ "components": [
+ "camel-pqc"
+ ]
+ },
+ {
+ "cve": "CVE-2026-85301",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-Keycloak: issuer validation bypass - the issuer
check was skipped rather than failed when the token introspection response
carried no iss claim, so a token from an unintended issuer could be accepted",
+ "affected": "From 4.15.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. An absent iss claim is now
treated as a validation failure rather than as a reason to skip the check. For
deployments that cannot upgrade immediately, ensure the introspection endpoint
returns the iss claim, and that it serves exactly one issuer.",
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-85301.html",
+ "components": [
+ "camel-keycloak"
+ ]
+ },
+ {
+ "cve": "CVE-2026-85312",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-Core: saga hijacking - the saga processor consulted
a Long-Running-Action header that sits outside the filtered Camel namespace, so
an external sender could name the saga an exchange joined",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. The header is now
consulted only for a saga service that actually uses it, rather than on every
exchange. For deployments that cannot upgrade immediately, strip the header at
the trust boundary with removeHeaders(\"Long-Running-Action\") on every
consumer that accepts messages from [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-85312.html",
+ "components": [
+ "camel-core"
+ ]
+ },
+ {
+ "cve": "CVE-2026-85313",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-Jetty: cross-origin credential exposure - setting
enableCORS installed Jetty's CrossOriginFilter with its allow-all defaults, so
every origin was accepted and credentials were granted to all of them",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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 [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-85313.html",
+ "components": [
+ "camel-jetty"
+ ]
+ },
+ {
+ "cve": "CVE-2026-85314",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-Mail: header injection - the MimeMultipart data
format mapped mail.smtp headers onto the Exchange without applying the filter,
leaving open the path that CVE-2026-46584 was intended to close",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. The MimeMultipart data
format now applies the header filter on unmarshal, closing the path
CVE-2026-46584 left open. For deployments that cannot upgrade immediately,
strip the namespace after the data format with removeHeaders(\"mail.smtp*\")
before any mail producer.",
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-85314.html",
+ "components": [
+ "camel-mail"
+ ]
+ },
+ {
+ "cve": "CVE-2026-85315",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-gRPC: information disclosure - the route exception's
message was placed into the gRPC status description, which is transmitted to
the caller, so an internal error message reached an external client",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. A muteException consumer
option, defaulting to true, puts a generic description in the status instead of
the route exception's message. Set muteException=false to restore the previous
output. For deployments that cannot upgrade immediately, map failures onto an
explicit status in a [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-85315.html",
+ "components": [
+ "camel-grpc"
+ ]
+ },
+ {
+ "cve": "CVE-2026-85316",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-Platform-HTTP: unintended proxy mode - proxy mode
was selected by testing whether the configured path started with proxy, so any
path beginning with those characters silently became a proxy endpoint",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. Proxy mode is now selected
by an exact path match rather than by prefix. For deployments that cannot
upgrade immediately, rename any endpoint path that begins with proxy but is not
intended to be a proxy.",
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-85316.html",
+ "components": [
+ "camel-platform-http"
+ ]
+ },
+ {
+ "cve": "CVE-2026-85317",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-HTTP: OAuth2 token confusion - the JVM-global token
cache was keyed on fewer fields than shape the token, so an endpoint could be
served a cached token minted for a different scope, resource or token endpoint",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. The cache key now includes
every field that shapes the token, so entries are no longer shared between
endpoints that differ in any of them. For deployments that cannot upgrade
immediately, run endpoints that differ in scope, resource indicator or token
endpoint in separate JVMs so [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-85317.html",
+ "components": [
+ "camel-http"
+ ]
+ },
+ {
+ "cve": "CVE-2026-88789",
+ "date": "2026-09-30T09:39:19+01:00",
+ "severity": "HIGH",
+ "summary": "Camel Quarkus: Forced Xalan TransformerFactory drops
upstream external-DTD\/stylesheet hardening",
+ "affected": "This issue affects Apache Camel Quarkus: from 3.2.0
before 3.33.3, from 3.34.0 before 3.40.0",
+ "fixed": "3.33.3 and 3.40.0",
+ "mitigation": "Users are recommended to upgrade to version 3.40.0,
which fixes the issue. Users on the 3.33.x LTS release stream are suggested to
upgrade to 3.33.3. For deployments that cannot upgrade immediately, do not pass
a javax.xml.transform.Source built from untrusted input into an xslt endpoint:
leave the message body as String, byte[] or InputStream so that Apache Camel
converts it to a SAXSource with external entities disabled before the
transformation. Note that conver [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-88789.html",
+ "components": [
+ "camel-quarkus-support-xalan",
+ "camel-quarkus-tika",
+ "camel-quarkus-xmlsecurity",
+ "camel-quarkus-xslt",
+ "camel-quarkus-xslt-saxon"
+ ]
+ },
+ {
+ "cve": "CVE-2026-88900",
+ "date": "2026-10-19T10:00:00+02:00",
+ "severity": "HIGH",
+ "summary": "Camel-JGroups: Unsafe Java deserialization of cluster
messages in the JGroups consumer can lead to remote code execution",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "Users are recommended to upgrade to version 4.23.0,
which fixes the issue. If users are on the 4.22.x releases stream, then they
are suggested to upgrade to 4.22.1. If users are on the 4.18.x releases stream,
then they are suggested to upgrade to 4.18.5. The 4.14.x releases stream and
earlier, and the 4.15.x to 4.17.x and 4.19.x to 4.21.x release lines, reached
end of life before this issue was resolved and will not receive a fix, so
deployments on those lines must [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-88900.html",
+ "components": [
+ "camel-jgroups"
+ ]
+ },
+ {
+ "cve": "CVE-2026-88901",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "HIGH",
+ "summary": "Camel-Smooks: XML external entity processing - the Smooks
data format and component parsed the incoming XML message body with the reader
Smooks resolves by default, which resolves external general and parameter
entities and loads external DTDs, so an external entity declared in that body
could read local files or reach internal hosts",
+ "affected": "From 4.7.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. camel-smooks now parses
the XML body with a javax.xml.parsers.DocumentBuilder that does not resolve
external general or parameter entities and does not load external DTDs, and
hands Smooks the resulting document, matching the secure XML processing
configuration used by org.apache.c [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-88901.html",
+ "components": [
+ "camel-smooks"
+ ]
+ },
+ {
+ "cve": "CVE-2026-90885",
+ "date": "2026-10-22T10:00:00+02:00",
+ "severity": "HIGH",
+ "summary": "Camel-Saxon: XML external entity processing -
XQueryBuilder parsed a message body that was already a
javax.xml.transform.Source with Saxon's default parser settings, so an external
entity declared in that body was resolved",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.2.",
+ "fixed": "4.18.5, 4.22.2 and 4.23.0",
+ "mitigation": "Users are recommended to upgrade to version 4.23.0,
which fixes the issue. If users are on the 4.22.x releases stream, then they
are suggested to upgrade to 4.22.2. If users are on the 4.18.x releases stream,
then they are suggested to upgrade to 4.18.5. The 4.14.x releases stream and
earlier, as well as the 4.15.x to 4.17.x and 4.19.x to 4.21.x release lines,
reached end of life before this issue was resolved and will not receive a fix,
so deployments on them must [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-90885.html",
+ "components": [
+ "camel-saxon"
+ ]
+ },
+ {
+ "cve": "CVE-2026-91858",
+ "date": "2026-10-15T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-FOP: XML external entity processing - FopProducer
created a TransformerFactory with only secure processing enabled, so when a
third-party JAXP TransformerFactory such as Saxon-HE was on the classpath, an
external DTD or entity declared in the XSL-FO input was resolved and expanded",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.",
+ "fixed": "4.18.5, 4.22.1 and 4.23.0",
+ "mitigation": "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. FopProducer now also sets
ACCESS_EXTERNAL_DTD and ACCESS_EXTERNAL_STYLESHEET to the empty string on the
TransformerFactory it creates, the same configuration Camel's XmlConverter
applies, so external DTD and stylesheet access is refused on any JAXP
implementation that honours those [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-91858.html",
+ "components": [
+ "camel-fop",
+ "camel-saxon",
+ "camel-xslt-saxon"
+ ]
+ },
+ {
+ "cve": "CVE-2026-94386",
+ "date": "2026-10-22T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-OAuth: Cross-scope token reuse via an under-keyed
JVM-global client credentials token cache",
+ "affected": "From 4.19.0 before 4.22.2.",
+ "fixed": "4.22.2 and 4.23.0",
+ "mitigation": "Users are recommended to upgrade to version 4.23.0,
which fixes the issue. If users are on the 4.22.x releases stream, then they
are suggested to upgrade to 4.22.2. The 4.19.x to 4.21.x release lines reached
end of life before this issue was resolved and will not receive a fix, so
deployments on them must move to a supported release. For deployments that
cannot upgrade immediately, disable token caching on every OAuth profile that
shares a token endpoint and client [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-94386.html",
+ "components": [
+ "camel-a2a",
+ "camel-docling",
+ "camel-huggingface",
+ "camel-langchain4j-agent",
+ "camel-oauth",
+ "camel-openai",
+ "camel-spring-ai-chat"
+ ]
+ },
+ {
+ "cve": "CVE-2026-95628",
+ "date": "2026-10-22T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-Docling: Custom CLI argument path validation does
not reject absolute paths (incomplete fix of CVE-2026-40047)",
+ "affected": "From 4.15.0 before 4.18.5, from 4.19.0 before 4.22.2.",
+ "fixed": "4.18.5, 4.22.2 and 4.23.0",
+ "mitigation": "Users are recommended to upgrade to version 4.23.0,
which fixes the issue. If users are on the 4.22.x releases stream, then they
are suggested to upgrade to 4.22.2. If users are on the 4.18.x releases stream,
then they are suggested to upgrade to 4.18.5. The 4.15.x to 4.17.x and 4.19.x
to 4.21.x release lines reached end of life before this issue was resolved and
will not receive a fix, so deployments on them must move to a supported
release. For deployments that c [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-95628.html",
+ "components": [
+ "camel-docling"
+ ]
+ },
+ {
+ "cve": "CVE-2026-95629",
+ "date": "2026-10-22T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-Docling: Unvalidated output path header enables
writing conversion output to an arbitrary directory in DoclingProducer",
+ "affected": "From 4.15.0 before 4.18.5, from 4.19.0 before 4.22.2.",
+ "fixed": "4.18.5, 4.22.2 and 4.23.0",
+ "mitigation": "Users are recommended to upgrade to version 4.23.0,
which fixes the issue. If users are on the 4.22.x releases stream, then they
are suggested to upgrade to 4.22.2. If users are on the 4.18.x releases stream,
then they are suggested to upgrade to 4.18.5. The fix adds an
outputBaseDirectory endpoint option that is unset by default, so after
upgrading, set it on every docling endpoint whose CamelDoclingOutputFilePath
header can carry a value influenced from outside t [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-95629.html",
+ "components": [
+ "camel-docling"
+ ]
+ },
+ {
+ "cve": "CVE-2026-95663",
+ "date": "2026-10-22T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-Keycloak: Security policy accepts expired access
tokens because cached token introspection results are not bounded by the token
expiry",
+ "affected": "From 4.16.0 before 4.18.5, from 4.19.0 before 4.22.2.",
+ "fixed": "4.18.5, 4.22.2 and 4.23.0",
+ "mitigation": "Users are recommended to upgrade to version 4.23.0,
which fixes the issue. If users are on the 4.22.x releases stream, then they
are suggested to upgrade to 4.22.2. If users are on the 4.18.x releases stream,
then they are suggested to upgrade to 4.18.5. The 4.16.x, 4.17.x and 4.19.x to
4.21.x release lines reached end of life before this issue was resolved and
will not receive a fix, so deployments on them must move to a supported
release. For deployments that can [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-95663.html",
+ "components": [
+ "camel-keycloak"
+ ]
+ },
+ {
+ "cve": "CVE-2026-95664",
+ "date": "2026-10-22T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-AWS2-S3: The producer evaluated an object key taken
from the CamelAwsS3Key header as a Simple expression, so a route forwarding
objects between buckets evaluated object names chosen by anyone able to upload
to the source bucket",
+ "affected": "From 4.8.0 before 4.18.5, from 4.19.0 before 4.22.2.",
+ "fixed": "4.18.5, 4.22.2 and 4.23.0",
+ "mitigation": "Users are recommended to upgrade to version 4.23.0,
which fixes the issue. If users are on the 4.22.x releases stream, then they
are suggested to upgrade to 4.22.2. If users are on the 4.18.x releases stream,
then they are suggested to upgrade to 4.18.5. The 4.8.x to 4.17.x and 4.19.x to
4.21.x release lines reached end of life before this issue was resolved and
will not receive a fix, so deployments on them must move to a supported
release. After upgrading, a key [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-95664.html",
+ "components": [
+ "camel-aws2-s3",
+ "camel-bean"
+ ]
+ },
+ {
+ "cve": "CVE-2026-101259",
+ "date": "2026-10-22T10:00:00+02:00",
+ "severity": "MEDIUM",
+ "summary": "Camel-CoAP: information disclosure - when the consumer
could not build its response once the route had completed, the exception's
message was sent to the CoAP client as the payload of the 5.00 response, so an
internal error message reached an external client",
+ "affected": "From 4.0.0 before 4.18.5, from 4.19.0 before 4.22.2.",
+ "fixed": "4.18.5, 4.22.2 and 4.23.0",
+ "mitigation": "Users are recommended to upgrade to version 4.23.0,
which fixes the issue. If users are on the 4.22.x releases stream, then they
are suggested to upgrade to 4.22.2. If users are on the 4.18.x releases stream,
then they are suggested to upgrade to 4.18.5. The 4.14.x releases stream and
earlier, and the 4.15.x to 4.17.x and 4.19.x to 4.21.x release lines, reached
end of life before this issue was resolved and will not receive a fix, so
deployments on them must move t [...]
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-101259.html",
+ "components": [
+ "camel-coap"
+ ]
+ },
+ {
+ "cve": "CVE-2026-103412",
+ "date": "2026-10-07T11:00:00+02:00",
+ "severity": "HIGH",
+ "summary": "Karavan project file names escape the project directory
when a project is committed to Git",
+ "affected": "From 3.18.0 before 4.22.1.",
+ "fixed": "4.22.1",
+ "mitigation": "Users are recommended to upgrade to version 4.22.1,
which fixes the issue. Apache Camel Karavan has no maintenance branches, so
4.22.1 is the only release containing the fix.",
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-103412.html"
+ },
+ {
+ "cve": "CVE-2026-103413",
+ "date": "2026-10-07T11:00:00+02:00",
+ "severity": "HIGH",
+ "summary": "Karavan applies unvalidated Kubernetes resources from a
project's kubernetes.yaml",
+ "affected": "From 4.0.0 before 4.22.1.",
+ "fixed": "4.22.1",
+ "mitigation": "Users are recommended to upgrade to version 4.22.1,
which fixes the issue. Apache Camel Karavan has no maintenance branches, so
4.22.1 is the only release containing the fix. Operators should also ensure
PodSecurity admission is enforced on the namespace Karavan deploys into, and
keep the service account's RBAC no wider than Karavan requires.",
+ "url": "https:\/\/camel.apache.org\/security\/CVE-2026-103413.html"
}
]
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/releases/camel-quarkus-releases.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/releases/camel-quarkus-releases.json
index 50c5c48db61f..e5645facbdaf 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/releases/camel-quarkus-releases.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/releases/camel-quarkus-releases.json
@@ -480,6 +480,13 @@
"kind": "lts",
"jdk": "17,21"
},
+ {
+ "version": "3.40.1",
+ "date": "2026-11-16",
+ "eol": "2027-08-10",
+ "kind": "lts",
+ "jdk": "17,21"
+ },
{
"version": "3.5.0",
"date": "2023-10-25",
diff --git a/docs/user-manual/modules/ROOT/pages/release-guide.adoc
b/docs/user-manual/modules/ROOT/pages/release-guide.adoc
index 65d1837c6d6a..552b46c7d7bb 100644
--- a/docs/user-manual/modules/ROOT/pages/release-guide.adoc
+++ b/docs/user-manual/modules/ROOT/pages/release-guide.adoc
@@ -200,6 +200,20 @@ Complete the following steps to create a new Camel release:
$ git checkout BRANCH_NAME
$ git checkout -b release/NEW-VERSION
+. Make sure the catalog has the latest Apache Camel security advisories and
known releases of camel-website, as the
+ release ships them (the CVE audit of the Camel CLI and the Camel Maven
plugins reads them). Run the
+
https://github.com/apache/camel/actions/workflows/sync-catalog-website.yml[Sync
catalog with camel-website] workflow
+ (*Run workflow*) and merge the PR it opens for the branch, if any, before
you go on. It also runs every Monday. Or sync
+ locally and commit the changes:
+
+
+ $ ./mvnw -Dquickly install -pl tooling/maven/camel-package-maven-plugin -am
+ $ ./mvnw -pl catalog/camel-catalog camel-package:update-security-advisories
camel-package:update-camel-releases
+
+
+* On an LTS branch older than 4.24, run only
`camel-package:update-camel-releases`: those branches have no
+ advisories in the catalog.
+
. Perform a license check with
http://creadur.apache.org/rat/apache-rat-plugin[Apache Rat]:
diff --git
a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/CamelWebsiteContent.java
b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/CamelWebsiteContent.java
new file mode 100644
index 000000000000..bfdb75e6aebc
--- /dev/null
+++
b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/CamelWebsiteContent.java
@@ -0,0 +1,118 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.maven.packaging;
+
+import java.io.IOException;
+import java.net.URI;
+import java.net.http.HttpClient;
+import java.net.http.HttpRequest;
+import java.net.http.HttpResponse;
+import java.time.Duration;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.function.Predicate;
+
+import org.apache.camel.util.json.JsonArray;
+import org.apache.camel.util.json.JsonObject;
+import org.apache.camel.util.json.Jsoner;
+
+/**
+ * Reads the content of the camel-website repository on GitHub, for the goals
that sync the catalog with it
+ * ({@code update-camel-releases}, {@code update-security-advisories}). A
failure is an error, not an empty answer, so a
+ * rate-limited or broken run never writes a shorter list into the catalog.
The GitHub API is called with the
+ * {@code GITHUB_TOKEN} environment variable when it is set, as in a GitHub
workflow.
+ */
+final class CamelWebsiteContent {
+
+ private static final String GITHUB_API = "https://api.github.com/";
+ private static final Duration TIMEOUT = Duration.ofSeconds(20);
+
+ private CamelWebsiteContent() {
+ }
+
+ /**
+ * The download URLs of the files of a folder of the GitHub contents API
whose name matches.
+ *
+ * @throws IOException when GitHub does not answer with the listing, or no
file matches
+ */
+ static List<String> downloadUrls(HttpClient client, String folderUrl,
Predicate<String> name)
+ throws IOException, InterruptedException {
+ HttpResponse<String> res = send(client, folderUrl);
+ if (res.statusCode() != 200) {
+ throw new IOException(
+ "GitHub answered with HTTP status " + res.statusCode() + "
for " + folderUrl
+ + (res.statusCode() == 403 ||
res.statusCode() == 429
+ ? " (rate limited: set the
GITHUB_TOKEN environment variable)" : ""));
+ }
+ List<String> answer = new ArrayList<>();
+ try {
+ JsonArray root = (JsonArray) Jsoner.deserialize(res.body());
+ for (Object o : root) {
+ JsonObject jo = (JsonObject) o;
+ String fileName = jo.getString("name");
+ String url = jo.getString("download_url");
+ if (fileName != null && url != null && name.test(fileName)) {
+ answer.add(url);
+ }
+ }
+ } catch (Exception e) {
+ throw new IOException("GitHub answered with an unexpected listing
for " + folderUrl, e);
+ }
+ if (answer.isEmpty()) {
+ throw new IOException("No files found in " + folderUrl);
+ }
+ return answer;
+ }
+
+ /**
+ * The text of a file.
+ *
+ * @throws IOException when it cannot be downloaded
+ */
+ static String download(HttpClient client, String url) throws IOException,
InterruptedException {
+ HttpResponse<String> res = send(client, url);
+ if (res.statusCode() != 200) {
+ throw new IOException("HTTP status " + res.statusCode() + "
downloading " + url);
+ }
+ return res.body();
+ }
+
+ private static HttpResponse<String> send(HttpClient client, String url)
throws IOException, InterruptedException {
+ HttpResponse<String> res = client.send(request(url),
HttpResponse.BodyHandlers.ofString());
+ // follow a redirect
+ if (res.statusCode() == 302) {
+ String loc = res.headers().firstValue("location").orElse(null);
+ if (loc != null) {
+ res = client.send(request(loc),
HttpResponse.BodyHandlers.ofString());
+ }
+ }
+ return res;
+ }
+
+ static HttpRequest request(String url) {
+ return request(url, System.getenv("GITHUB_TOKEN"));
+ }
+
+ // the token goes only to the GitHub API, never to the raw files it lists
+ static HttpRequest request(String url, String token) {
+ HttpRequest.Builder builder =
HttpRequest.newBuilder(URI.create(url)).timeout(TIMEOUT);
+ if (url.startsWith(GITHUB_API) && token != null && !token.isBlank()) {
+ builder.header("Authorization", "Bearer " + token.trim());
+ }
+ return builder.build();
+ }
+}
diff --git
a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/UpdateCamelReleasesMojo.java
b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/UpdateCamelReleasesMojo.java
index 48a23f08525e..f7778e5bcbdf 100644
---
a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/UpdateCamelReleasesMojo.java
+++
b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/UpdateCamelReleasesMojo.java
@@ -19,12 +19,8 @@ package org.apache.camel.maven.packaging;
import java.io.File;
import java.io.LineNumberReader;
import java.io.StringReader;
-import java.net.URI;
import java.net.http.HttpClient;
-import java.net.http.HttpRequest;
-import java.net.http.HttpResponse;
import java.nio.file.Path;
-import java.time.Duration;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
@@ -120,76 +116,35 @@ public class UpdateCamelReleasesMojo extends
AbstractGeneratorMojo {
private List<ReleaseModel> processReleases(List<String> urls) throws
Exception {
List<ReleaseModel> answer = new ArrayList<>();
- try (CloseableHttpClient hc = new CloseableHttpClient()) {
+ try (HttpClient hc = HttpClient.newHttpClient()) {
for (String url : urls) {
- HttpResponse<String> res
- = hc.send(HttpRequest.newBuilder(new
URI(url)).timeout(Duration.ofSeconds(20)).build(),
- HttpResponse.BodyHandlers.ofString());
-
- if (res.statusCode() == 200) {
- ReleaseModel model = new ReleaseModel();
- try (LineNumberReader lr = new LineNumberReader(new
StringReader(res.body()))) {
- String line = lr.readLine();
- while (line != null) {
- if (line.startsWith("date:")) {
- model.setDate(line.substring(5).trim());
- } else if (line.startsWith("version:")) {
- model.setVersion(line.substring(8).trim());
- } else if (line.startsWith("eol:")) {
- model.setEol(line.substring(4).trim());
- } else if (line.startsWith("kind:")) {
- model.setKind(line.substring(5).trim());
- } else if (line.startsWith("jdk:")) {
- String s = line.substring(4).trim();
- if (s.startsWith("[") && s.endsWith("]")) {
- s = s.substring(1, s.length() - 1);
- }
- // remove white-space noise
- s = s.replace(" ", "");
- model.setJdk(s);
+ String body = CamelWebsiteContent.download(hc, url);
+ ReleaseModel model = new ReleaseModel();
+ try (LineNumberReader lr = new LineNumberReader(new
StringReader(body))) {
+ String line = lr.readLine();
+ while (line != null) {
+ if (line.startsWith("date:")) {
+ model.setDate(line.substring(5).trim());
+ } else if (line.startsWith("version:")) {
+ model.setVersion(line.substring(8).trim());
+ } else if (line.startsWith("eol:")) {
+ model.setEol(line.substring(4).trim());
+ } else if (line.startsWith("kind:")) {
+ model.setKind(line.substring(5).trim());
+ } else if (line.startsWith("jdk:")) {
+ String s = line.substring(4).trim();
+ if (s.startsWith("[") && s.endsWith("]")) {
+ s = s.substring(1, s.length() - 1);
}
- line = lr.readLine();
+ // remove white-space noise
+ s = s.replace(" ", "");
+ model.setJdk(s);
}
+ line = lr.readLine();
}
- if (model.getVersion() != null) {
- answer.add(model);
- }
- }
- }
- }
-
- return answer;
- }
-
- private List<String> fetchCamelReleaseLinks(String gitUrl) throws
Exception {
- List<String> answer = new ArrayList<>();
-
- // use JDK http client to call github api
- try (CloseableHttpClient hc = new CloseableHttpClient()) {
- HttpResponse<String> res
- = hc.send(HttpRequest.newBuilder(new
URI(gitUrl)).timeout(Duration.ofSeconds(20)).build(),
- HttpResponse.BodyHandlers.ofString());
-
- // follow redirect
- if (res.statusCode() == 302) {
- String loc = res.headers().firstValue("location").orElse(null);
- if (loc != null) {
- res = hc.send(HttpRequest.newBuilder(new
URI(loc)).timeout(Duration.ofSeconds(20)).build(),
- HttpResponse.BodyHandlers.ofString());
}
- }
-
- if (res.statusCode() == 200) {
- JsonArray root = (JsonArray) Jsoner.deserialize(res.body());
- for (Object o : root) {
- JsonObject jo = (JsonObject) o;
- String name = jo.getString("name");
- if (name != null && name.startsWith("release-")) {
- String url = jo.getString("download_url");
- if (url != null) {
- answer.add(url);
- }
- }
+ if (model.getVersion() != null) {
+ answer.add(model);
}
}
}
@@ -197,23 +152,9 @@ public class UpdateCamelReleasesMojo extends
AbstractGeneratorMojo {
return answer;
}
- /**
- * Wrapper that makes {@link HttpClient} usable in try-with-resources. On
Java 21+ HttpClient implements
- * AutoCloseable natively; the instanceof check future-proofs us for when
the minimum JDK is raised.
- */
- private static final class CloseableHttpClient implements AutoCloseable {
- private final HttpClient httpClient = HttpClient.newHttpClient();
-
- <T> HttpResponse<T> send(HttpRequest request,
HttpResponse.BodyHandler<T> responseBodyHandler)
- throws java.io.IOException, InterruptedException {
- return httpClient.send(request, responseBodyHandler);
- }
-
- @Override
- public void close() throws Exception {
- if (httpClient instanceof AutoCloseable closeable) {
- closeable.close();
- }
+ private List<String> fetchCamelReleaseLinks(String gitUrl) throws
Exception {
+ try (HttpClient hc = HttpClient.newHttpClient()) {
+ return CamelWebsiteContent.downloadUrls(hc, gitUrl, name ->
name.startsWith("release-"));
}
}
diff --git
a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/UpdateSecurityAdvisoriesMojo.java
b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/UpdateSecurityAdvisoriesMojo.java
index 16d3b64c3d52..f72e7b5fb3fb 100644
---
a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/UpdateSecurityAdvisoriesMojo.java
+++
b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/UpdateSecurityAdvisoriesMojo.java
@@ -17,12 +17,8 @@
package org.apache.camel.maven.packaging;
import java.io.File;
-import java.net.URI;
import java.net.http.HttpClient;
-import java.net.http.HttpRequest;
-import java.net.http.HttpResponse;
import java.nio.file.Path;
-import java.time.Duration;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
@@ -38,7 +34,6 @@ import javax.inject.Inject;
import org.apache.camel.tooling.model.JsonMapper;
import org.apache.camel.tooling.model.SecurityAdvisoryModel;
import org.apache.camel.util.json.JsonArray;
-import org.apache.camel.util.json.JsonObject;
import org.apache.camel.util.json.Jsoner;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
@@ -99,6 +94,9 @@ public class UpdateSecurityAdvisoriesMojo extends
AbstractGeneratorMojo {
getLog().info("Updating Camel security advisories from
camel-website");
List<String> links = fetchAdvisoryLinks();
List<SecurityAdvisoryModel> advisories = processAdvisories(links);
+ if (advisories.isEmpty()) {
+ throw new MojoExecutionException("No published security
advisories found in " + GIT_SECURITY_URL);
+ }
advisories.sort(Comparator.comparingLong(UpdateSecurityAdvisoriesMojo::cveOrdinal));
getLog().info("Found " + advisories.size() + " published security
advisories");
@@ -120,17 +118,11 @@ public class UpdateSecurityAdvisoriesMojo extends
AbstractGeneratorMojo {
private List<SecurityAdvisoryModel> processAdvisories(List<String> urls)
throws Exception {
List<SecurityAdvisoryModel> answer = new ArrayList<>();
- try (CloseableHttpClient hc = new CloseableHttpClient()) {
+ try (HttpClient hc = HttpClient.newHttpClient()) {
for (String url : urls) {
- HttpResponse<String> res
- = hc.send(HttpRequest.newBuilder(new
URI(url)).timeout(Duration.ofSeconds(20)).build(),
- HttpResponse.BodyHandlers.ofString());
-
- if (res.statusCode() == 200) {
- SecurityAdvisoryModel model = parseAdvisory(res.body());
- if (model != null) {
- answer.add(model);
- }
+ SecurityAdvisoryModel model =
parseAdvisory(CamelWebsiteContent.download(hc, url));
+ if (model != null) {
+ answer.add(model);
}
}
}
@@ -233,39 +225,9 @@ public class UpdateSecurityAdvisoriesMojo extends
AbstractGeneratorMojo {
}
private List<String> fetchAdvisoryLinks() throws Exception {
- List<String> answer = new ArrayList<>();
-
- // use JDK http client to call github api
- try (CloseableHttpClient hc = new CloseableHttpClient()) {
- HttpResponse<String> res = hc.send(
- HttpRequest.newBuilder(new
URI(GIT_SECURITY_URL)).timeout(Duration.ofSeconds(20)).build(),
- HttpResponse.BodyHandlers.ofString());
-
- // follow redirect
- if (res.statusCode() == 302) {
- String loc = res.headers().firstValue("location").orElse(null);
- if (loc != null) {
- res = hc.send(HttpRequest.newBuilder(new
URI(loc)).timeout(Duration.ofSeconds(20)).build(),
- HttpResponse.BodyHandlers.ofString());
- }
- }
-
- if (res.statusCode() == 200) {
- JsonArray root = (JsonArray) Jsoner.deserialize(res.body());
- for (Object o : root) {
- JsonObject jo = (JsonObject) o;
- String name = jo.getString("name");
- if (name != null && ADVISORY_FILE.matcher(name).matches())
{
- String url = jo.getString("download_url");
- if (url != null) {
- answer.add(url);
- }
- }
- }
- }
+ try (HttpClient hc = HttpClient.newHttpClient()) {
+ return CamelWebsiteContent.downloadUrls(hc, GIT_SECURITY_URL, name
-> ADVISORY_FILE.matcher(name).matches());
}
-
- return answer;
}
private static long cveOrdinal(SecurityAdvisoryModel advisory) {
@@ -284,24 +246,4 @@ public class UpdateSecurityAdvisoriesMojo extends
AbstractGeneratorMojo {
String text = str(value);
return text == null ? null : text.trim();
}
-
- /**
- * Wrapper that makes {@link HttpClient} usable in try-with-resources. On
Java 21+ HttpClient implements
- * AutoCloseable natively; the instanceof check future-proofs us for when
the minimum JDK is raised.
- */
- private static final class CloseableHttpClient implements AutoCloseable {
- private final HttpClient httpClient = HttpClient.newHttpClient();
-
- <T> HttpResponse<T> send(HttpRequest request,
HttpResponse.BodyHandler<T> responseBodyHandler)
- throws java.io.IOException, InterruptedException {
- return httpClient.send(request, responseBodyHandler);
- }
-
- @Override
- public void close() throws Exception {
- if (httpClient instanceof AutoCloseable closeable) {
- closeable.close();
- }
- }
- }
}
diff --git
a/tooling/maven/camel-package-maven-plugin/src/test/java/org/apache/camel/maven/packaging/CamelWebsiteContentTest.java
b/tooling/maven/camel-package-maven-plugin/src/test/java/org/apache/camel/maven/packaging/CamelWebsiteContentTest.java
new file mode 100644
index 000000000000..066eedaeaf58
--- /dev/null
+++
b/tooling/maven/camel-package-maven-plugin/src/test/java/org/apache/camel/maven/packaging/CamelWebsiteContentTest.java
@@ -0,0 +1,116 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.maven.packaging;
+
+import java.io.IOException;
+import java.io.OutputStream;
+import java.net.InetAddress;
+import java.net.InetSocketAddress;
+import java.net.http.HttpClient;
+import java.nio.charset.StandardCharsets;
+
+import com.sun.net.httpserver.HttpServer;
+import org.junit.jupiter.api.AfterEach;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
+
+import static org.assertj.core.api.Assertions.assertThat;
+import static org.assertj.core.api.Assertions.assertThatThrownBy;
+
+/**
+ * CAMEL-27347: a sync with camel-website fails instead of writing a shorter
list when GitHub does not answer, so a
+ * scheduled run never removes advisories or releases from the catalog.
+ */
+class CamelWebsiteContentTest {
+
+ private HttpServer server;
+ private String base;
+
+ @BeforeEach
+ void start() throws IOException {
+ server = HttpServer.create(new
InetSocketAddress(InetAddress.getLoopbackAddress(), 0), 0);
+ reply("/security", 200, """
+ [{"name": "CVE-2026-1.md", "download_url":
"%1$s/raw/CVE-2026-1.md"},
+ {"name": "_index.md", "download_url":
"%1$s/raw/_index.md"}]""");
+ reply("/empty", 200, "[]");
+ reply("/limited", 403, "{\"message\": \"API rate limit exceeded\"}");
+ reply("/raw/CVE-2026-1.md", 200, "---\ncve: CVE-2026-1\n---\n");
+ server.start();
+ base = "http://127.0.0.1:" + server.getAddress().getPort();
+ }
+
+ @AfterEach
+ void stop() {
+ server.stop(0);
+ }
+
+ private void reply(String path, int status, String body) {
+ server.createContext(path, exchange -> {
+ byte[] bytes =
body.formatted(base).getBytes(StandardCharsets.UTF_8);
+ exchange.sendResponseHeaders(status, bytes.length);
+ try (OutputStream out = exchange.getResponseBody()) {
+ out.write(bytes);
+ }
+ });
+ }
+
+ @Test
+ void listsTheMatchingFiles() throws Exception {
+ try (HttpClient client = HttpClient.newHttpClient()) {
+ assertThat(CamelWebsiteContent.downloadUrls(client, base +
"/security", n -> n.startsWith("CVE-")))
+ .containsExactly(base + "/raw/CVE-2026-1.md");
+ assertThat(CamelWebsiteContent.download(client, base +
"/raw/CVE-2026-1.md")).contains("cve: CVE-2026-1");
+ }
+ }
+
+ @Test
+ void failsWhenRateLimited() {
+ try (HttpClient client = HttpClient.newHttpClient()) {
+ assertThatThrownBy(() -> CamelWebsiteContent.downloadUrls(client,
base + "/limited", n -> true))
+
.isInstanceOf(IOException.class).hasMessageContaining("HTTP status 403")
+ .hasMessageContaining("GITHUB_TOKEN");
+ }
+ }
+
+ @Test
+ void failsWhenNothingIsListed() {
+ try (HttpClient client = HttpClient.newHttpClient()) {
+ assertThatThrownBy(() -> CamelWebsiteContent.downloadUrls(client,
base + "/empty", n -> true))
+ .isInstanceOf(IOException.class).hasMessageContaining("No
files found");
+ assertThatThrownBy(() -> CamelWebsiteContent.downloadUrls(client,
base + "/security", n -> n.endsWith(".adoc")))
+ .isInstanceOf(IOException.class).hasMessageContaining("No
files found");
+ }
+ }
+
+ @Test
+ void failsWhenAFileCannotBeDownloaded() {
+ try (HttpClient client = HttpClient.newHttpClient()) {
+ assertThatThrownBy(() -> CamelWebsiteContent.download(client, base
+ "/raw/missing.md"))
+
.isInstanceOf(IOException.class).hasMessageContaining("HTTP status 404");
+ }
+ }
+
+ @Test
+ void theTokenIsOnlyForTheGitHubApi() {
+
assertThat(CamelWebsiteContent.request("https://api.github.com/repos/apache/camel-website/contents/x",
" abc ")
+ .headers().firstValue("Authorization")).hasValue("Bearer abc");
+
assertThat(CamelWebsiteContent.request("https://raw.githubusercontent.com/apache/camel-website/main/x.md",
"abc")
+ .headers().firstValue("Authorization")).isEmpty();
+
assertThat(CamelWebsiteContent.request("https://api.github.com/repos/apache/camel-website/contents/x",
" ")
+ .headers().firstValue("Authorization")).isEmpty();
+ }
+}