# CVE-2023-27534: SFTP path ~ resolving discrepancy

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `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
- Likelihood of exploitation in the next 30 days (EPSS): 2.44%, higher than 84% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-03-20T08:00:00.000Z
- Modified: 2026-10-25T01:04:36.918Z
- Also known as: CURL-CVE-2023-27534
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: hackerone

## 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 CVE List.)

## Affected

- https://github.com/curl/curl: Fixed in 8.0.0
- https://github.com/curl/curl.git: from 7.18.0 before 8.0.0; from ba6f20a2442ab1ebfe947cff19a552f92114a29a before 4e2b52b5f7a3bf50a0f1494155717b02cc1df6d6
- haxx curl: from 7.18.0 up to 7.88.1
- fedoraproject fedora: 36
- netapp active_iq_unified_manager: no versions given
- broadcom brocade_fabric_operating_system_firmware: no versions given
- netapp h300s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h410s_firmware: no versions given
- splunk universal_forwarder: from 8.2.0 before 8.2.12; from 9.0.0 before 9.0.6; 9.1.0

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- curl: rating Low
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://hackerone.com/reports/1892351> (exploit, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/36NBD5YLJXXEDZLDGNFCERWRYJQ6LAQW/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20230420-0012/> (third-party-advisory)
- <https://security.gentoo.org/glsa/202310-12> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2024/03/msg00016.html> (mailing-list, third-party-advisory)
- <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>

## Sources

- CVE List: [CVE-2023-27534](https://www.cve.org/CVERecord?id=CVE-2023-27534), CVE Terms of Use, modified 2026-10-14
- curl: [CURL-CVE-2023-27534](https://osv.dev/vulnerability/CURL-CVE-2023-27534), MIT, modified 2026-10-25
- NVD: [CVE-2023-27534](https://nvd.nist.gov/vuln/detail/CVE-2023-27534), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2023-27534 · Whole record: https://cve.day/CVE-2023-27534.json · Rebuilt by cve.day 2026-11-25T22:58:22.880Z
