CVE-2023-27534
A public proof of concept exists; no exploitation attested.
- Published2023-03-30
- Fixed in9.0.6 · 8.2.12
- WeaknessCWE-22
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2023-03-3020:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 9.0 | ≥ 9.0.0, < 9.0.6 | 9.0.6 | NVD |
| 8.2 | ≥ 8.2.0, < 8.2.12 | 8.2.12 | NVD |
| 9.1 | = 9.1.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| — | all versions | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 36.x | = 36 | no fix published | NVD |
6 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As hackerone, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- https://github.com/curl/curlAffected
- = Fixed in 8.0.0no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-03-17
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- cmakeAzure Linux:3all versions · fixed in 3.28.2-1
- cmakeAzure Linux:2all versions · fixed in 3.21.4-12
- curlUbuntu:22.04:LTSall versions · fixed in 7.81.0-1ubuntu1.10
- curlUbuntu:20.04:LTSall versions · fixed in 7.68.0-1ubuntu2.18
- curlUbuntu:18.04:LTSall versions · fixed in 7.58.0-2ubuntu3.24
- curlSUSE:OpenStack Cloud Crowbar 9all versions · fixed in 7.60.0-4.56.1
- curlSUSE:OpenStack Cloud 9all versions · fixed in 7.60.0-4.56.1
- curlSUSE:Linux Enterprise Software Development Kit 12 SP5all versions · fixed in 7.60.0-11.60.1
70 more package ranges on OSV.dev
Vendor advisories
curl: SFTP path ~ resolving discrepancy
rh-dotnet31-curl as a component of .NET Core 3.1 on Red Hat Enterprise Linux · rh-dotnet31-curl.src as a component of .NET Core 3.1 on Red Hat Enterprise Linux · rh-dotnet31-libcurl as a component of .NET Core 3.1 on Red Hat Enterprise Linux · +14 more
Siemens SCALANCE XCM-/XRM-300
SCALANCE XCH328 (6GK5328-4TS01-2EC2) · SCALANCE XCM324 (6GK5324-8TS01-2AC2) · SCALANCE XCM328 (6GK5328-4TS01-2AC2) · +8 more
Siemens SINEC NMS
SINEC NMS
SSA-806742: Multiple Vulnerabilities in SCALANCE XCM-/XRM-300 before V2.4
SCALANCE XCH328 (6GK5328-4TS01-2EC2) · SCALANCE XCM324 (6GK5324-8TS01-2AC2) · SCALANCE XCM328 (6GK5328-4TS01-2AC2) · +8 more
SSA-943925: Multiple Vulnerabilities in SINEC NMS before V2.0 SP1
SINEC NMS
Siemens SIMATIC S7-1500
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) · +2 more
4 more advisories
Fix
- Update Splunk universal forwarder to 9.0.6 · 8.2.12
- Vendor fix Siemens ProductCERT SSA-943925 · 1 productUpdate to V2.0 SP1 or later version
- Vendor fix CISA ICSA-24-046-11 · 10 productsUpdate to V2.4 or later version
- Vendor fix CISA ICSA-24-046-15 · 1 productUpdate to V2.0 SP1 or later version
- Vendor fix Siemens ProductCERT SSA-806742 · 10 productsUpdate to V2.4 or later version
- Vendor fix Siemens ProductCERT SSA-398330 · 1 productUpdate to V3.1.5 or later version
- Vendor fix CISA ICSA-23-348-10 · 5 productsUpdate to V3.1.5 or later version
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-04-23
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2025-04-23
- CISA-ADPCVSS 3.18.82025-04-23
- NVDCVSS 3.18.8read 2026-10-24
- CNAweakness (CWE)CWE-22known since 2026-10-24
- NVDweakness (CWE)CWE-22read 2026-10-24
- FIRST EPSSEPSS score2.4 %2026-11-08
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-25784same flawAzure Linux · MIT
- AZL-25806same flawAzure Linux · MIT
- AZL-25810same flawAzure Linux · MIT
- AZL-25847same flawAzure Linux · MIT
- AZL-34607same flawAzure Linux · MIT
- AZL-38611same flawAzure Linux · MIT
- EUVD-2023-31289same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-4j25-c9rf-fp5fsame flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2026-406same flawJulia Security Advisories · CC-BY-4.0
- ALSA-2023:6679advisory covering several CVEsAlmaLinux · MIT
- DLA-3763-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2023-0263advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2023-1193advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2023-1194advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2023-1195advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2023-1196advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:12812-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2023:3354advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:6679advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2023:0865-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:1582-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:1711-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:2226-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:2228-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:2009-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2026:0494-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-5964-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 2023-03-30
- Last Modified
- 2026-10-23
- NVD status
- Modified
- GitHub Advisory
- GHSA-4j25-c9rf-fp5f
Frequently asked questions
What is CVE-2023-27534?
Is CVE-2023-27534 actively exploited?
What is the CVSS score for CVE-2023-27534?
Running curl? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-4j25-c9rf-fp5f
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- Siemens ProductCERT (CSAF) · TLP:WHITE (commercial use and redistribution granted)
- CISA Vulnrichment · CC0-1.0