CVE-2026-95663Apache Camel insufficient session expiration
Scor CVSS
6.5
Mediu
CVSS 3.1 de la NVD
Probabilitate de exploatare (EPSS)
0.95%
Șansă de 0.95% să fie exploatată în următoarele 30 de zile, peste 62.3% dintre toate CVE-urile.
CISA KEV
Nu este în KEV
CISA nu a raportat până acum exploatări confirmate.
Descrierea oficială
Insufficient Session Expiration vulnerability in Apache Camel Keycloak component.
This issue affects Apache Camel: from 4.16.0 before 4.18.5, from 4.19.0 before 4.22.2.
When token introspection is enabled on the camel-keycloak KeycloakSecurityPolicy (useTokenIntrospection=true), the security processor validates the access token of a request by sending it to Keycloak's OAuth 2.0 token introspection endpoint, and accepts the token while the response reports it as active. The introspection endpoint reports a token as inactive once its exp (expiration) time has passed, so on this path the active flag is what enforces token expiry. Introspection results are cached by default (introspectionCacheEnabled=true, introspectionCacheTtl=60 seconds), and both cache implementations shipped with the component, ConcurrentMapTokenCache and CaffeineTokenCache, expired an entry a fixed time after it was inserted, without bounding that lifetime by the exp claim that the cached response already carried. KeycloakSecurityProcessor in turn checked only the active flag of the result, on every path that uses introspection, and never compared exp with the current time. A response cached shortly before the token expired was therefore served to later requests carrying the same token for up to the configured time-to-live after the token's expiry, and those requests were admitted with the roles and permissions the expired token had carried, although RFC 7662, which defines token introspection, states that a response containing exp must not be cached beyond that time. The access token is supplied by the caller with each request, typically as a bearer token in the Authorization header, so a caller holding a token that was valid moments earlier could keep using it after it expired, for as long as the cached entry lived. The window is bounded by introspectionCacheTtl, which is 60 seconds by default and 300 to 600 seconds where the documentation's recommendation for internal services was followed, and it opens only for a token that the same Camel process introspected and cached while the token was still active. The issue grants nothing beyond what the token already carried: it allows no token forgery and no privilege escalation, and token introspection is not enabled by default, which is why the severity is assessed medium. The local JWT verification path, used when introspection is disabled, is not affected by this issue.
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 cannot upgrade immediately, set introspectionCacheEnabled=false on the KeycloakSecurityPolicy, so that every request is checked against the introspection endpoint, which reports an expired token as inactive, at the cost of one introspection call per request. Lowering introspectionCacheTtl only narrows the window and does not close it.
Sursa: NVD · CNA: security@apache.org
Cum îl remediezi, pas cu pas
Verifică dacă ești afectat
Identifică toate sistemele care rulează Apache Camel și compară versiunea lor cu versiunile afectate.
Actualizează la o versiune remediată
- Actualizează Apache Camel la 4.18.5, 4.22.2 sau mai nou, pe ramura pe care o folosești.
Dacă nu poți actualiza imediat
Aplică soluția temporară sau măsura de atenuare din avizul furnizorului până poți actualiza:
Confirmă remedierea
Verifică dacă toate sistemele afectate raportează acum o versiune remediată și revezi avizul furnizorului: remedierile sunt uneori revizuite.
Ți-a fost util?
Cum poate fi exploatată
- Vector de atac
- Rețea
- Complexitatea atacului
- Scăzut
- Privilegii necesare
- Niciunul
- Interacțiune cu utilizatorul
- Niciunul
- Domeniu de impact
- Neschimbat
- Confidențialitate
- Scăzut
- Integritate
- Scăzut
- Disponibilitate
- Niciunul
Valorile în roșu fac vulnerabilitatea mai ușor de exploatat sau mai gravă. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Produse afectate
| Produse afectate | Versiuni |
|---|---|
| Apache Camel | ≥ 4.16.0, < 4.18.5 · ≥ 4.19.0, < 4.22.2 |
| Apache Apache Camel | ≥ 4.16.0, < 4.18.5 · ≥ 4.19.0, < 4.22.2 |
Tip de slăbiciune
- CWE-613 insufficient session expiration
Cronologie
- Publicat:
- Ultima modificare:
Întrebări frecvente
Este CVE-2026-95663 exploatată?
Până acum nu există exploatări confirmate în catalogul CISA KEV. Scorul EPSS estimează o probabilitate de 1.0% de exploatare în următoarele 30 de zile.
Care este scorul CVSS pentru CVE-2026-95663?
CVE-2026-95663 are un scor de bază CVSS 3.1 de 6.5 (mediu).
Ce versiuni sunt afectate?
Apache Camel (≥ 4.16.0, < 4.18.5; ≥ 4.19.0, < 4.22.2), Apache Apache Camel (≥ 4.16.0, < 4.18.5; ≥ 4.19.0, < 4.22.2)
Există patch pentru CVE-2026-95663?
Înregistrarea oficială trimite la avize sau patch-uri ale producătorului; vezi „Ce trebuie să faci” mai sus.
Referințe
- camel.apache.org/security/CVE-2026-95663.html(Vendor Advisory)
- github.com/apache/camel/pull/26747(Issue Tracking, Patch)
- github.com/apache/camel/pull/27182(Issue Tracking, Patch)
- github.com/apache/camel/pull/27183(Issue Tracking, Patch)
- issues.apache.org/jira/browse/CAMEL-24902(Issue Tracking, Vendor Advisory)
- camel.apache.org/security/CVE-2026-46455.html(Not Applicable)
- camel.apache.org/security/CVE-2026-85301.html(Not Applicable)
Date: NVD, CVE.org (cvelistV5), CISA KEV și FIRST EPSS. Rezumat scris de RedCVE cu ajutorul AI, pe baza datelor oficiale.