CVE-2026-47862

ZipTransformer uses file_name header to build workDirectory path without sanitization

Published Aug 26, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
An attacker who can set the file_name header on a message reaching a ZipTransformer with ZipResultType.FILE (the default) can cause the resulting .zip archive to be written to an arbitrary filesystem path outside the configured workDirectory.
Spring Integration 7.1.0
Spring Integration 7.0.0 - 7.0.5
Spring Integration 6.5.0 - 6.5.10
Spring Integration 6.4.0 - 6.4.12

Analysis

AI-generated

Technical impact

ZipTransformer builds the destination path for a created .zip archive using the value of the file_name header on a message. An attacker able to inject a crafted file_name can cause the resulting archive to be written to any filesystem path outside the configured work directory. This flaw is an instance of CWE‑22, Path Traversal, and allows overwriting or creating files without proper input validation, potentially leading to data loss, unintended disclosure, or corruption of critical configuration files. The vulnerability does not provide direct code execution but enables an attacker to manipulate the file system in ways that can affect application integrity.

Affected Systems

Spring Integration versions 7.1.0, 7.0.0 through 7.0.5, 6.5.0 through 6.5.10, and 6.4.0 through 6.4.12 are affected. The issue arises whenever ZipResultType.FILE (the default) is used in a ZipTransformer component exposed to external input.

Risk and Exploitability

The CVSS score of 5.4 indicates moderate severity. The EPSS score of < 1% and it is not listed in CISA's KEV catalog, suggesting no publicly known exploits yet. However, the attack vector requires an attacker who can send a message with a custom file_name header to the vulnerable ZipTransformer. If the integration endpoint is exposed without proper authentication or input validation, an attacker can exploit the flaw to write arbitrary files to the host filesystem, which could lead to unauthorized data disclosure or overwrite of important files. Monitoring for unusual outbound file writes and restricting access to message endpoints are prudent mitigations while a patch is applied.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Spring Integration release that addresses the vulnerability (7.1.0 or later).
  • Validate or sanitize the file_name header before it is used to construct the write path, ensuring it cannot contain directory traversal or absolute paths.
  • Restrict access to the integration endpoints using authentication, authorization, and network controls so that only trusted clients can send messages to the ZipTransformer.
  • If the ZipResultType.FILE functionality is not required, disable or change the configuration to use an alternative transport so the flaw cannot be leveraged.

Generated by OpenCVE AI on August 27, 2026 at 18:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
References
History
Type Values Removed Values Added
First Time appeared Vmware
Vmware spring Integration
CPEs cpe:2.3:a:vmware:spring_integration:*:*:*:*:*:*:*:*
Vendors & Products Vmware
Vmware spring Integration
Type Values Removed Values Added
Weaknesses CWE-20
CWE-73
Type Values Removed Values Added
Weaknesses CWE-22
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-20
CWE-73
Type Values Removed Values Added
First Time appeared Spring
Spring spring Integration
Vendors & Products Spring
Spring spring Integration
Type Values Removed Values Added
Description An attacker who can set the file_name header on a message reaching a ZipTransformer with ZipResultType.FILE (the default) can cause the resulting .zip archive to be written to an arbitrary filesystem path outside the configured workDirectory. Spring Integration 7.1.0 Spring Integration 7.0.0 - 7.0.5 Spring Integration 6.5.0 - 6.5.10 Spring Integration 6.4.0 - 6.4.12
Title ZipTransformer uses file_name header to build workDirectory path without sanitization
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Aug 27, 2026, 2:47 PM
Reserved
May 20, 2026, 10:00 AM
Status
Analyzed
Published
Aug 27, 2026, 1:17 AM
Modified
Sep 2, 2026, 4:26 PM