# CVE-2026-41863: LLM-influenced filename used unsanitized in Path.resolve before file write in Spring AI support for Anthropic Skills API

- Severity: Medium 6.5 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-05-25T05:45:37.690Z
- Modified: 2026-07-23T17:10:00.123Z
- Also known as: GHSA-cc4m-mp48-x7qg
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: vmware

## Description

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.

Affected versions:
Spring AI: 1.1.0 through 1.1.x

(As written by CVE List.)

## Affected

- Spring Spring AI: from 1.1.0 up to 1.1.x
- org.springframework.ai:spring-ai-anthropic (Maven): from 1.1.0 before 1.1.7
- vmware spring_ai: from 1.1.0 before 1.1.7

## Every score

- vmware: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://spring.io/security/cve-2026-41863> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41863> (advisory)
- <https://github.com/spring-projects/spring-ai> (package)

## Sources

- CVE List: [CVE-2026-41863](https://www.cve.org/CVERecord?id=CVE-2026-41863), CVE Terms of Use, modified 2026-05-26
- GitHub Advisory Database: [GHSA-cc4m-mp48-x7qg](https://github.com/advisories/GHSA-cc4m-mp48-x7qg), CC-BY-4.0, modified 2026-06-30
- NVD: [CVE-2026-41863](https://nvd.nist.gov/vuln/detail/CVE-2026-41863), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-41863 · Whole record: https://cve.day/CVE-2026-41863.json · Rebuilt by cve.day 2026-11-25T22:59:22.257Z
