CVE-2025-70058: yapi · Improper Certificate Validation
Affects yapiSource CVE Database V5
Not known to be exploited · CVSS 7.4 High.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 23 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubymfe/yapipkg:github/ymfe/yapiOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2025-70058, organizations should immediately audit their YMFE yapi configurations and source code to identify any instances where 'rejectUnauthorized' is set to false in Axios HTTPS agent configurations. The recommended action is to remove or set 'rejectUnauthorized' to true to enforce proper TLS/SSL certificate validation. Additionally, organizations should update to a patched version of YMFE yapi once available or apply custom patches that enforce certificate validation. Network-level protections such as TLS interception detection, strict transport security (HSTS), and network segmentation can reduce exposure. Employing certificate pinning where feasible can further mitigate MITM risks. Regular security assessments and penetration testing should verify that TLS configurations are correctly implemented. Monitoring network traffic for suspicious MITM activity and educating developers on secure TLS usage in Node.js applications are also critical steps.
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