Apache Camel: Camel-PQC: shared secret confusion between concurrent exchanges - one KeyGenerator instance, and for the hybrid operations one KeyAgreement instance, was shared across concurrent key encapsulation operations without synchronization

Summary

CVECVE-2026-110471
StatePUBLISHED
Assignerapache
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-03 12:17:58 UTC
Updated2026-12-03 12:17:58 UTC
DescriptionConcurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') vulnerability in Apache Camel PQC component. This issue affects Apache Camel: from 4.12.0 before 4.18.6, from 4.19.0 before 4.22.2, from 4.23.0 before 4.24.0. The key encapsulation operations of the camel-pqc component, including the hybrid ones, and the PQC data format used a single javax.crypto.KeyGenerator instance, and the hybrid operations a single KeyAgreement instance, for every exchange without synchronizing access. A key encapsulation KeyGenerator is stateful and is not thread safe: it is initialised either to generate an encapsulation or to extract one, and then produces its result from that state. With concurrent exchanges sharing one instance, the initialisation of one operation and the generation of another interleave, so an operation can return the encapsulation and the secret key that belong to another exchange, which leaves data encrypted under a secret that another party holds, or it can fail. In the hybrid operations the classical key agreement keeps the combined secret unknown to the other party, so the outcome there is a failed exchange. The data format is affected in its default configuration, and so is a KeyGenerator registered as a bean, which is autowired into every pqc endpoint. Reaching it requires concurrent traffic through the same endpoint or data format, which is the ordinary condition for a Camel route under load. Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.2. Users on the 4.18.x LTS release stream should upgrade to 4.18.6. The fixed releases use a new KeyGenerator (and, for the hybrid operations, a new KeyAgreement) for every operation when Camel creates the instance itself, and a configured instance is used by one exchange at a time. 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.

Risk And Classification

Primary CVSS: v3.1 4.8 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L

Problem Types: CWE-362 | CWE-362 CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary4.8MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
3.1CNACVSS4.8MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
Low

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Apache Software Foundation Apache Camel affected 4.12.0 4.18.6 maven Not specified
CNA Apache Software Foundation Apache Camel affected 4.19.0 4.22.2 maven Not specified
CNA Apache Software Foundation Apache Camel affected 4.23.0 4.24.0 maven Not specified

References

ReferenceSourceLinkTags
github.com/apache/camel/pull/27905 [email protected] github.com
camel.apache.org/security/CVE-2026-110471.html [email protected] camel.apache.org
issues.apache.org/jira/browse/CAMEL-25603 [email protected] issues.apache.org
github.com/apache/camel/pull/27768 [email protected] github.com
github.com/apache/camel/pull/27884 [email protected] github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Shashank Mohan Jain (en)

CNA: Andrea Cosentino (en)

Additional Advisory Data

Solutions

CNA: Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.2. Users on the 4.18.x LTS release stream should upgrade to 4.18.6. The fixed releases use a new KeyGenerator (and, for the hybrid operations, a new KeyAgreement) for every operation when Camel creates the instance itself, and a configured instance is used by one exchange at a time. 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.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report