<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/ziptransformer-uses-file-name-header-to-build-workdirectory-path-without-sanitization-xyzzmdefx" -->

---
title: ZipTransformer uses file_name header to build...
description: A security advisory describes a vulnerability in ZipTransformer where the file_name header value is used to construct a workDirectory path without...
canonical: https://daily.dev/posts/ziptransformer-uses-file-name-header-to-build-workdirectory-path-without-sanitization-xyzzmdefx
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: ZipTransformer uses file_name header to build workDirectory path without sanitization | daily.dev
og:description: A security advisory describes a vulnerability in ZipTransformer where the file_name header value is used to construct a workDirectory path without...
og:url: https://daily.dev/posts/ziptransformer-uses-file-name-header-to-build-workdirectory-path-without-sanitization-xyzzmdefx
og:image: https://api.daily.dev/og/posts/xyzZmDeFx.png
og:image:alt: ZipTransformer uses file_name header to build workDirectory path without sanitization
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# ZipTransformer uses file_name header to build workDirectory path without sanitization

**[Spring](https://daily.dev/sources/spring)** · 1 min read · 1 upvotes · 0 comments

## Summary

A security advisory describes a vulnerability in ZipTransformer where the file_name header value is used to construct a workDirectory path without sanitization, potentially allowing path traversal or directory manipulation. The page content itself is mostly cookie consent boilerplate with minimal technical detail beyond the title.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://spring.io/security/cve-2026-47862>

## Questions this post answers

### Is there a known vulnerability in Spring's ZipTransformer related to file names?

Yes, ZipTransformer builds its workDirectory path using the file_name header value without sanitizing it first, which can allow path traversal or unintended file system access. The specific affected versions and a patched release are not detailed beyond the advisory title itself.

_Teams patching Spring components against path traversal issues can track advisories like this on daily.dev._

## Similar posts on daily.dev

- [Fixed predictable /tmp/ziptransformer work directory enables symlink pre-creation](https://daily.dev/posts/fixed-predictable-tmp-ziptransformer-work-directory-enables-symlink-pre-creation-ik1wsskxu) · Spring · 2 upvotes · 0 comments
- [Unbounded decompression in UnZipTransformer enables zip-bomb DoS](https://daily.dev/posts/unbounded-decompression-in-unziptransformer-enables-zip-bomb-dos-v39pvdof1) · Spring · 1 upvotes · 0 comments
- [Ehxb \| Path Traversal Vulnerabilities](https://daily.dev/posts/ehxb-path-traversal-vulnerabilities-peufumwsi) · InfoSec Write-ups · 1 upvotes · 0 comments
- [Hackers Actively Exploiting 7-Zip Symbolic Link–Based RCE Vulnerability \(CVE-2025-11001\)](https://daily.dev/posts/hackers-actively-exploiting-7-zip-symbolic-link-based-rce-vulnerability-cve-2025-11001--hzcl4jrdf) · The Hacker News · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#java](https://daily.dev/tags/java), [#spring](https://daily.dev/tags/spring)

[View this post on daily.dev](https://daily.dev/posts/ziptransformer-uses-file-name-header-to-build-workdirectory-path-without-sanitization-xyzzmdefx)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"ZipTransformer uses file_name header to build workDirectory path without sanitization","url":"https://daily.dev/posts/ziptransformer-uses-file-name-header-to-build-workdirectory-path-without-sanitization-xyzzmdefx","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/ziptransformer-uses-file-name-header-to-build-workdirectory-path-without-sanitization-xyzzmdefx"},"datePublished":"2026-08-20T16:42:37.737Z","dateModified":"2026-09-14T07:06:13.976Z","description":"A security advisory describes a vulnerability in ZipTransformer where the file_name header value is used to construct a workDirectory path without...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ff749d548af41095da8724da8d7ba5f9?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ff749d548af41095da8724da8d7ba5f9?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Spring","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Spring","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/spring","url":"https://daily.dev/sources/spring"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/ziptransformer-uses-file-name-header-to-build-workdirectory-path-without-sanitization-xyzzmdefx","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,java,spring","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Spring","item":"https://daily.dev/sources/spring"},{"@type":"ListItem","position":3,"name":"ZipTransformer uses file_name header to build workDirectory path without sanitization"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/ziptransformer-uses-file-name-header-to-build-workdirectory-path-without-sanitization-xyzzmdefx#faq","mainEntity":[{"@type":"Question","name":"Is there a known vulnerability in Spring's ZipTransformer related to file names?","acceptedAnswer":{"@type":"Answer","text":"Yes, ZipTransformer builds its workDirectory path using the file_name header value without sanitizing it first, which can allow path traversal or unintended file system access. The specific affected versions and a patched release are not detailed beyond the advisory title itself. Teams patching Spring components against path traversal issues can track advisories like this on daily.dev."}}]}
```

