Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. yapi-vendor
  4. ›
  5. CVE-2025-70058

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

February 23, 2026 (updated February 25, 2026)

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

References

  • gist.github.com/zcxlighthouse/11c53803faf23f607c2787c166e811d4
  • github.com/YMFE
  • github.com/YMFE/yapi
  • github.com/YMFE/yapi/blob/59bade3a8a43e7db077d38a4b0c7c584f30ddf8c/common/postmanLib.js
  • github.com/advisories/GHSA-663h-2vr3-ghrj
  • nvd.nist.gov/vuln/detail/CVE-2025-70058

Code Behaviors & Features

Detect and mitigate CVE-2025-70058 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 1.12.0

Solution

Unfortunately, there is no solution available yet.

Impact 7.4 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-295: Improper Certificate Validation

Source file

npm/yapi-vendor/CVE-2025-70058.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:31 +0000.