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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | https://github.com/curl/curl | Fixed in 8.0.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | curl | 7.88.1-7 | — |
| Debian 13 | curl | 7.88.1-7 | — |
| Debian 12 | curl | 7.88.1-7 | — |
| Debian 10 | curl | 7.64.0-4+deb10u9 | DLA-3763-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | curl | 7.81.0-1ubuntu1.10 | USN-5964-1 |
| Ubuntu 20.04 LTS | curl | 7.68.0-1ubuntu2.18 | USN-5964-1 |
| Ubuntu 18.04 LTS | curl | 7.58.0-2ubuntu3.24 | USN-5964-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | curl +4 | 7.76.1-26.el9 | RHSA-2023:6679 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat JBoss Core Services 1 | jbcs-httpd24-apr-util +8 | 1.6.1-101.el7jbcs | RHSA-2023:3354 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-curl +2 | 8.0.1-1.el7jbcs | RHSA-2023:3354 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-httpd +6 | 2.4.51-39.el7jbcs | RHSA-2023:3354 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-mod_ssl +1 | 1:2.4.51-39.el7jbcs | RHSA-2023:3354 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-openssl +4 | 1:1.1.1k-14.el7jbcs | RHSA-2023:3354 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | curl +4 | 7.76.1-26.el9 | ALSA-2023:6679 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | curl | 7.79.1-150400.5.18.1 | SUSE-SU-2023:1582-1 |
| SLES 15 SP1 | curl | 7.60.0-150000.51.1 | SUSE-SU-2023:2226-1 |
| SLES 12 SP5 | curl | 7.60.0-11.60.1 | SUSE-SU-2026:0494-1, SUSE-SU-2023:0865-1 |
| SLES 12 SP5 | nghttp2 | 1.39.2-3.20.1 | SUSE-SU-2026:0494-1 |
| SLES 12 SP4 | curl | 7.60.0-4.56.1 | SUSE-SU-2023:2228-1 |
Show 11 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP1 | curl | 7.60.0-150000.51.1 | SUSE-SU-2023:2226-1 |
| SLES for SAP 12 SP5 | curl | 7.60.0-11.60.1 | SUSE-SU-2023:0865-1 |
| SLES for SAP 12 SP4 | curl | 7.60.0-4.56.1 | SUSE-SU-2023:2228-1 |
| SLE Real Time 15 SP3 | curl | 7.66.0-150200.4.52.1 | SUSE-SU-2023:1711-1 |
| SLE Micro 5.3 | curl | 7.79.1-150400.5.18.1 | SUSE-SU-2023:1582-1 |
| SLE Micro 5.2 | curl | 7.66.0-150200.4.52.1 | SUSE-SU-2024:2009-1, SUSE-SU-2023:1711-1 |
| SLE Micro 5.1 | curl | 7.66.0-150200.4.52.1 | SUSE-SU-2024:2009-1, SUSE-SU-2023:1711-1 |
| SLE HPC 15 SP1 | curl | 7.60.0-150000.51.1 | SUSE-SU-2023:2226-1 |
| SUSE OpenStack Cloud Crowbar 9 | curl | 7.60.0-4.56.1 | SUSE-SU-2023:2228-1 |
| SUSE OpenStack Cloud 9 | curl | 7.60.0-4.56.1 | SUSE-SU-2023:2228-1 |
| SUSE Enterprise Storage 6 | curl | 7.60.0-150000.51.1 | SUSE-SU-2023:2226-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | curl | 8.0.1-1.1 | openSUSE-SU-2024:12812-1 |
| openSUSE Leap 15.4 | curl | 7.79.1-150400.5.18.1 | SUSE-SU-2023:1582-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.3 | curl | 7.79.1-150400.5.18.1 | SUSE-SU-2023:1582-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | curl | 8.0.0-r0 | — |
| Alpine v3.23 | curl | 8.0.0-r0 | — |
| Alpine v3.22 | curl | 8.0.0-r0 | — |
| Alpine v3.21 | curl | 8.0.0-r0 | — |
| Alpine v3.20 | curl | 8.0.0-r0 | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | curl | 8.0.0-r0 | — |
| Alpine v3.18 | curl | 8.0.0-r0 | — |
| Alpine v3.17 | curl | 7.88.1-r1 | — |
| Alpine v3.16 | curl | 8.0.1-r0 | — |
| Alpine v3.15 | curl | 8.0.1-r0 | — |
| Alpine v3.14 | curl | 8.0.1-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | curl +4 | 8.0.1-1.amzn2023 | ALAS2023-2023-193 |
| Amazon Linux 2 | curl +2 | 8.0.1-1.amzn2.0.1 | ALAS2-2023-2070 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | cmake | 3.28.2-1 | — |
| Azure Linux 3 | tensorflow | 2.16.1-1 | — |
| Azure Linux 2 (CBL-Mariner) | cmake | 3.21.4-12 | — |
| Azure Linux 2 (CBL-Mariner) | curl | 8.0.1-1 | — |
| Azure Linux 2 (CBL-Mariner) | mysql | 8.0.34-1 | — |
| Azure Linux 2 (CBL-Mariner) | rust | 1.72.0-2 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | curl +4 | 7.76.1-26.el9 | ELSA-2023-6679 |
Advisories 30
- ALSA-2023:6679 Moderate: curl security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2023:6679 Red Hat Security Advisory: curl security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2023:3354 Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.51 SP2 security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- SSA-398330 SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5 Siemens ProductCERT · Oct 13, 2026
- WID-SEC-2023-0690 cURL: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 10, 2026
- WID-SEC-2024-0794 Dell ECS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- WID-SEC-2023-1350 Splunk Splunk Enterprise: Mehrere Schwachstellen in Komponenten von Drittanbietern BSI CERT-Bund (WID) · Jul 1, 2026
- USN-5964-1 curl vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- SUSE-SU-2026:0494-1 Security update for curl SUSE / openSUSE Security Updates · Mar 23, 2026
- DLA-3763-1 curl - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2023:2226-1 Security update for curl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:2009-1 Security update for curl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:1582-1 Security update for curl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0865-1 Security update for curl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2228-1 Security update for curl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:1711-1 Security update for curl SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12812-1 curl-8.0.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2026-0180 Dell Data Protection Advisor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 20, 2026
- WID-SEC-2023-2229 Splunk Splunk Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 18, 2025
- WID-SEC-2024-3377 Dell PowerProtect Data Domain: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 12, 2025
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- SSA-943925 SSA-943925: Multiple Vulnerabilities in SINEC NMS before V2.0 SP1 Siemens ProductCERT · Mar 12, 2024
- ICSA-24-046-15 Siemens SINEC NMS CISA ICS & IT advisories · Mar 12, 2024
- SSA-806742 SSA-806742: Multiple Vulnerabilities in SCALANCE XCM-/XRM-300 before V2.4 Siemens ProductCERT · Feb 13, 2024
- ICSA-24-046-11 Siemens SCALANCE XCM-/XRM-300 CISA ICS & IT advisories · Feb 13, 2024
- ELSA-2023-6679 Moderate: curl security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Nov 11, 2023
- WID-SEC-2023-1614 Tenable Security Nessus Network Monitor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 25, 2023
- WID-SEC-2023-2694 Oracle Hyperion: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 17, 2023
- ALAS2-2023-2070 Moderate: curl security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jun 7, 2023
- ALAS2023-2023-193 Moderate: curl security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jun 7, 2023