curl / Docs / curl CVEs / CVE-2025-11563

CVE-2025-11563

wcurl path traversal with percent-encoded slashes

Project curl Security Advisory, November 4 2025 - Permalink

VULNERABILITY

URLs containing percent-encoded slashes (/ or \) can trick wcurl into saving the output file outside of the current directory without the user explicitly asking for it.

INFO

wcurl will not overwrite any files if the curl version is >= 7.83.

The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2025-11563 to this issue.

CWE-35: Path Traversal

Severity: Moderate

AFFECTED VERSIONS

This flaw only affects the wcurl command line tool.

SOLUTION

Starting in wcurl 2025.11.04 (shipped with curl 8.17.0), this mistake is fixed.

RECOMMENDATIONS

A - Upgrade wcurl to the one shipped in curl version 8.17.0, wcurl to version 2025.11.04

B - Apply the patch to your local wcurl version

C - Explicitly choose an output filename with -o/-O/--output

D - Disable percent-decoding for output filenames with --no-decode-filename

TIMELINE

This issue was reported to the curl project on October 6, 2025. We contacted distros@openwall on October 30.

wcurl 2025.11.04 was released on November 4 2025, coordinated with the publication of this advisory.

curl 8.17.0 was released on November 5 2025.

The curl security team is not aware of any active exploits using this vulnerability.

CREDITS

Thanks a lot!