Intel

AIKIDO-2025-10679

github.com/hashicorp/consul is vulnerable to Improper Restriction of Security Token Assignment

Improper Restriction of Security Token Assignment Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 8, 2025

23

Low Risk

This Affects:

GOgithub.com/hashicorp/consul
1.21.1 - 1.21.4
Fixed in 1.21.5
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to Information Exposure due to improperly filtering anonymous tokens when setting the Results-Filtered-By-ACLs header, which could allow an attacker to exploit this inconsistency by submitting a specially crafted anonymous token in a request to infer the existence of objects or data they should not have access to, based on whether the header indicates the results were filtered or not.

Who does this affect?

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

Background info

github.com/hashicorp/consul is vulnerable to Improper Restriction of Security Token Assignment in versions 1.21.1 - 1.21.4.

How to fix this

Upgrade the github.com/hashicorp/consul library to the patch version.