7.4high
yapi disables TLS/SSL certificate validation via rejectUnauthorized: false in Axios HTTPS agent
- Severity
- 7.4high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.33% (higher than 18% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-663h-2vr3-ghrj
Description
An issue pertaining to CWE-295: Improper Certificate Validation was discovered in YMFE yapi v1.12.0. The application disables TLS/SSL certificate validation by setting 'rejectUnauthorized': false in the HTTPS agent configuration for Axios requests
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| yapi-vendor (npm) | up to 1.12.0 | GitHub Advisory Database |
| ymfe yapi | 1.12.0 | NVD |
All scores
| CISA-ADP | 7.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 7.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
An issue pertaining to CWE-295: Improper Certificate Validation was discovered in YMFE yapi v1.12.0. The application disables TLS/SSL certificate validation by setting 'rejectUnauthorized': false in the HTTPS agent configuration for Axios requests
NVD (es)
Un problema relacionado con CWE-295: Validación Incorrecta de Certificados fue descubierto en YMFE yapi v1.12.0. La aplicación deshabilita la validación de certificados TLS/SSL al establecer 'rejectUnauthorized': false en la configuración del agente HTTPS para las solicitudes de Axios.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-70058 changed 2026-02-25 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-663h-2vr3-ghrj changed 2026-02-25 | CC-BY-4.0 |
| NVD | CVE-2025-70058 changed 2026-06-17 | Public domain |