Live Exposure Defense: From CVE to Confirmed Exposure in 12 Hours – See more

New CVE Detected

CVE-2026-57818 – OAuth2 Authorization Code Reuse (TOCTOU Race Condition) – Apache CXF cxf-rt-rs-secu

Be the first to know when new zero-days emerge:

Summary

CVE-2026-57818 is a time-of-check to time-of-use (TOCTOU) race condition in Apache CXF’s OAuth2 security module (cxf-rt-rs-security-oauth2). An unauthenticated attacker can redeem a single OAuth2 authorization code multiple times through concurrent requests, causing the authorization server to issue multiple distinct, valid access tokens. The issue is rated High severity with a CVSS v3.1 base score of 8.1.

Technical details

  • Root cause: A synchronization flaw in JCacheCodeDataProvider fails to atomically invalidate an authorization code when it is redeemed, so concurrent redemptions read the code as still valid before it is consumed.
  • Trigger conditions: An attacker submits multiple concurrent token requests using the same authorization code, defeating the intended single-use restriction.
  • Attack vector: Network; no privileges or user interaction required. Attack complexity is High because the exploit depends on winning a timing race.
  • Impact: Issuance of multiple valid access tokens from one authorization code, undermining the integrity and confidentiality guarantees of the OAuth2 flow and enabling unauthorized access.

Affected software

  • Apache CXF cxf-rt-rs-security-oauth2 4.2.0 through 4.2.2
  • Apache CXF cxf-rt-rs-security-oauth2 4.0.0 through 4.1.7
  • Apache CXF cxf-rt-rs-security-oauth2 before 3.6.12 (0 through 3.6.11)

Severity

CVSS v3.1 base score: 8.1 (High)
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Mitigation and recommended actions

  • Immediate: Upgrade to a fixed release — Apache CXF 4.2.3, 4.1.8, or 3.6.12, depending on your branch.
  • If no patch: Restrict and monitor access to the OAuth2 token endpoint, and where possible reduce the exposure of the authorization-code grant flow until the upgrade can be applied.

References

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

How IONIX’s External Exposure Management Platform Detects and Validates
Zero-Days to Shrink MTTR

1

Map your entire attack surface (continously)

IONIX uses multi-factor discovery methods, including DNS analysis, certificate mapping, metadata inspection, and more, to automatically map every internet-facing asset across your environment. This includes cloud instances, third-party platforms, shadow IT, and even forgotten infrastructure that traditional tools miss.

2

Monitor for new CVEs

Dozens of threat intel feeds using agentic technology are continuously analyzed to detect the appearance of proof-of-concept code, exploit kits, and indicators of active targeting. IONIX goes further by applying AI to proactively evaluate whether emerging vulnerabilities are likely to be exploited, even before PoCs go public.

3

Identify Potential External Exposures

Not all CVEs matter. IONIX filters vulnerabilities by asking attacker-centric questions: Can it be reached from the internet? Does it require authentication? Is it being exploited in the wild? This dramatically reduces noise and focuses teams on threats that can actually be weaponized.

4

Create Safe, Scalable Exploit Validations

IONIX transforms real-world PoCs into safe, non-intrusive test payloads that can be run in production environments without disruption. These simulations are precisely targeted to the systems that are vulnerable, ensuring rapid validation without unnecessary load.

5

Execute Exploit Validations

By combining context about software stack, versioning, exposure status, and reachability, IONIX ensures that only the right payloads are executed against the right assets, maximizing efficiency and minimizing risk.

6

Drive Fast and Actionable Remediation

Results are routed through integrations with ticketing, SOAR, and SIEM tools. Issues are written in plain language, bundled into remediation clusters, and prioritized based on asset criticality, exploitability, and blast radius. This shortens mean time to remediation (MTTR) and empowers teams to act with confidence.

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

Subscribe to Threat Center RSS

Copy/paste the link below into your preferred RSS reader or follow these instructions to subscribe to Slack alerts.

Get Real-Time CVE Alerts to Your Email

Be the first to know when new zero-days emerge