CVE-2025-70058
HIGH 7.4CVSS 3.1yapi disables TLS/SSL certificate validation via rejectUnauthorized: false in Axios HTTPS agent
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
- Published
- 23 Feb 2026
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-295
- Also known as
- GHSA-663h-2vr3-ghrj
- Sources
- NVDJSONOSV GHSA-663h-2vr3-ghrjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ymfe | yapicpe:2.3:a:ymfe:yapi:1.12.0:*:*:*:*:*:*:* |
= 1.12.0 | |
| OSV | npm | yapi-vendor | <= 1.12.0 |
References
- https://gist.github.com/zcxlighthouse/11c53803faf23f607c2787c166e811d4 · Third Party Advisory, WEB
- https://github.com/YMFE · Product, WEB
- https://github.com/YMFE/yapi · Product, PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2025-70058 · ADVISORY
- https://github.com/YMFE/yapi/blob/59bade3a8a43e7db077d38a4b0c7c584f30ddf8c/common/postmanLib.js#L110 · WEB
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 23 Feb 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 23 Feb 2026)