# CVE-2025-41234: RFD Attack via “Content-Disposition” Header Sourced from Request

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-06-12 · Modified: 2025-06-13
- Aliases: UBUNTU-CVE-2025-41234, CGA-29h9-ghr5-8qm5, CGA-2w3x-g6c3-v65w, CGA-32qm-hgvg-65m7, CGA-3cjh-764f-8xwp, CGA-3hx3-67x4-7jv6, CGA-444j-qm86-648w, CGA-449g-72jh-38x4, CGA-45cq-5j54-626q, CGA-5fjj-845x-pwrp, CGA-5p72-w8mx-q86m, CGA-77f6-gc3x-42v4, CGA-7cx8-3c3p-5p8h, CGA-8qfj-vc2h-7pwc, CGA-8wj9-49jm-ppgq, CGA-9w6x-6mjq-c5qp, CGA-f74f-7j86-rjrx, CGA-f789-rxh4-c5x2, CGA-fhv2-fxjw-h5jp, CGA-fj3c-f2f4-x69h, CGA-gwrr-2mgf-r65p, CGA-hjch-545x-ccw8, CGA-j47w-9fxw-69r8, CGA-j56r-v7p9-94jx, CGA-jwxp-qmjx-h25v, CGA-mfwc-vv8x-w95r, CGA-mjm7-r86g-chvv, CGA-p8hq-265p-fvr7, CGA-q4qq-hchm-2pp2, CGA-v3q8-fr54-x76j, CGA-v46j-7w2h-qvf6, CGA-wq4x-m2pw-rm4w, CGA-x8ch-j84g-vjcf, CGA-x973-2xr5-43m8, CGA-xg5g-6vp9-p8w4, CGA-2r48-f253-g247, CGA-57cw-jgrj-j8qw, CGA-5qrw-2hcg-87pc, CGA-6v5c-fhvr-4whr, CGA-8mj4-jq23-c3fj, CGA-93gh-2v33-p6ff, CGA-94wj-xvx2-9829, CGA-cgx2-5pv7-x6hr, CGA-gfq8-fm5w-67r7, CGA-hm5w-gm64-24c5, CGA-hx8x-rprg-v6hw, CGA-jfh9-vw76-4mv7, GHSA-6r3c-xf4w-jxjm, CGA-vq44-7mhr-pxm3, CGA-wv4f-8p68-g63r, CGA-wwrg-vc5p-ph2c, CGA-wwvj-7733-36x8
- Record: https://cvemate.com/vulnerability/CVE-2025-41234 · JSON: https://cvemate.com/vulnerability/CVE-2025-41234/json

## Description

```text
Description

In Spring Framework, versions 6.0.x as of 6.0.5, versions 6.1.x and 6.2.x, an application is vulnerable to a reflected file download (RFD) attack when it sets a “Content-Disposition” header with a non-ASCII charset, where the filename attribute is derived from user-supplied input.

Specifically, an application is vulnerable when all the following are true:

  *  The header is prepared with org.springframework.http.ContentDisposition.
  *  The filename is set via ContentDisposition.Builder#filename(String, Charset).
  *  The value for the filename is derived from user-supplied input.
  *  The application does not sanitize the user-supplied input.
  *  The downloaded content of the response is injected with malicious commands by the attacker (see RFD paper reference for details).


An application is not vulnerable if any of the following is true:

  *  The application does not set a “Content-Disposition” response header.
  *  The header is not prepared with org.springframework.http.ContentDisposition.
  *  The filename is set via one of:  *  ContentDisposition.Builder#filename(String), or
  *  ContentDisposition.Builder#filename(String, ASCII)



  *  The filename is not derived from user-supplied input.
  *  The filename is derived from user-supplied input but sanitized by the application.
  *  The attacker cannot inject malicious content in the downloaded content of the response.


Affected Spring Products and VersionsSpring Framework:

  *  6.2.0 - 6.2.7
  *  6.1.0 - 6.1.20
  *  6.0.5 - 6.0.28
  *  Older, unsupported versions are not affected


MitigationUsers of affected versions should upgrade to the corresponding fixed version.

Affected version(s)Fix versionAvailability6.2.x6.2.8OSS6.1.x6.1.21OSS6.0.x6.0.29 Commercial https://enterprise.spring.io/ No further mitigation steps are necessary.


CWE-113 in `Content-Disposition` handling in VMware Spring Framework versions 6.0.5 to 6.2.7 allows remote attackers to launch Reflected File Download (RFD) attacks via unsanitized user input in `ContentDisposition.Builder#filename(String, Charset)` with non-ASCII charsets.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N
- EPSS: 0.615%, percentile 50.891%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 45)

- chainguard apache-nifi (Chainguard): \< 2.4.0-r5
- chainguard apache-nifi-compat (Chainguard): \< 2.4.0-r5
- chainguard apache-nifi-registry (Chainguard): \< 2.4.0-r3
- chainguard apache-nifi-registry-toolkit (Chainguard): \< 2.4.0-r3
- chainguard apache-nifi-toolkit (Chainguard): \< 2.4.0-r5
- chainguard jenkins-2 (Chainguard): \< 2.515-r0
- chainguard jenkins-2-openjdk-17 (Chainguard): \< 2.515-r0
- chainguard jenkins-2-openjdk-21 (Chainguard): \< 2.515-r0
- chainguard jenkins-2.504-openjdk-17 (Chainguard): \< 2.504.2-r3
- chainguard jenkins-2.504-openjdk-21 (Chainguard): \< 2.504.2-r3
- chainguard jenkins-compat (Chainguard): \< 2.515-r0
- chainguard jenkins-docker-agent-openjdk-21 (Chainguard): \< 2.515-r0
- chainguard jenkins-remoting (Chainguard): \< 2.515-r0
- chainguard jenkins-utils (Chainguard): \< 2.515-r0
- chainguard kayenta-2025.4 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-2026.0 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-2026.1 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-fips-2025.4 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-fips-2026.0 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-fips-2026.1 (Chainguard): All versions (No fix recorded)

## References

- <https://spring.io/security/cve-2025-41234>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-41234>
- <https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N&version=3.1>
- <https://ubuntu.com/security/CVE-2025-41234>
- <https://www.cve.org/CVERecord?id=CVE-2025-41234>
- <https://github.com/spring-projects/spring-framework/issues/35034>
- <https://github.com/spring-projects/spring-framework/commit/f0e7b42704e6b33958f242d91bd690d6ef7ada9c>
- <https://github.com/spring-projects/spring-framework>

---

Data as of 2026-12-05T03:28:52.514Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
