{"id":"CVE-2026-80312","title":"Apache Camel: Camel-OAuth Authentication Bypass via Fail-Open Processors","summary":"Improper Authentication vulnerability in Apache Camel OAuth component.\n\n\n\nThis issue affects Apache Camel: from 4.11.0 before 4.18.5, from 4.19.0 before 4.22.1.\n\n\n\nThe camel-oauth processors that guard a route did not stop the exchange w…","severity":"high","cvss":8.2,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","cvssSource":"cna","cwe":["CWE-287"],"vendor":"Apache Software Foundation","product":"org.apache.camel:camel-oauth","affected":["org.apache.camel:camel-oauth >= 4.11.0 < 4.18.5","org.apache.camel:camel-oauth >= 4.19.0 < 4.22.1"],"exploitAvailable":true,"published":"2026-10-19","updated":"2026-10-19","sourceUpdated":"2026-10-19T10:27:34.015Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-80312","references":[{"url":"https://camel.apache.org/security/CVE-2026-80312.html","label":"Apache Camel Security Advisory - CVE-2026-80312"},{"url":"https://issues.apache.org/jira/browse/CAMEL-24411","label":"CAMEL-24411"},{"url":"https://github.com/apache/camel/pull/25567","label":"Fix on main, released in 4.23.0 (commit a3a98e4c959f3a04d5e5540b60bf2cc36314e37c)"},{"url":"https://github.com/apache/camel/pull/25575","label":"Backport to camel-4.22.x, released in 4.22.1 (commit 2c61e3387ca8a2b811f96eed0520c78e340c2141)"},{"url":"https://github.com/apache/camel/pull/25576","label":"Backport to camel-4.18.x, released in 4.18.5 (commit 407f2829882475648fe5a575810e171dd0d1391d)"}],"tags":["cve.org","exploit-available"],"exploits":{"github":1,"githubRepos":["https://github.com/oscerd/CVE-2026-80312"],"checkedAt":"2026-10-19T12:27:59.146Z"},"ingestedAt":"2026-10-19T12:27:23.820Z","slug":"CVE-2026-80312","body":"## Overview\n\nImproper Authentication vulnerability in Apache Camel OAuth component.\n\n\n\nThis issue affects Apache Camel: from 4.11.0 before 4.18.5, from 4.19.0 before 4.22.1.\n\n\n\nThe camel-oauth processors that guard a route did not stop the exchange when authentication could not be completed. Where a failure to establish an authenticated session should have terminated routing and returned an error to the caller, the processors fell through and returned control to the route, so the request continued to the protected endpoint as though authentication had succeeded. The effect is a fail-open authentication guard: an unauthenticated caller reached whatever the route did next. The condition is reached on the ordinary request path of a route configured to require OAuth, and needs no special configuration or prior access on the caller's part.\n\n\n\nUpgrade 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 authorization check after the OAuth processor rather than relying on it to halt the exchange, and verify that the route stops on failure.\n\n## Affected\n\n- `org.apache.camel:camel-oauth >= 4.11.0 < 4.18.5`\n- `org.apache.camel:camel-oauth >= 4.19.0 < 4.22.1`\n\n## Remediation\n\nUpgrade 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.\n\n### Workarounds\n\nFor deployments that cannot upgrade immediately, place an explicit authorization check after the OAuth processor rather than relying on it to halt the exchange, and verify that the route stops on failure.","depth":"midnight","depthScore":57,"depthScoreParts":{"impact":45.1,"likelihood":0,"exploitation":12,"ransomware":0},"changes":[]}