# CVE-2025-70058: yapi disables TLS/SSL certificate validation via rejectUnauthorized: false in Axios HTTPS agent

- Severity: High 7.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- 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): 0.33%, higher than 18% of CVEs (2026-11-30)
- Published: 2026-02-23T00:00:00.000Z
- Modified: 2026-06-17T10:03:05.050Z
- Also known as: GHSA-663h-2vr3-ghrj
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- yapi-vendor (npm): up to 1.12.0
- ymfe yapi: 1.12.0

## Every score

- CISA-ADP: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/YMFE/yapi> (package, product)
- <https://github.com/YMFE> (product, web)
- <https://gist.github.com/zcxlighthouse/11c53803faf23f607c2787c166e811d4> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-70058> (advisory)
- <https://github.com/YMFE/yapi/blob/59bade3a8a43e7db077d38a4b0c7c584f30ddf8c/common/postmanLib.js#L110> (web)

## Sources

- CVE List: [CVE-2025-70058](https://www.cve.org/CVERecord?id=CVE-2025-70058), CVE Terms of Use, modified 2026-02-25
- GitHub Advisory Database: [GHSA-663h-2vr3-ghrj](https://github.com/advisories/GHSA-663h-2vr3-ghrj), CC-BY-4.0, modified 2026-02-25
- NVD: [CVE-2025-70058](https://nvd.nist.gov/vuln/detail/CVE-2025-70058), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-70058 · Whole record: https://cve.day/CVE-2025-70058.json · Rebuilt by cve.day 2026-11-25T22:59:11.502Z
