← Back to CVE Explorer

CVE-2026-50631

Full vulnerability record from the local CVENow database.

Description

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.

Severity
HIGH
CVSS score
7.4 (v3.1)
Vulnerability status
Modified
Source identifier
Published
2026-06-12 10:16:23.070000
Last modified
2026-10-26 11:10:00.157000
View original CVE JSON
{
  "id": "CVE-2026-50631",
  "sourceIdentifier": "[email protected]",
  "published": "2026-06-12T10:16:23.070",
  "lastModified": "2026-10-26T11:10:00.157",
  "vulnStatus": "Modified",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    },
    {
      "lang": "es",
      "value": "Una condición de carrera en AbstractOAuthDataProvider permite que solicitudes concurrentes que utilizan el mismo Refresh Token eludan la semántica de un solo uso y generen múltiples Access Tokens válidos, cuando ’recycleRefreshTokens’ está configurado como falso. Un Refresh Token filtrado puede ser reproducido concurrentemente por múltiples atacantes o hilos. Se recomienda a los usuarios actualizar a las versiones 4.2.2 o 4.1.7, que corrige este problema."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "Apache Software Foundation",
          "product": "Apache CXF",
          "defaultStatus": "unaffected",
          "collectionURL": "https://repo.maven.apache.org/maven2",
          "packageName": "org.apache.cxf:cxf-rt-rs-security-oauth2",
          "versions": [
            {
              "version": "4.2.0",
              "lessThan": "4.2.2",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "4.0.0",
              "lessThan": "4.1.7",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "3.6.12",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N",
          "baseScore": 7.4,
          "baseSeverity": "HIGH",
          "attackVector": "NETWORK",
          "attackComplexity": "HIGH",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 2.2,
        "impactScore": 5.2
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-06-12T14:03:56.077000Z",
          "id": "CVE-2026-50631",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-367"
        }
      ]
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*",
              "versionEndExcluding": "4.1.7",
              "matchCriteriaId": "C0505632-D713-4EFC-B857-12EBD5C3DF33"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "4.2.0",
              "versionEndExcluding": "4.2.2",
              "matchCriteriaId": "B1BF06FC-96AD-4663-9959-1B1493D4A2A0"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://lists.apache.org/thread/s83t3x4r626o9h8rt0ryr1w7w53l1vv8",
      "source": "[email protected]",
      "tags": [
        "Vendor Advisory"
      ]
    },
    {
      "url": "http://www.openwall.com/lists/oss-security/2026/06/11/8",
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Mailing List",
        "Third Party Advisory"
      ]
    }
  ]
}