Original 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 software
- curl ≥ 7.18.0 ≤ 7.88.1 exact match
Details
- Published
- 2023-03-30
- Last modified
- 2026-10-23
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-22
- EPSS (30-day exploit probability)
- 2.44% (percentile 85)
References
- cve.org/CVE-2023-27534
- nvd.nist.gov/vuln/detail/CVE-2023-27534
- hackerone.com/reports/1892351
- lists.debian.org/debian-lts-announce/2024/03/msg00016.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3...
- security.gentoo.org/glsa/202310-12
- security.netapp.com/advisory/ntap-20230420-0012/
- cert-portal.siemens.com/productcert/html/ssa-398330.html
- cert-portal.siemens.com/productcert/html/ssa-806742.html
- cert-portal.siemens.com/productcert/html/ssa-943925.html
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.