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.
Severity
HIGH
CVSS v3
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
2.440%
chance of exploitation in the next 30 days
higher than 84.6% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2025-04-23 |
Timeline
- 2023-03-30Published by the CNA00:00 UTC
- 2025-04-23CISA SSVC decision recorded755 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| haxx curl | from 7.18.0 through 7.88.1no fix listed | not listed |
| broadcom brocade_fabric_operating_system_firmware | ||
| fedoraproject fedora | 36no fix listed | not listed |
| netapp active_iq_unified_manager | ||
| netapp h300s_firmware | ||
| netapp h410s_firmware | ||
| netapp h500s_firmware | ||
| netapp h700s_firmware | ||
| splunk universal_forwarder | from 8.2.0 before 8.2.12fixed in 8.2.12from 9.0.0 before 9.0.6fixed in 9.0.69.1.0no fix listed | 8.2.129.0.6not listed |
References
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/36NBD5YLJXXEDZLDGNFCERWRYJQ6LAQW/
- https://security.gentoo.org/glsa/202310-12
- https://hackerone.com/reports/1892351
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-806742.html
- https://cert-portal.siemens.com/productcert/html/ssa-943925.html
- https://lists.debian.org/debian-lts-announce/2024/03/msg00016.html
- https://security.netapp.com/advisory/ntap-20230420-0012/
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2023-27534'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2023-27534'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2023-27534'curl 'https://api.contrastcyber.com/cve_products/CVE-2023-27534'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).