PoC Monitor
← All CVEs
CVE-2026-40022published 27 Apr 2026 09:40 UTCData: JSON · API

Apache Software Foundation Apache Camel Platform HTTP Main

Apache Camel Platform HTTP Main: Authentication Bypass on Non-Root Context Paths in camel main runtime

When authentication is enabled on the Apache Camel embedded HTTP server or embedded management server (camel-platform-http-main) and a non-root context path such as /api or /admin is configured via camel.server.path or camel.management.path, the BasicAuthenticationConfigurer and JWTAuthenticationConfigurer classes derive the authentication path from properties.getPath() when camel.server.authenticationPath / camel.management.authenticationPath is not explicitly set. Combined with the Vert.x sub-router mounting model - the sub-router is mounted at _path_* and the authentication handler is registered inside the sub-router at the resolved path - this causes the authentication handler to match only the exact configured context path, not its subpaths. Unauthenticated requests to subpaths such as /api/_route_ or /admin/observe/info therefore reach protected business routes and management endpoints without being challenged for credentials. The /observe/info endpoint can disclose runtime metadata such as the user, working directory, home directory, process ID, JVM and operating system information. This issue affects Apache Camel: from 4.14.1 before 4.14.6, from 4.18.0 before 4.18.2. Users are recommended to upgrade to version 4.20.0, which fixes the issue. If users are on the 4.14.x LTS releases stream, they are suggested to upgrade to 4.14.6. If users are on the 4.18.x LTS releases stream, they are suggested to upgrade to 4.18.2.

First public PoC 70 daysafter publication · 6 Jul 2026
Public PoCs11 on GitHub
CVSS8.2high · scored by CISA ADP · CWE-288
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Apache Software Foundation Apache Camel Platform HTTP Main
  • >= 4.14.1, < 4.14.6
  • >= 4.18.0, < 4.18.2

Fixed in 4.14.6, 4.18.2

Mitigation

Upgrade Apache Camel Platform HTTP Main to 4.14.6 or 4.18.2 or later.

References

Timeline

Days relative to CVE publication
t=0+14+28+42+56+70CVE published27 Apr 2026 · t = 0First public PoC6 Jul 2026 · t+70d

First public PoC 70 days after publication; not in CISA KEV. First PoC: oscerd/CVE-2026-40022 (created 6 Jul 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
oscerd/CVE-2026-40022 6 Jul 2026 +70 d 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

GET /api/api

Ports
8080
Seen in
1 repo: oscerd/CVE-2026-40022
Evidence
oscerd/CVE-2026-40022/README.md:79

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /api/api
(?i)^/api/api(?:[?#].*)?$
GET /api/hello
(?i)^/api/hello(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /api/api
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-40022 Apache Software Foundation Apache Camel Platform HTTP Main exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/api"; reference:url,poc.griffinguard.io/cve/CVE-2026-40022; classtype:web-application-attack; sid:9874455; rev:1;)
GET /api/hello
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-40022 Apache Software Foundation Apache Camel Platform HTTP Main exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/hello"; reference:url,poc.griffinguard.io/cve/CVE-2026-40022; classtype:web-application-attack; sid:9433499; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /api/api
title: Apache Software Foundation Apache Camel Platform HTTP Main exploit attempt (CVE-2026-40022)
id: gg-pocmon-cve-2026-40022-9874455
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-40022. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-40022
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/api/api'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.40022
GET /api/hello
title: Apache Software Foundation Apache Camel Platform HTTP Main exploit attempt (CVE-2026-40022)
id: gg-pocmon-cve-2026-40022-9433499
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-40022. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-40022
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/api/hello'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.40022