CVE-2025-70058: n/a
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
AI Analysis
Technical Summary
CVE-2025-70058 identifies a critical security vulnerability in YMFE yapi version 1.12.0 related to improper certificate validation (CWE-295). The root cause is the explicit disabling of TLS/SSL certificate verification by setting the 'rejectUnauthorized' parameter to false in the HTTPS agent configuration used by Axios HTTP client requests. This misconfiguration allows the application to accept any TLS certificate, including self-signed or malicious ones, effectively bypassing the trust model of HTTPS. As a result, attackers positioned on the network path can intercept and manipulate sensitive data exchanged between the client and server through man-in-the-middle (MITM) attacks. The vulnerability does not require user interaction or authentication, but the attack complexity is high because the attacker must be able to intercept network traffic. The CVSS v3.1 base score is 7.4, indicating a high severity due to the impact on confidentiality and integrity, while availability remains unaffected. No patches or fixes have been linked yet, and no known exploits are reported in the wild. The vulnerability was reserved in January 2026 and published in February 2026. Given the widespread use of Axios in Node.js applications and the specific use in YMFE yapi, this vulnerability poses a significant risk to API management platforms that rely on secure HTTPS communications.
Potential Impact
The primary impact of CVE-2025-70058 is the compromise of confidentiality and integrity of data transmitted over HTTPS connections managed by YMFE yapi v1.12.0. Attackers capable of intercepting network traffic can exploit this vulnerability to decrypt, modify, or inject malicious content into API communications, potentially leading to data breaches, credential theft, session hijacking, or injection of malicious commands. This undermines trust in secure communications and can facilitate further attacks against backend systems or users. Since the vulnerability does not affect availability, denial-of-service is not a direct concern. However, the breach of sensitive data and integrity can have severe consequences for organizations, including regulatory penalties, reputational damage, and operational disruptions. The vulnerability affects any deployment of YMFE yapi that uses the vulnerable Axios configuration, especially those exposed to untrusted networks or the public internet.
Mitigation Recommendations
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.
Affected Countries
United States, China, India, Germany, United Kingdom, France, Japan, South Korea, Brazil, Australia
CVE-2025-70058: n/a
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
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-70058 identifies a critical security vulnerability in YMFE yapi version 1.12.0 related to improper certificate validation (CWE-295). The root cause is the explicit disabling of TLS/SSL certificate verification by setting the 'rejectUnauthorized' parameter to false in the HTTPS agent configuration used by Axios HTTP client requests. This misconfiguration allows the application to accept any TLS certificate, including self-signed or malicious ones, effectively bypassing the trust model of HTTPS. As a result, attackers positioned on the network path can intercept and manipulate sensitive data exchanged between the client and server through man-in-the-middle (MITM) attacks. The vulnerability does not require user interaction or authentication, but the attack complexity is high because the attacker must be able to intercept network traffic. The CVSS v3.1 base score is 7.4, indicating a high severity due to the impact on confidentiality and integrity, while availability remains unaffected. No patches or fixes have been linked yet, and no known exploits are reported in the wild. The vulnerability was reserved in January 2026 and published in February 2026. Given the widespread use of Axios in Node.js applications and the specific use in YMFE yapi, this vulnerability poses a significant risk to API management platforms that rely on secure HTTPS communications.
Potential Impact
The primary impact of CVE-2025-70058 is the compromise of confidentiality and integrity of data transmitted over HTTPS connections managed by YMFE yapi v1.12.0. Attackers capable of intercepting network traffic can exploit this vulnerability to decrypt, modify, or inject malicious content into API communications, potentially leading to data breaches, credential theft, session hijacking, or injection of malicious commands. This undermines trust in secure communications and can facilitate further attacks against backend systems or users. Since the vulnerability does not affect availability, denial-of-service is not a direct concern. However, the breach of sensitive data and integrity can have severe consequences for organizations, including regulatory penalties, reputational damage, and operational disruptions. The vulnerability affects any deployment of YMFE yapi that uses the vulnerable Axios configuration, especially those exposed to untrusted networks or the public internet.
Mitigation Recommendations
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.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-01-09T00:00:00.000Z
- Cvss Version
- null
- State
- PUBLISHED
Threat ID: 699c7b9bbe58cf853ba5282b
Added to database: 2/23/2026, 4:08:59 PM
Last enriched: 3/3/2026, 1:26:53 AM
Last updated: 4/10/2026, 3:40:08 AM
Views: 50
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.