{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/353826?format=json","vulnerability_id":"VCID-9np9-s26y-87ch","summary":"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.","aliases":[{"alias":"CVE-2026-22751"},{"alias":"GHSA-x2wq-9x2f-fhj7"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/1077747?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@6.5.10","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.5.10"},{"url":"http://public2.vulnerablecode.io/api/packages/1077746?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@7.0.5","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@7.0.5"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/63354?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@6.4.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-9np9-s26y-87ch"},{"vulnerability":"VCID-b5bu-1gpr-5bbc"},{"vulnerability":"VCID-bxeh-gaxy-6uch"},{"vulnerability":"VCID-n8yk-aw4d-7qda"},{"vulnerability":"VCID-tyxn-hxfu-p3a6"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.4.0"},{"url":"http://public2.vulnerablecode.io/api/packages/1077748?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@6.4.13","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-9np9-s26y-87ch"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.4.13"},{"url":"http://public2.vulnerablecode.io/api/packages/63355?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@6.5.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-9np9-s26y-87ch"},{"vulnerability":"VCID-b5bu-1gpr-5bbc"},{"vulnerability":"VCID-bxeh-gaxy-6uch"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.5.0"},{"url":"http://public2.vulnerablecode.io/api/packages/1077745?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@7.0.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-9np9-s26y-87ch"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@7.0.3"}],"references":[{"reference_url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-22751.json","reference_id":"","reference_type":"","scores":[{"value":"4.8","scoring_system":"cvssv3","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"}],"url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-22751.json"},{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2026-22751","reference_id":"","reference_type":"","scores":[{"value":"0.00025","scoring_system":"epss","scoring_elements":"0.0694","published_at":"2026-04-24T12:55:00Z"},{"value":"0.00025","scoring_system":"epss","scoring_elements":"0.06945","published_at":"2026-04-26T12:55:00Z"},{"value":"0.00033","scoring_system":"epss","scoring_elements":"0.09466","published_at":"2026-04-29T12:55:00Z"},{"value":"0.00041","scoring_system":"epss","scoring_elements":"0.12278","published_at":"2026-05-07T12:55:00Z"},{"value":"0.00041","scoring_system":"epss","scoring_elements":"0.12142","published_at":"2026-05-05T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-22751"},{"reference_url":"https://github.com/spring-projects/spring-security","reference_id":"","reference_type":"","scores":[{"value":"4.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/spring-projects/spring-security"},{"reference_url":"https://github.com/spring-projects/spring-security/commit/163772775036c4146815a5266874278c6f45f047","reference_id":"","reference_type":"","scores":[{"value":"4.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/spring-projects/spring-security/commit/163772775036c4146815a5266874278c6f45f047"},{"reference_url":"https://github.com/spring-projects/spring-security/commit/4187af38b251fc97fdf9949f7869618111e6e261","reference_id":"","reference_type":"","scores":[{"value":"4.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/spring-projects/spring-security/commit/4187af38b251fc97fdf9949f7869618111e6e261"},{"reference_url":"https://bugzilla.redhat.com/show_bug.cgi?id=2460211","reference_id":"2460211","reference_type":"","scores":[],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2460211"},{"reference_url":"https://spring.io/security/cve-2026-22751","reference_id":"cve-2026-22751","reference_type":"","scores":[{"value":"4.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-04-21T18:44:30Z/"}],"url":"https://spring.io/security/cve-2026-22751"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22751","reference_id":"CVE-2026-22751","reference_type":"","scores":[{"value":"4.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22751"},{"reference_url":"https://github.com/advisories/GHSA-x2wq-9x2f-fhj7","reference_id":"GHSA-x2wq-9x2f-fhj7","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-x2wq-9x2f-fhj7"}],"weaknesses":[{"cwe_id":367,"name":"Time-of-check Time-of-use (TOCTOU) Race Condition","description":"The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. This can cause the product to perform invalid actions when the resource is in an unexpected state."}],"exploits":[],"severity_range_score":"4.0 - 6.9","exploitability":"0.5","weighted_severity":"6.2","risk_score":3.1,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-9np9-s26y-87ch"}