← Security advisories
Apache Camel security advisory

CVE-2026-110477

Camel-GraphQL follows cross-origin redirects and re-sends the configured credentials to the new origin

Description

camel-graphql sent the configured accessToken or basic credentials with every request, including a request to another origin that an HTTP redirect pointed to, disclosing them to an origin the operator did not configure. From 4.0.0 to 4.18.5 the component followed redirects by default; from 4.19.0 it follows them only when followRedirects is enabled on the http component it uses. The fixed releases send the credentials only to the scheme, host and port of httpUri.

Mitigation

Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.2. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.

Credit

This issue was discovered by Shashank Mohan Jain

Notes

The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-25638 refers to the various commits that resolved the issue, and have more details.

References