{"id":"CVE-2026-41863","published":"2026-05-25T05:45:37Z","modified":"2026-05-26T14:19:10Z","title":"LLM-influenced filename used unsanitized in Path.resolve before file write in Spring AI support for Anthropic Skills API","vendor":"Spring","product":"Spring AI","tier":"tail","description":{"text":"Spring AI's support for Anthropic's Skills API used LLM-influenced filenames unsanitized in Path.resolve before writing files to disk. This could allow a malicious user to write files outside the intended target directory, including restricted directories.\n\nAffected versions:\nSpring AI: 1.1.0 through 1.1.x","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00398,"percentile":0.34906,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://spring.io/security/cve-2026-41863","tags":[]}],"priority":{"score":11.5,"factors":[{"name":"EPSS percentile","points":6.98},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"spring","affectedVersions":[{"vendor":"Spring","product":"Spring AI","versions":[">= 1.1.0, <= 1.1.x"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-26T14:19:04.863084Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.springframework.ai:spring-ai-anthropic","vulnerableRanges":[">=1.1.0, <1.1.7"],"patched":["1.1.7"],"from":["GHSA-cc4m-mp48-x7qg"],"provenance":"source"}],"summary":{"text":"The flaw is in Spring AI's support for Anthropic's Skills API, where filenames influenced by the LLM are passed unsanitized to Path.resolve before files are written to disk. Exploiting it requires only low-privileged access to the affected Spring AI 1.1.x component and no user interaction, and it lets an attacker write files outside the intended target directory, including restricted directories.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:55:58Z"},"euvd":{"id":"EUVD-2026-31638","exploited":false,"provenance":"source"}}