Apache Camel: camel-netty-http matches security-constraint roles by substring instead of exact value

State
Published
Severity
5.9 Medium
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Oct 6, 2026

Read the record on cve.org

Description

Improper Authorization vulnerability in Apache Camel Netty HTTP component.

This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.2.

In camel-netty-http, the roles declared in a security constraint were compared to the authenticated roles using substring matching rather than exact comparison. A role whose name merely contained a required role as a substring could therefore satisfy a constraint it should not, so a caller could reach a route whose authorization it was not entitled to pass. The fixed releases match security-constraint roles by exact value.

Users are recommended to upgrade to 4.18.6 for the 4.18.x LTS releases stream, to 4.22.2 for the 4.22.x LTS releases stream, or to 4.23.0.

ProductVersions
Apache Camel Apache Software Foundation4.0.0 to before 4.18.6 Affected4.19.0 to before 4.22.2 Affected

Weaknesses

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.