Cyber Posture

CVE-2025-70058

High

Published: 23 February 2026

Published
23 February 2026
Modified
26 February 2026
KEV Added
Patch
CVSS Score 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.2th 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.2th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

Threat & Defense at a Glance

What attackers do: exploitation maps to Adversary-in-the-Middle (T1557).
Threat & Defense Details

Likely Mitigating ControlsAI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-295

When certificates are used to establish component provenance, the control requires correct certificate validation procedures.

addresses: CWE-295

Mandates approved trust anchors and issuance policies, directly preventing acceptance of unvalidated or untrusted certificates.

addresses: CWE-295

Correct system time is required for proper enforcement of certificate notBefore/notAfter dates and time-based revocation checks.

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

NVD 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

Deeper analysisAI

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.

Details

CWE(s)

Affected Products

ymfe
yapi
1.12.0

CVEs Like This One

CVE-2025-70059Same product: Ymfe Yapi
CVE-2025-1193Shared CWE-295
CVE-2025-46788Shared CWE-295
CVE-2026-33810Shared CWE-295
CVE-2026-32627Shared CWE-295
CVE-2024-55581Shared CWE-295
CVE-2025-11043Shared CWE-295
CVE-2026-4434Shared CWE-295
CVE-2026-25160Shared CWE-295
CVE-2025-0500Shared CWE-295

References