{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-105968","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","state":"PUBLISHED","assignerShortName":"apache","dateReserved":"2026-10-06T09:07:19.682Z","datePublished":"2026-11-30T15:43:01.261Z","dateUpdated":"2026-12-01T12:00:52.441Z"},"containers":{"cna":{"providerMetadata":{"orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","shortName":"apache","dateUpdated":"2026-12-01T12:00:52.441Z"},"title":"Apache Camel: camel-netty-http matches security-constraint roles by substring instead of exact value","problemTypes":[{"descriptions":[{"description":"CWE-285 Improper Authorization","lang":"en","cweId":"CWE-285","type":"CWE"}]}],"source":{"discovery":"UNKNOWN"},"affected":[{"vendor":"Apache Software Foundation","product":"Apache Camel","collectionURL":"https://repo.maven.apache.org/maven2","packageName":"org.apache.camel:camel-netty-http","packageURL":"pkg:maven/org.apache.camel/camel-netty-http","versions":[{"status":"affected","version":"4.0.0","lessThan":"4.18.6","versionType":"maven"},{"status":"affected","version":"4.19.0","lessThan":"4.22.2","versionType":"maven"}],"defaultStatus":"unaffected"}],"descriptions":[{"value":"Improper Authorization vulnerability in Apache Camel Netty HTTP component.\n\n\n\nThis issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.2.\n\n\n\nIn 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.\n\n\n\nUsers 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.","lang":"en","supportingMedia":[{"type":"text/html","base64":false,"value":"<p>Improper Authorization vulnerability in Apache Camel Netty HTTP component.</p><p>This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.2.</p><p>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.</p><p>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.</p>"}]}],"references":[{"url":"https://camel.apache.org/security/CVE-2026-105968.html","name":"Apache Camel Security Advisory - CVE-2026-105968","tags":["vendor-advisory"]},{"url":"https://issues.apache.org/jira/browse/CAMEL-25376","name":"CAMEL-25376","tags":["issue-tracking"]},{"url":"https://github.com/apache/camel/pull/27432","name":"Fix on main, released in 4.23.0 (commit 1771fc145712)","tags":["patch"]},{"url":"https://github.com/apache/camel/pull/27441","name":"Backport to camel-4.22.x, released in 4.22.2 (commit 169ea05346cf)","tags":["patch"]},{"url":"https://github.com/apache/camel/pull/27481","name":"Backport to camel-4.18.x, released in 4.18.6 (commit ab456fb72a45)","tags":["patch"]}],"metrics":[{"scenarios":[{"lang":"en","value":"GENERAL"}],"format":"CVSS","cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseSeverity":"MEDIUM","baseScore":5.9,"vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"}}],"solutions":[{"lang":"en","value":"Upgrade to a fixed Apache Camel release; see the fixed versions in the affected ranges and the linked issue.","supportingMedia":[{"type":"text/html","base64":false,"value":"<p>Upgrade to a fixed Apache Camel release; see the fixed versions in the affected ranges and the linked issue.</p>"}]}],"credits":[{"lang":"en","value":"Yuval Saggie and Mor Weinberger (powered by Echo Frontier)","type":"finder"},{"lang":"en","value":"Andrea Cosentino","type":"remediation developer"}],"x_generator":{"engine":"Vulnogram 1.0.3"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/11/30/18"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2026-11-30T16:06:09.906Z"}}]}}