CVE-2026-50631Apache Cxf
High 7.4 No auth needed
Follow: this CVE · Apache · Apache Cxf We alert you by email or Slack (account required).
- Priority
- 59
- CVSS 3.1
- 7.4
- EPSS
- —
- Auth required
- No
- Published
- Jun 12, 2026
- Updated
- Nov 5, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-367
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
A race condition in AbstractOAuthDataProvider allows concurrent requests using the same Refresh Token to bypass single-use semantics and generate multiple valid Access Tokens, when 'recycleRefreshTokens' is set to false. A leaked refresh token can be replayed concurrently by multiple attackers or threads. Users are recommended to upgrade to versions 4.2.2 or 4.1.7 or 3.6.12, which fixes this issue.
What to do
- Apply the vendor's security update for Cxf.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.cxf:cxf-rt-rs-security-oauth2 |
≥ 4.2.0 < 4.2.2 |
4.2.2 |
— |
| Maven | org.apache.cxf:cxf-rt-rs-security-oauth2 |
< 4.1.7 |
4.1.7 |
— |
Per OSV / GitHub Advisories (GHSA-83r6-96m8-r52p). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | cxf | < 3.6.12 |
| apache | cxf | ≥ 4.0.0 < 4.1.7 |
| apache | cxf | ≥ 4.2.0 < 4.2.2 |
Official sources
References
Links published by the sources. Open them with care.
- lists.apache.org Vendor Advisory
- www.openwall.com Mailing List Third Party Advisory