CVE-2026-73179 PUBLISHED

Apache CXF: JPA authorization-code consume is non-atomic

Assigner: apache
Reserved: 11.08.2026 Published: 09.10.2026 Updated: 09.10.2026

Improper enforcement of single-use authorization code semantics in the JPA OAuth2 authorization code grant provider in Apache CXFallows a remote attacker to obtain multiple valid access tokens from a single authorization code via concurrent token exchange requests that race the non-atomic find-then-delete operation against a shared relational database under READ_COMMITTED isolation. Users are recommended to upgrade to versions 4.2.4 or 4.1.9 or 3.6.13, which fixes this issue.

Product Status

Vendor Apache Software Foundation
Product Apache CXF
Versions Default: unaffected
  • affected from 4.2.0 to 4.2.4 (excl.)
  • affected from 4.0.0 to 4.1.9 (excl.)
  • affected from 0 to 3.6.13 (excl.)

Credits

  • Guanping Zhang reported this vulnerability finder

References

Problem Types

  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition CWE