Security Vulnerability Report
中文
CVE-2026-41712 CVSS 7.5 HIGH

CVE-2026-41712

Published: 2026-05-12 11:16:19
Last Modified: 2026-05-12 19:26:04

Description

Spring AI's chat memory component contained a problematic default that, when not explicitly overridden, could result in unintended data exposure between users.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Configurations (Affected Products)

cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:* - VULNERABLE
Spring AI (所有受影响版本,具体请参考官方公告)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
/* * PoC Scenario: Demonstrating potential data leakage due to shared ChatMemory. * This assumes the vulnerable default configuration is used. */ // Step 1: User A sends a private message POST /api/chat HTTP/1.1 Host: vulnerable-app.com Content-Type: application/json { "userId": "user_a", "message": "My credit card is 1234-5678-9012-3456" } // Step 2: User B sends a normal message immediately after POST /api/chat HTTP/1.1 Host: vulnerable-app.com Content-Type: application/json { "userId": "user_b", "message": "Hello, what is the weather today?" } // Potential Vulnerable Response for User B: // The system might return context including User A's message. { "response": "The weather is sunny. By the way, you previously mentioned: 'My credit card is 1234-5678-9012-3456'", "history": ["My credit card is 1234-5678-9012-3456"] }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-41712", "sourceIdentifier": "[email protected]", "published": "2026-05-12T11:16:19.403", "lastModified": "2026-05-12T19:26:04.083", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Spring AI's chat memory component contained a problematic default that, when not explicitly overridden, could result in unintended data exposure between users."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-276"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:*", "versionStartIncluding": "1.0.0", "versionEndExcluding": "1.0.7", "matchCriteriaId": "F3EED561-3D9D-48C8-8AB7-AF0A94F87D31"}, {"vulnerable": true, "criteria": "cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:*", "versionStartIncluding": "1.1.0", "versionEndExcluding": "1.1.6", "matchCriteriaId": "4EFDEFC4-3E15-4C9F-9DEF-0350C37D51FE"}]}]}], "references": [{"url": "https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N&version=3.1", "source": "[email protected]", "tags": ["US Government Resource"]}, {"url": "https://spring.io/security/cve-2026-41712", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}