CVE-2025-70058 yapi disables TLS/SSL certificate validation via rejectUnauthorized: false in Axios HTTPS agent
YAPI disables TLS certificate validation, allowing attackers to intercept or manipulate HTTPS traffic via man-in-the-middle attacks.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-70058?
CVE-2025-70058 is a high-severity vulnerability in n/a, published on 23 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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
Weakness: CWE-295
Which versions are affected by CVE-2025-70058?
2 open source packages ship an affected version, including yapi-vendor. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
yapi-vendor npm | All versions to 1.12.0 | None |
yapi-vendor npm | All versions to 1.12.0 | None |
Products include Ymfe Yapi.
How do I fix CVE-2025-70058?
No fix has been published for CVE-2025-70058 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-70058 being exploited?
There is no known exploitation of CVE-2025-70058 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-663h-2vr3-ghrj.