# JLSEC-2026-406: A path traversal vulnerability exists in curl <8.0.0 SFTP implementation causes the tilde () character to be wrongly replaced when used as…

- Severity: High 8.8 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-05-04T13:12:06.605Z
- Modified: 2026-07-18T00:01:56.384Z
- Related: CVE-2023-27534

## Description

A path traversal vulnerability exists in curl <8.0.0 SFTP implementation causes the tilde (~) character to be wrongly replaced when used as a prefix in the first path element, in addition to its intended use as the first element to indicate a path relative to the user's home directory. Attackers can exploit this flaw to bypass filtering or execute arbitrary code by crafting a path like /~2/foo while accessing a server with a specific user.

(As written by Julia Security Advisories.)

## Affected

- CURL_jll (Julia): before 8.5.0+0
- LibCURL_jll (Julia): before 8.0.1+0

## References

- <https://hackerone.com/reports/1892351> (web)
- <https://lists.debian.org/debian-lts-announce/2024/03/msg00016.html> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/36NBD5YLJXXEDZLDGNFCERWRYJQ6LAQW/> (web)
- <https://security.gentoo.org/glsa/202310-12> (web)
- <https://security.netapp.com/advisory/ntap-20230420-0012/> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-406](https://osv.dev/vulnerability/JLSEC-2026-406), CC-BY-4.0, modified 2026-07-18

---

Page: https://cve.day/JLSEC-2026-406 · Whole record: https://cve.day/JLSEC-2026-406.json · Rebuilt by cve.day 2026-11-25T22:56:26.108Z
