# CVE-2021-22926: CURLOPT_SSLCERT mix-up with Secure Transport

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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): 15.1%, higher than 96% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-07-21T08:00:00.000Z
- Modified: 2026-10-25T01:04:48.497Z
- Also known as: CURL-CVE-2021-22926
- Weaknesses: CWE-295, CWE-840
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: hackerone

## 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.

(As written by CVE List.)

## Affected

- https://github.com/curl/curl: curll 7.33.0 to and include 7.77.0
- https://github.com/curl/curl.git: from 7.33.0 before 7.78.0; from d2fe616e7e44a106ac976aaeaa441ad7d8a6df11 before fd9b40bf8dfd43edcbc0d254d613d95a11061c05
- haxx curl: from 7.33.0 before 7.78.0
- netapp active_iq_unified_manager: no versions given
- netapp clustered_data_ontap: no versions given
- netapp hci_management_node: no versions given
- netapp oncommand_insight: no versions given
- netapp oncommand_workflow_automation: no versions given
- netapp snapcenter: no versions given
- netapp solidfire: no versions given
- oracle mysql_server: from 5.7.0 up to 5.7.35; from 8.0.0 up to 8.0.26
- oracle peoplesoft_enterprise_peopletools: 8.57; 8.58; 8.59
- siemens sinec_infrastructure_network_services: before 1.0.1.1
- netapp h300s_firmware: no versions given
- netapp h300e_firmware: no versions given
- netapp h500e_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h700e_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 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- curl: rating Medium
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://hackerone.com/reports/1234760> (exploit, third-party-advisory)
- <https://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc%40%3Cdev.kafka.apache.org%3E> (mailing-list, third-party-advisory)
- <https://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc%40%3Cusers.kafka.apache.org%3E> (mailing-list, third-party-advisory)
- <https://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7%40%3Cusers.kafka.apache.org%3E> (mailing-list, third-party-advisory)
- <https://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7%40%3Cdev.kafka.apache.org%3E> (mailing-list, third-party-advisory)
- <https://www.oracle.com/security-alerts/cpuoct2021.html> (patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210902-0003/> (third-party-advisory)
- <https://www.oracle.com/security-alerts/cpujan2022.html> (patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20211022-0003/> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf> (patch, third-party-advisory)
- <https://security.gentoo.org/glsa/202212-01> (third-party-advisory, vendor-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-389290.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Sources

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

---

Page: https://cve.day/CVE-2021-22926 · Whole record: https://cve.day/CVE-2021-22926.json · Rebuilt by cve.day 2026-11-25T22:58:03.029Z
