CVE-2021-22926
7.5 HIGHlibcurl-using applications can ask for a specific client certificate to be used in a transfer
Published: 2021-08-05 · Last updated: 2026-05-28
Severity and scoring
- CVSS
- 7.5 HIGH
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CWE
- CWE-295, CWE-840
Affected products
| Vendor | Product |
|---|---|
| haxx | active_iq_unified_manager, clustered_data_ontap, curl |
| netapp | active_iq_unified_manager, clustered_data_ontap, curl |
| oracle | active_iq_unified_manager, clustered_data_ontap, curl |
| siemens | active_iq_unified_manager, clustered_data_ontap, curl |
| splunk | active_iq_unified_manager, clustered_data_ontap, curl |
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.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2021-22926
- [Patch]https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- [Exploit reference]https://hackerone.com/reports/1234760
- [Other]https://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc%40%3Cdev.kafka.apache.org%3E
- [Other]https://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc%40%3Cusers.kafka.apache.org%3E
- [Other]https://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7%40%3Cdev.kafka.apache.org%3E
- [Other]https://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7%40%3Cusers.kafka.apache.org%3E
- [Other]https://security.gentoo.org/glsa/202212-01
- [Other]https://security.netapp.com/advisory/ntap-20210902-0003/
- [Other]https://security.netapp.com/advisory/ntap-20211022-0003/
- [Patch]https://www.oracle.com/security-alerts/cpujan2022.html
- [Patch]https://www.oracle.com/security-alerts/cpuoct2021.html
- [Patch]https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- [Exploit reference]https://hackerone.com/reports/1234760
- [Other]https://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc%40%3Cdev.kafka.apache.org%3E
- [Other]https://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc%40%3Cusers.kafka.apache.org%3E
- [Other]https://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7%40%3Cdev.kafka.apache.org%3E
- [Other]https://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7%40%3Cusers.kafka.apache.org%3E
- [Other]https://security.gentoo.org/glsa/202212-01
- [Other]https://security.netapp.com/advisory/ntap-20210902-0003/
- [Other]https://security.netapp.com/advisory/ntap-20211022-0003/
- [Patch]https://www.oracle.com/security-alerts/cpujan2022.html
- [Patch]https://www.oracle.com/security-alerts/cpuoct2021.html
Related CVEs
Same vendor
- CVE-2026-46843 — Vulnerability in Oracle REST Data Services (component: Core) (5.3 MEDIUM)
- CVE-2026-46842 — Vulnerability in Oracle REST Data Services (component: Core) (5.3 MEDIUM)
- CVE-2026-46841 — Vulnerability in Oracle REST Data Services (component: General) (5.3 MEDIUM)
- CVE-2026-46840 — Vulnerability in Oracle REST Data Services (component: Backend-as-a-Service) (10.0 CRITICAL)
- CVE-2026-46839 — Vulnerability in Oracle REST Data Services (component: Core) (9.9 CRITICAL)
Same CWE
- CVE-2026-53475 — A flaw was found in assisted-migration-agent (9.3 CRITICAL)
- CVE-2026-9758 — Improper comparison with the certificates trusted list in S2OPC allows an attacker well-formed untrusted certificate to be considered tru... (7.3 HIGH)
- CVE-2026-41714 — Applications that configure their broker connection via RabbitConnectionFactoryBean.setUri("amqps://...") without also calling setUseSSL(... (4.0 MEDIUM)
- CVE-2026-42769 — Issue Summary: An error in the callback used to verify the certificate provided in a Root CA key update Certificate Management Protocol (... (5.3 MEDIUM)
- CVE-2026-41973 — Permission control vulnerability in calls (5.9 MEDIUM)