Spring Integration Zip Transformer Default Work Directory Can Be Redirected via Symlink
- CVE-2026-59382
- GHSA-fj23-q4h8-pfc2
- EUVD-2026-140878
Description
The symbolic link guard in AbstractZipTransformer.onInit() protects an explicitly configured workDirectory , but not the default one. The default work directory, ${java.io.tmpdir}/ziptransformer , is canonicalized when the transformer is constructed, so any symbolic link at that location is already resolved to its target by the time the guard runs, and the check passes. Because the default path is fixed and well known, an unprivileged local user who can create ${java.io.tmpdir}/ziptransformer as a symbolic link before the application starts can redirect the transformer's temporary file writes to a directory of their choosing, with files written as the application's user. No configuration is required on the application side; using the default work directory is enough.
Text from the CVE.org record.
Affected
Spring Spring Integration
- from 7.1.0 to before 7.1.2.1
- from 7.0.0 to before 7.0.7.1
- from 6.5.0 to before 6.5.12
- from 6.4.0 to before 6.4.14
- from 7.1.0 to before 7.1.3
- from 7.0.0 to before 7.0.8
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.