yapi disables TLS/SSL certificate validation via rejectUnauthorized: false in Axios HTTPS agent
High severity
GitHub Reviewed
Published
Feb 23, 2026
to the GitHub Advisory Database
•
Updated Feb 25, 2026
Description
Published by the National Vulnerability Database
Feb 23, 2026
Published to the GitHub Advisory Database
Feb 23, 2026
Reviewed
Feb 25, 2026
Last updated
Feb 25, 2026
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
References