{
  "cvss": 4.8,
  "datePublished": "2026-04-21T19:16:16.550",
  "dateUpdated": "2026-10-26T21:10:00.170",
  "description": "Vulnerability in Spring Spring Security. Applications that explicitly configure One-Time Token login with JdbcOneTimeTokenService are vulnerable to a Time-of-check Time-of-use (TOCTOU) race condition. This issue affects Spring Security: from 6.4.0 through 6.4.15, from 6.5.0 through 6.5.9, from 7.0.0 through 7.0.4.",
  "id": "CVE-2026-22751",
  "raw": {
    "affected": [
      {
        "affectedData": [
          {
            "defaultStatus": "unaffected",
            "product": "Spring Security",
            "vendor": "Spring",
            "versions": [
              {
                "lessThanOrEqual": "6.4.15",
                "status": "affected",
                "version": "6.4.0",
                "versionType": "custom"
              },
              {
                "lessThanOrEqual": "6.5.9",
                "status": "affected",
                "version": "6.5.0",
                "versionType": "custom"
              },
              {
                "lessThanOrEqual": "7.0.4",
                "status": "affected",
                "version": "7.0.0",
                "versionType": "custom"
              }
            ]
          }
        ],
        "source": "security@vmware.com"
      }
    ],
    "configurations": [
      {
        "nodes": [
          {
            "cpeMatch": [
              {
                "criteria": "cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*",
                "matchCriteriaId": "6452E94A-BC89-4F38-A140-C55DC6DEC0A8",
                "versionEndExcluding": "6.4.16",
                "versionStartIncluding": "6.4.0",
                "vulnerable": true
              },
              {
                "criteria": "cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*",
                "matchCriteriaId": "5A35C014-6D64-4246-99B8-88BD7B5EC92F",
                "versionEndExcluding": "6.5.10",
                "versionStartIncluding": "6.5.0",
                "vulnerable": true
              },
              {
                "criteria": "cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*",
                "matchCriteriaId": "0B8A5767-EB43-4E11-8E93-9324B70F7060",
                "versionEndExcluding": "7.0.5",
                "versionStartIncluding": "7.0.0",
                "vulnerable": true
              }
            ],
            "negate": false,
            "operator": "OR"
          }
        ]
      }
    ],
    "cveTags": [],
    "descriptions": [
      {
        "lang": "en",
        "value": "Vulnerability in Spring Spring Security. Applications that explicitly configure One-Time Token login with JdbcOneTimeTokenService are vulnerable to a Time-of-check Time-of-use (TOCTOU) race condition. This issue affects Spring Security: from 6.4.0 through 6.4.15, from 6.5.0 through 6.5.9, from 7.0.0 through 7.0.4."
      },
      {
        "lang": "es",
        "value": "Vulnerabilidad en Spring Spring Security. Las aplicaciones que configuran explícitamente el inicio de sesión con token de un solo uso con JdbcOneTimeTokenService son vulnerables a una condición de carrera de tipo Time-of-check Time-of-use (TOCTOU). Este problema afecta a Spring Security: desde 6.4.0 hasta 6.4.15, desde 6.5.0 hasta 6.5.9, desde 7.0.0 hasta 7.0.4."
      }
    ],
    "id": "CVE-2026-22751",
    "lastModified": "2026-10-26T21:10:00.170",
    "metrics": {
      "cvssMetricV31": [
        {
          "cvssData": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 4.8,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
            "version": "3.1"
          },
          "exploitabilityScore": 2.2,
          "impactScore": 2.5,
          "source": "security@vmware.com",
          "type": "Secondary"
        }
      ],
      "ssvcV203": [
        {
          "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "ssvcData": {
            "id": "CVE-2026-22751",
            "options": [
              {
                "exploitation": "none"
              },
              {
                "automatable": "no"
              },
              {
                "technicalImpact": "partial"
              }
            ],
            "role": "CISA Coordinator",
            "timestamp": "2026-04-21T18:44:30.926766Z",
            "version": "2.0.3"
          }
        }
      ]
    },
    "published": "2026-04-21T19:16:16.550",
    "references": [
      {
        "source": "security@vmware.com",
        "tags": [
          "Vendor Advisory"
        ],
        "url": "https://spring.io/security/cve-2026-22751"
      }
    ],
    "sourceIdentifier": "security@vmware.com",
    "vulnStatus": "Analyzed",
    "weaknesses": [
      {
        "description": [
          {
            "lang": "en",
            "value": "CWE-367"
          }
        ],
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "type": "Secondary"
      }
    ]
  },
  "severity": "MEDIUM",
  "source": "nvd",
  "title": "Vulnerability in Spring Spring Security"
}