Technical impact
A flaw in Quay’s robot account listing routine constructs a SQL LIKE pattern from user‑controlled namespace names without escaping wildcard metacharacters. This results in a classic SQL injection vulnerability that permits an attacker to create a namespace containing an underscore and then retrieve robot account entries and their decrypted authentication tokens from namespaces belonging to other tenants. The stolen tokens enable unauthorized image pulls and pushes, effectively granting the attacker elevated access to repositories and compromising the confidentiality and integrity of container data.
Affected Systems
Affected products include Project Quay, Red Hat OpenShift Update Service, and Red Hat Quay. The flaw is present in all unsupported Quay 3 and Quay 5 releases until the patched releases listed in the workaround. Quay versions 3.9, 3.10, 3.12, 3.14, 3.15, 3.16, 3.17, and 3.18 are affected, with patched releases 3.9.28, 3.10.28, 3.12.24, 3.14.10, 3.15.9, 3.16.7, 3.17.7, and 3.18.3.
Risk and Exploitability
Based on the description, the attacker can create a namespace containing an underscore that triggers the vulnerability. This requires network access to the registry API and the ability to create namespaces. Once created, the attacker can retrieve robot accounts and decrypt authentication tokens from other tenants, providing unauthorized image pulls and pushes. The CVSS score of 9.9 indicates critical severity. The EPSS score of < 1% suggests a very low but nonzero exploitation probability, and the vulnerability is not listed in CISA KEV. The flaw remains critical because it allows cross‑tenant credential theft with minimal prerequisites.