{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.6.12"
              },
              {
                "introduced": "4.0.0"
              },
              {
                "fixed": "4.1.8"
              },
              {
                "introduced": "4.2.0"
              },
              {
                "fixed": "4.2.3"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "16d606b3c4d5c7d271fd3b488c60a208586acb3f"
            },
            {
              "introduced": "02310e95fe74c0c031f540f3284e4a9bd856ced2"
            },
            {
              "fixed": "8797a177ec23e9c578c78a630c154ad27d9bbe8d"
            },
            {
              "introduced": "04ccbfd709eef8f4af53d6237514fbe9db7ea81f"
            },
            {
              "fixed": "33259395b45b4ff69b8df6a153630721fdd489fa"
            }
          ],
          "repo": "https://github.com/apache/cxf",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "apache",
    "cwe_ids": [
      "CWE-367"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57818.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "4.2.0"
          },
          {
            "fixed": "4.2.3"
          },
          {
            "introduced": "4.0.0"
          },
          {
            "fixed": "4.1.8"
          },
          {
            "fixed": "3.6.12"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "A race condition in JCacheCodeDataProvider allows an attacker to redeem a single authorization code multiple times via concurrent requests, resulting in the issuance of multiple distinct, valid access tokens. Users are recommended to upgrade to versions 4.2.3, 4.1.8 or 3.6.12, which fix this issue.",
  "id": "CVE-2026-57818",
  "modified": "2026-08-12T03:51:35.543720472Z",
  "published": "2026-08-06T11:24:53.590Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/08/06/20"
    },
    {
      "type": "WEB",
      "url": "https://repo.maven.apache.org/maven2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57818.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://lists.apache.org/thread/7q08mz8bcbosp25wok7gr537zlp15mfz"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-57818"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Apache CXF: OAuth2 Authorization Code Replay via TOCTOU in JCacheCodeDataProvider"
}