CVE-2026-59382: Spring Integration Zip Transformer Default Work Directory Can Be Redirected via Symlink
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.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Applications using Spring Integration Zip Transformer with its default work directory are exposed if an unprivileged local user can create ${java.io.tmpdir}/ziptransformer as a symbolic link before the application starts. The attacker can cause temporary files to be written to a directory they choose, under the application's user account.
Does an application need a special configuration to be affected?
No. The issue affects use of the fixed default work directory, ${java.io.tmpdir}/ziptransformer. The symbolic-link guard applies to an explicitly configured workDirectory, but does not protect the default path in this scenario.
What must an attacker be able to do to exploit this?
The attacker needs local unprivileged access sufficient to create a symbolic link at ${java.io.tmpdir}/ziptransformer before the affected application starts. They do not need application-side configuration changes or user interaction.
How can I determine whether my deployment may already be affected?
Check whether the application uses the Zip Transformer default work directory and inspect ${java.io.tmpdir}/ziptransformer before startup. A symbolic link at that location, particularly one created by an untrusted local user, indicates the condition needed to redirect the transformer's temporary writes.