Skip to content
NewCybercrime Report 2026 · Eight Chapters · A Post Is Not An Incident → Explore The ChaptersCybercrime Report 2026 → Explore

Apache CXF SAML Assertion Trust Confusion (CVE-2026-97791)

CVE-2026-97791 affects Apache CXF services that use STSTokenValidator to validate SAML tokens without the alwaysValidateToSts setting.

Reviewed by
Brandefense Analyst Team
Published
Reading Time
3 min read
CVE ID
CVE-2026-97791
Vendor
Apache Software Foundation
Affected Product
Apache CXF
Exploitation
Not confirmed
Published
2026-10-09

Apache says shared validation state can let an unauthenticated attacker have an untrusted assertion treated as trusted while legitimate requests are processed. The forged assertion may then bypass validation by the Security Token Service (STS).The issue is conditional on the service configuration, so a CXF dependency alone does not establish exposure. Record the deployed version and token validation path before prioritizing an upgrade. The Vulnerability Intelligence platform supports the broader work of prioritizing such findings.

What it allows

How Can CVE-2026-97791 Change SAML Trust Decisions?

STSTokenValidator checks whether a SAML assertion has a signature from a trusted certificate before sending it to the STS. Apache says the trust result was stored in one object shared by all requests. As a result, a request could read the result of another request.

During legitimate request processing, a remote unauthenticated attacker could submit an assertion signed with an untrusted certificate. Apache says that assertion could be accepted as trusted without reaching the STS. This is an assertion trust failure, not evidence that every SAML integration or every CXF installation is exposed.

Brandefense Blackhole counted two dark-chat posts mentioning CVE-2026-97791 from 24 August to 22 November 2026. The unit is a post mentioning the identifier, not a verified attack or affected service. CISA's KEV catalog version 2026.11.20 does not list this CVE.

The related Apache CXF STS token cache flaw profile covers a different token validation problem. Keep its remediation decision separate from this cross-request state issue.

Who is affected

Which Apache CXF Services Are Affected by CVE-2026-97791?

Apache lists CXF 4.2.0 before 4.2.4, CXF 4.0.0 before 4.1.9, and CXF before 3.6.13. The fixed releases are 4.2.4, 4.1.9 and 3.6.13. Match the deployed release to the appropriate line instead of comparing only its major version.

The advisory narrows exposure to services using STSTokenValidator for SAML token validation without alwaysValidateToSts set. Check the effective runtime setting, including inherited configuration, rather than assuming a source-file default is active. Also confirm which deployed CXF library the running service loads.

Apache's lower bound for the line before 3.6.13 is open-ended. Its 4.0.0-to-4.1.9 range crosses minor lines, so this draft leaves automated version checking unset. Use a manual version and configuration check against the advisory for every deployment.

After upgrading, verify the running CXF release and test the normal SAML validation flow. Review STS validation and authentication logs for unexpected trust decisions as an investigative step. This is our defensive guidance, not a vendor-provided detection signature; record the outcome in the patch management process.

Timeline

  1. 2026-10-09

    Apache published its Important advisory for CVE-2026-97791 and named three fixed release lines.

  2. 2026-10-09

    NVD published the CVE record; its analyzed record lists CWE-362 and a secondary CVSS 3.1 score of 7.5.

What to do

  1. Find SAML validation paths

    Identify services using Apache CXF STSTokenValidator. Confirm whether they validate SAML tokens and whether alwaysValidateToSts is set in the effective runtime configuration.

  2. Match the running release to its fix

    For affected deployments, upgrade to CXF 4.2.4, 4.1.9 or 3.6.13 as appropriate for the release line. Compare the actual deployed library version with Apache's advisory.

  3. Verify after the upgrade

    Confirm the running service loads the fixed CXF release. Test expected SAML authentication and STS validation, then document any unexpected trust decisions for investigation.

What Brandefense can do

Frequently Asked Questions

Does every Apache CXF SAML service have CVE-2026-97791 exposure?

No. Apache limits the affected configuration to services that use STSTokenValidator to validate SAML tokens without alwaysValidateToSts set. Check the running release and effective configuration.

Which Apache CXF releases fix CVE-2026-97791?

Apache recommends CXF 4.2.4, 4.1.9 or 3.6.13, depending on the deployed release line. Verify the running library after upgrading.

Do Brandefense Blackhole mentions prove active exploitation?

No. Two dark-chat posts mentioned this CVE from 24 August to 22 November 2026. A mention is neither an incident report nor a count of affected services.

Sources

  1. Apache CXF CVE-2026-97791 Security AdvisoryApache Software Foundation
  2. NVD CVE-2026-97791 RecordNIST NVD
  3. CISA Known Exploited Vulnerabilities CatalogCISA
ShareLinkedInX
Brandefense logo

Stay Ahead of Digital Threats.

Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.

Open The Full Demo Form →