CVE-2026-50634: Apache CXF: JWS signature bypass exposes JAX-RS APIs
AWAITING NVDApache CXF's JwsJsonContainerRequestFilter fails to verify that Content-Type and protected HTTP header metadata is actually covered by the accepted JSON Web Signature, allowing an attacker to inject unauthenticated metadata that downstream JAX-RS processing treats as trusted. For organizations exposing AI model inference endpoints or AI service APIs via Apache CXF, this flaw breaks the cryptographic trust chain gating request processing — the bypass can redirect entity parsing or circumvent signed-header consistency checks without triggering authentication failures. No EPSS score or public exploit is available yet and there is no CISA KEV listing, placing current exploitation likelihood at speculative but non-trivial given the well-understood nature of JWS manipulation (CWE-347). Upgrade to Apache CXF 4.2.2 or 4.1.7 immediately; if patching is delayed, add explicit server-side validation of Content-Type and all security-relevant headers independent of and before the JWS filter.
What is the risk?
Moderate risk. CWE-347 (Improper Verification of Cryptographic Signature) represents a fundamental trust assumption failure in the request authentication layer. No CVSS score is assigned yet, and there are no known public exploits or active exploitation reports. However, signature bypass vulnerabilities in authentication filters are historically reliably exploitable once the mechanics are understood — an attacker familiar with JWS can craft requests that pass the filter while carrying unauthenticated metadata. Risk is elevated for organizations where Apache CXF serves as the API gateway layer for AI inference services and where JWS-verified headers drive authorization decisions about which model operations are permitted.
How does the attack unfold?
How severe is it?
What should I do?
5 steps-
Patch immediately: upgrade Apache CXF to 4.2.2 (4.x branch) or 4.1.7 (4.1.x branch) — both contain the fix per the vendor advisory.
-
If patching is delayed: add explicit server-side validation of Content-Type and all security-relevant HTTP headers at the application layer, independent of and before the JwsJsonContainerRequestFilter processes them.
-
Audit all JAX-RS endpoints protected by JwsJsonContainerRequestFilter to enumerate which headers are used in authorization decisions and whether those decisions can be influenced by unauthenticated metadata.
-
Consider WAF rules that flag anomalous or unexpected Content-Type values on JWS-protected endpoints as a compensating control.
-
Monitor application and container logs for unexpected Content-Type values, JAX-RS entity parsing errors, or signed-header consistency failures that could indicate exploitation attempts.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-50634?
Apache CXF's JwsJsonContainerRequestFilter fails to verify that Content-Type and protected HTTP header metadata is actually covered by the accepted JSON Web Signature, allowing an attacker to inject unauthenticated metadata that downstream JAX-RS processing treats as trusted. For organizations exposing AI model inference endpoints or AI service APIs via Apache CXF, this flaw breaks the cryptographic trust chain gating request processing — the bypass can redirect entity parsing or circumvent signed-header consistency checks without triggering authentication failures. No EPSS score or public exploit is available yet and there is no CISA KEV listing, placing current exploitation likelihood at speculative but non-trivial given the well-understood nature of JWS manipulation (CWE-347). Upgrade to Apache CXF 4.2.2 or 4.1.7 immediately; if patching is delayed, add explicit server-side validation of Content-Type and all security-relevant headers independent of and before the JWS filter.
Is CVE-2026-50634 actively exploited?
No confirmed active exploitation of CVE-2026-50634 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-50634?
1. Patch immediately: upgrade Apache CXF to 4.2.2 (4.x branch) or 4.1.7 (4.1.x branch) — both contain the fix per the vendor advisory. 2. If patching is delayed: add explicit server-side validation of Content-Type and all security-relevant HTTP headers at the application layer, independent of and before the JwsJsonContainerRequestFilter processes them. 3. Audit all JAX-RS endpoints protected by JwsJsonContainerRequestFilter to enumerate which headers are used in authorization decisions and whether those decisions can be influenced by unauthenticated metadata. 4. Consider WAF rules that flag anomalous or unexpected Content-Type values on JWS-protected endpoints as a compensating control. 5. Monitor application and container logs for unexpected Content-Type values, JAX-RS entity parsing errors, or signed-header consistency failures that could indicate exploitation attempts.
What systems are affected by CVE-2026-50634?
This vulnerability affects the following AI/ML architecture patterns: AI model serving, AI API gateways, Enterprise AI service backends.
What is the CVSS score for CVE-2026-50634?
No CVSS score has been assigned yet.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0040 AI Model Inference API Access AML.T0049 Exploit Public-Facing Application AML.T0107 Exploitation for Defense Evasion Compliance Controls Affected
What are the technical details?
Original Advisory
A vulnerability in Apache CXF's JwsJsonContainerRequestFilter can be exploited to cause CXF to process metadata that was not authenticated by the accepted signature. This can bypass the application's assumption that accepted `Content-Type` or protected HTTP-header metadata came from a verified signature entry, and may steer downstream JAX-RS entity parsing or signed-header consistency checks. Users are recommended to upgrade to versions 4.2.2 or 4.1.7, which fix this issue.
Exploitation Scenario
An adversary targeting an organization's AI model inference API built on Apache CXF constructs a crafted HTTP request to a JWS-protected endpoint. The request includes a valid JWS signature covering only the core payload body while injecting a malicious Content-Type value or custom authorization header outside the signed components. CXF's JwsJsonContainerRequestFilter accepts the partial signature as valid and passes the full request downstream — including the unauthenticated metadata — to the JAX-RS entity reader. The downstream parser interprets the injected Content-Type as trusted, potentially triggering an alternative deserialization path (e.g., XML vs. JSON), invoking a different endpoint handler, or circumventing a signed-header consistency check that gated access to privileged model operations. In an AI service context, this could allow the adversary to invoke restricted model inference endpoints, manipulate input routing to production models, or extract model outputs that would otherwise be blocked by the signed-header authorization logic.
Weaknesses (CWE)
CWE-347 Improper Verification of Cryptographic Signature
Primary
CWE-347 Improper Verification of Cryptographic Signature CWE-347 — Improper Verification of Cryptographic Signature: The product does not verify, or incorrectly verifies, the cryptographic signature for data.
Source: MITRE CWE corpus.
References
Timeline
Related Vulnerabilities
CVE-2026-21858 10.0 n8n: Input Validation flaw enables exploitation
Same attack type: Data Extraction CVE-2025-53767 10.0 Azure OpenAI: SSRF EoP, no auth required (CVSS 10)
Same attack type: Data Extraction CVE-2023-3765 10.0 MLflow: path traversal allows arbitrary file read
Same attack type: Data Extraction CVE-2025-2828 10.0 LangChain RequestsToolkit: SSRF exposes cloud metadata
Same attack type: Data Extraction GHSA-vvpj-8cmc-gx39 10.0 picklescan: security flaw enables exploitation
Same attack type: Auth Bypass