← 漏洞与更新

高危漏洞公告SpringJava

cve-2026-59381 - HIGH - Spring Integration Remote File MGET Local Directory Path Traversal via Server-Controlled Remote Directory

The fix for CVE-2026-40987 validates only the file name against the local directory. For the remote file outbound gateway MGET command, the local directory itself can be derived from the server-controlled listing entry via the documented #remoteDirectory SpEL variable in a local-directory-expression . Since the directory is canonicalized before the containment check, the check passes even though the directory has already escaped the intended root, and the framework then creates the escaped directory. As a result, a malicious FTP, SFTP or SMB server can write files with attacker-controlled con…

在 Spring Security Advisories 阅读

2026/11/19 09:00,Spring Security Advisories 发布了“cve-2026-59381 - HIGH - Spring Integration Remote File MGET Local Directory Path Traversal via Server-Controlled Remote Directory”(类型:漏洞公告)。严重程度为“高危”(high)。相关技术:Spring、Java。CVE:CVE-2026-59381、CVE-2026-40987。