CVE-2021-22926: haxx curl Business Logic Errors
Vulnerability summary
CVE-2021-22926 is a high (CVSS 7.5) Business Logic Errors vulnerability in haxx curl. EPSS estimates a 15.14% chance of exploitation in the next 30 days, higher than 96.7% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 05-08-2021PublishedVulnerability first disclosed.
- 14-10-2026Last modifiedVulnerability information updated.
Description
libcurl-using applications can ask for a specific client certificate to be used in a transfer. This is done with the `CURLOPT_SSLCERT` option (`--cert` with the command line tool).When libcurl is built to use the macOS native TLS library Secure Transport, an application can ask for the client certificate by name or with a file name - using the same option. If the name exists as a file, it will be used instead of by name.If the appliction runs with a current working directory that is writable by other users (like `/tmp`), a malicious user can create a file name with the same name as the app wants to use by name, and thereby trick the application to use the file based cert instead of the one referred to by name making libcurl send the wrong client certificate in the TLS connection handshake.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
15.14%
Chance of exploitation in the next 30 days
Percentile
97%
Versus all other CVEs
30-day change
+5.32 pp
From 9.82% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (hackerone.com)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-840Business Logic ErrorsWeaknesses in this category identify some of the underlying problems that commonly allow attackers to manipulate the business logic of an application. Errors in business logic can be devastating to an entire application. They can be difficult to find automatically, since they typically involve legitimate use of the application's functionality. However, many business logic errors can exhibit patterns that are similar to well-understood implementation and design weaknesses.
- CWE-295Improper Certificate ValidationThe product does not validate, or incorrectly validates, a certificate.
Affected systems
Netapp14 products
Oracle2 products
- mysql_server≥ 5.7.0, ≤ 5.7.35 | ≥ 8.0.0, ≤ 8.0.26
- peoplesoft_enterprise_peopletools8.57 | 8.58 | 8.59
Alpine1 product
- curl≥ 7.33.0, < 7.67.0-r5
Haxx1 product
- curl≥ 7.33.0, < 7.78.0
Siemens1 product
Splunk1 product
- universal_forwarder≥ 8.2.0, < 8.2.12 | ≥ 9.0.0, < 9.0.6 | 9.1.0
6 vendors · 20 products
References
15 links- security.netapp.com/advisory/ntap-20210902-0003/Third Party Advisory
- security.netapp.com/advisory/ntap-20211022-0003/Third Party Advisory