camel-ldap component allows LDAP Injection when using the filter optionGHSA-w66j-xc7r-m2jv
CRITICALGHSA-w66j-xc7r-m2jv is a critical-severity (CVSS 9.8) vulnerability in org.apache.camel:camel-ldap. A fix is available for org.apache.camel:camel-ldap — see the affected versions and patch details below.
Real-World Exposure
org.apache.camel:camel-ldap☕org.apache.camel:camel-ldapReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
The camel-ldap component allows LDAP Injection when using the filter option. Users are recommended to either move to the Camel-Spring-Ldap component (which is not affected) or upgrade to 3.14.6 or 3.18.4.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.camel:camel-ldap | all versions | 3.14.6org.apache.camel:camel-ldap:3.14.6 |
| ☕Maven | org.apache.camel:camel-ldap | ≥ 3.15.0&&< 3.18.4 | 3.18.4org.apache.camel:camel-ldap:3.18.4 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.camel:camel-ldap, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.camel:camel-ldap to 3.14.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-w66j-xc7r-m2jv is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
Maintainers have added a documentation detail regarding LDAP Injection in Camel LDAP component. Please check the link for more information. https://github.com/apache/camel/blob/3ea0740370bb436dcf70b91dcbfb4e2177fca797/components/camel-ldap/src/main/docs/ldap-component.adocSource: Red Hat security advisory for GHSA-w66j-xc7r-m2jv (CC BY 4.0)
Frequently Asked Questions
Is GHSA-w66j-xc7r-m2jv in your dependencies?
Find it across Maven, including transitive dependencies.