Cyber Resilience

CVE-2025-70058

High

Published: 23 February 2026

Published
23 February 2026
Modified
26 February 2026
KEV Added
Patch
CVSS Score v3.1 7.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS Score 0.0003 7.5th percentile
Risk Priority 15 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2025-70058 is a high-severity Improper Certificate Validation (CWE-295) vulnerability in Ymfe Yapi. Its CVSS base score is 7.4 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Adversary-in-the-Middle (T1557); ranked at the 7.5th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified are NIST 800-53 SC-17 (Public Key Infrastructure Certificates) and SC-8 (Transmission Confidentiality and Integrity).

Deeper analysis

CVE-2025-70058 is an instance of CWE-295 (Improper Certificate Validation) affecting YMFE yapi version 1.12.0. The vulnerability arises because the application disables TLS/SSL certificate validation by explicitly setting 'rejectUnauthorized': false in the HTTPS agent configuration used for Axios requests. This misconfiguration exposes the application to risks associated with unverified server certificates during outbound HTTPS communications. The issue carries a CVSS v3.1 base score of 7.4 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N), indicating high severity due to potential impacts on confidentiality and integrity.

Remote attackers with network access can exploit this vulnerability through a man-in-the-middle (MITM) attack, though it requires high attack complexity, such as controlling a network segment or compromising a trusted certificate authority. No privileges, user interaction, or scope change are needed. Successful exploitation allows attackers to intercept sensitive data in transit or tamper with request/response payloads, leading to high confidentiality and integrity violations without affecting availability.

For mitigation details and further analysis, refer to the provided references, including a GitHub Gist at https://gist.github.com/zcxlighthouse/11c53803faf23f607c2787c166e811d4 detailing the issue, as well as the YMFE organization page at https://github.com/YMFE and the yapi repository at https://github.com/YMFE/yapi. The vulnerability was published on 2026-02-23T16:29:36.433.

EU & UK References

Vulnerability details

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

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1557 Adversary-in-the-Middle Credential Access
Adversaries may attempt to position themselves between two or more networked devices using an adversary-in-the-middle (AiTM) technique to support follow-on behaviors such as [Network Sniffing](https://attack.
Why these techniques?

Improper certificate validation (CWE-295) with rejectUnauthorized:false directly enables MITM positioning for interception/tampering of HTTPS traffic, mapping to Adversary-in-the-Middle.

Confidence: HIGH · MITRE ATT&CK Enterprise v18.1

CVEs Like This One

CVE-2025-70059Same product: Ymfe Yapi
CVE-2024-31854Shared CWE-295
CVE-2024-47258Shared CWE-295
CVE-2026-32627Shared CWE-295
CVE-2024-55581Shared CWE-295
CVE-2025-11043Shared CWE-295
CVE-2024-50691Shared CWE-295
CVE-2024-29171Shared CWE-295
CVE-2025-9293Shared CWE-295
CVE-2025-0500Shared CWE-295

Affected Assets

ymfe
yapi
1.12.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly requires cryptographic protection of transmitted data, which mandates proper TLS certificate validation instead of disabling it via rejectUnauthorized:false.

prevent

Requires proper issuance, validation, and management of PKI certificates for all external connections, directly preventing the CWE-295 misconfiguration.

prevent

Mandates use of approved cryptographic mechanisms for protecting data in transit, addressing the disabled certificate checks in Axios HTTPS agents.

References