CVE-2025-70058 json
yapi disables TLS/SSL certificate validation via rejectUnauthorized: false in Axios HTTPS agent
published 2026-02-23 8 mo ago modified 2026-06-17 4 mo ago also GHSA-663h-2vr3-ghrj , EUVD-2025-207650
- cvss
- 7.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 8%
- public exploits
- 0
- none known
Summary
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
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 8 mo ago
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| CNA | 3.1 | 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | yapi-vendor | <=1.12.0 |
no fix listed |
Classification
- Weakness
-
- CWE-295 Improper Certificate Validation
References
-
github.com
/YMFE/yapi
package, product
-
github.com
/YMFE
web, product
-
gist.github.com
/zcxlighthouse/11c53803faf23f607c2787c166e811d4
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-70058
advisory
-
github.com
/YMFE/yapi/blob/59bade3a8a43e7db077d38a4b0c7c584f30ddf8c/common/postmanLib.js#L110
web
Sources
- CVE List CVE-2025-70058
- GitHub Advisory GHSA-663h-2vr3-ghrj
- NVD CVE-2025-70058
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.