Intel

AIKIDO-2025-10547

niquests is vulnerable to Improper Certificate Validation

Improper Certificate Validation Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Aug 13, 2025

20

Low Risk

This Affects:

Pythonniquests
3.0.0 - 3.14.1
Fixed in 3.15.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to Improper Certificate Signature Validation Leading to MITM Attacks due to the absence of signature verification against the issuer's public key in TLS/SSL certificate processing. This flaw allows attackers to bypass trust validation by presenting forged certificates during handshakes, as the system fails to cryptographically confirm their authenticity against the issuer's key. Without OCSP revocation checks, an attacker could exploit this by positioning themselves between clients and servers (e.g., via compromised networks), intercepting traffic, and impersonating legitimate services using invalid or revoked certificates to decrypt or manipulate data.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

niquests is vulnerable to Improper Certificate Validation in versions 3.0.0 - 3.14.1.

How to fix this

Upgrade the niquests library to the patch version.