The attach-consumer-label plugin in APISIX allows arbitrary label injection into consumer objects during request processing, and this capability was exposed to untrusted input. That makes this less a simple input validation flaw and more a fundamental category error: the plugin was designed as an operator convenience for dynamic routing, but it creates a privileged channel into the access control layer.
In APISIX, consumer labels aren't metadata for observability alone — they feed into routing logic, plugin execution conditions, and authorization decisions. If a label like 'role=admin' or 'tier=privileged' can be injected by crafting request values, you've created an authorization bypass that circumvents normal credential and token validation entirely. The attacker's injected label propagates through the entire plugin execution chain for that request, corrupting the security context that all downstream plugins consume.
The affected versions are 3.11.0 through 3.17.0. The upgrade to 3.18.0 restricts what values the plugin accepts, but the deeper problem remains: this plugin performs a write operation to a security-relevant object during request processing, violating the immutability assumption that downstream authorization models depend on. Organizations that ran this plugin in the exposure window likely have consumer objects with corrupted label state — upgrading doesn't automatically reverse that mutation.
Prioritize these actions: audit all consumer labels against known-good values to detect corruption from the exposure window; review any authorization policies or routing rules that consume consumer.labels to determine what decisions were made based on attacker-injected values; treat consumer labels as a security-critical namespace going forward, not operational metadata. The fix in 3.18.0 closes the injection vector, but the state corruption it enabled may persist in your environment.