Intel

AIKIDO-2026-10409

github.com/thomaspoignant/go-feature-flag is vulnerable to Denial of Service (DoS)

Denial of Service (DoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Mar 20, 2026

75

High Risk

This Affects:

GOgithub.com/thomaspoignant/go-feature-flag
1.49.0 - 1.51.2
Fixed in 1.52.0
Are you affected? Scan for Free

TL;DR

The relay proxy's admin endpoints (e.g. POST /admin/v1/retriever/refresh) use KeyAuthExtended middleware with a config that can have a nil ErrorHandler when defaults from echo's DefaultKeyAuthConfig are used. When a request is sent with an invalid or missing X-API-Key, validateXAPIKey calls config.ErrorHandler without a nil check, causing a nil pointer dereference panic and process crash. An attacker who can reach the admin API can trigger this with a single request, causing denial of service. The fix adds nil checks before invoking ErrorHandler and explicitly sets AuthMiddlewareErrHandler on the admin route group so invalid keys return 401 Unauthorized instead of panicking.

Who does this affect?

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

Background info

github.com/thomaspoignant/go-feature-flag is vulnerable to Denial of Service (DoS) in versions 1.49.0 - 1.51.2.

How to fix this

Upgrade the github.com/thomaspoignant/go-feature-flag library to the patch version.