Intel

AIKIDO-2025-10572

g4f is vulnerable to Authentication Bypass Using an Alternate Path or Channel

Authentication Bypass Using an Alternate Path or Channel Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Aug 25, 2025

100

Critical Risk

This Affects:

Pythong4f
0.3.9.0 - 0.6.0.2
Fixed in 0.6.0.3
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to Authentication Bypass due to an improper access control configuration in the WebUI, where the primary /chat/ endpoint was not protected by the authentication mechanism, while sub-paths like /chat/test correctly enforced password checks. An attacker could exploit this vulnerability by directly navigating to the main chat endpoint to gain unauthorized access to the application's interface and functionality without requiring a password.

Who does this affect?

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

Background info

g4f is vulnerable to Authentication Bypass Using an Alternate Path or Channel in versions 0.3.9.0 - 0.6.0.2.

How to fix this

Upgrade the g4f library to the patch version.