GHSA-663H-2VR3-GHRJ

Vulnerability from github – Published: 2026-02-23 18:32 – Updated: 2026-02-25 22:46
VLAI?
Summary
yapi disables TLS/SSL certificate validation via rejectUnauthorized: false in Axios HTTPS agent
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

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "yapi-vendor"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "1.12.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2025-70058"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-295"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-02-25T22:46:40Z",
    "nvd_published_at": "2026-02-23T16:29:36Z",
    "severity": "HIGH"
  },
  "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 \u0027rejectUnauthorized\u0027: false in the HTTPS agent configuration for Axios requests",
  "id": "GHSA-663h-2vr3-ghrj",
  "modified": "2026-02-25T22:46:40Z",
  "published": "2026-02-23T18:32:02Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-70058"
    },
    {
      "type": "WEB",
      "url": "https://gist.github.com/zcxlighthouse/11c53803faf23f607c2787c166e811d4"
    },
    {
      "type": "WEB",
      "url": "https://github.com/YMFE"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/YMFE/yapi"
    },
    {
      "type": "WEB",
      "url": "https://github.com/YMFE/yapi/blob/59bade3a8a43e7db077d38a4b0c7c584f30ddf8c/common/postmanLib.js#L110"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "yapi disables TLS/SSL certificate validation via rejectUnauthorized: false in Axios HTTPS agent"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…