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
Published: 2026-08-26
Score: 5.4 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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‑73, External Control of File Name or Path, 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 is not available, 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.

Generated by OpenCVE AI on August 27, 2026 at 01:50 UTC.

Remediation

No vendor fix or workaround currently provided.

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 01:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Thu, 27 Aug 2026 02:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-73

Thu, 27 Aug 2026 01:45:00 +0000

Type Values Removed Values Added
First Time appeared Spring
Spring spring Integration
Vendors & Products Spring
Spring spring Integration

Thu, 27 Aug 2026 00:30:00 +0000

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'}


Subscriptions

Spring Spring Integration
cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-08-26T23:28:47.655Z

Reserved: 2026-05-20T10:00:55.156Z

Link: CVE-2026-47862

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-27T01:17:33.313

Modified: 2026-08-27T01:17:33.313

Link: CVE-2026-47862

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-27T02:00:14Z

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-73

    External Control of File Name or Path