CVE-2025-30177
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedBypass/Injection vulnerability in Apache Camel in Camel-Undertow component under particular conditions. This issue affects Apache Camel: from 4.10.0 before 4.10.3, from 4.8.0 before 4.8.6. Users are recommended to upgrade to version 4.10.3 for 4.10.x LTS and 4.8.6 for 4.8.x LTS. Camel undertow component is vulnerable to Camel message header injection, in particular the custom header filter strategy used by the component only filter the "out" direction, while it doesn't filter the "in" direction. This allows an attacker to include Camel specific headers that for some Camel components can alter the behaviour such as the camel-bean component, or the camel-exec component.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe Apache Camel Undertow component has a header injection vulnerability due to its custom header filter strategy only filtering headers in the 'out' direction while leaving the 'in' direction unfiltered. This allows attackers to inject Camel-specific headers that can manipulate the behavior of downstream components like camel-bean or camel-exec.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 4.8.0, < 4.8.6>= 4.10.0, < 4.10.3CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Apache Camel version in useInspect project dependencies (Maven pom.xml, Gradle build.gradle) or check the camel-core JAR manifest. Run: grep -r 'camel' pom.xml | grep version or examine META-INF/MANIFEST.MF inside camel-core jarAffected if Version is 4.8.0 through 4.8.5, or 4.10.0 through 4.10.2
-
Confirm Undertow component is deployedSearch for camel-undertow dependency in your build configuration (pom.xml, build.gradle) or verify the camel-undertow jar is present in the classpath. Run: find . -name 'camel-undertow*.jar'Affected if camel-undertow dependency or JAR is present in the runtime
-
Locate HeaderFilterStrategy configurationSearch Java code and XML route definitions for implementations of org.apache.camel.spi.HeaderFilterStrategy, or look for <headerFilterStrategy> elements in XML route files. Search: grep -r 'HeaderFilterStrategy' .Affected if A custom or extended HeaderFilterStrategy is configured for the Undertow endpoint
-
Verify if incoming header filtering is disabledInspect the HeaderFilterStrategy implementation or configuration for the doVisitHeader method, or check if setCamelHeaderFilter is configured to filter only outbound headers. Examine the route builder code for undertow: configurationAffected if The HeaderFilterStrategy explicitly filters only 'out' direction headers or has logic that skips 'in' direction header validation
You are affected if Apache Camel versions 4.8.0-4.8.5 or 4.10.0-4.10.2 are running with the camel-undertow component and a custom header filter strategy that does not filter incoming direction headers is in use.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped4.8.64.10.3
Upgrade Apache Camel to version 4.10.3 or 4.8.6 (depending on your branch) to obtain the patched header filter strategy that properly filters incoming direction headers.
4.10.3 for 4.10.x LTS; 4.8.6 for 4.8.x LTS
- 1. Identify the current Apache Camel version in use by checking your project's dependency management file (e.g., pom.xml for Maven or build.gradle for Gradle)
- 2. Locate all Camel dependencies, particularly the camel-undertow component, and note their current versions
- 3. For Camel 4.10.x users: Update the Camel version property or dependency to 4.10.3
- 4. For Camel 4.8.x users: Update the Camel version property or dependency to 4.8.6
- 5. Rebuild the project to download the fixed versions
- 6. Run existing test suites to verify the upgrade does not break functionality
- 7. Redeploy the updated application
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,600.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-30177 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-30177 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data