ShieldPack SHIELD PACK
From 1401 onwards.

Where would you like to start?

Services, updates, and ways to contact us, all in one place

Pricing and orders →

Use the bot or chat with us—whichever you prefer

ShieldPack posts

Critical Red Hat Quay Flaw Lets Attackers Read and Overwrite All Private Container Images in a Registry

About 4 min read

Red Hat has disclosed two critical vulnerabilities in its Quay container‑registry platform that allow attackers to read, overwrite or delete private images across all repositories, and to steal robot‑account credentials from other tenants. The first flaw, tracked as CVE‑2026‑123710, carries a CVSS rating of 9.8 and enables an adversary with any level of access to a Quay registry to add a malicious signing key to the list of keys that Quay trusts. Because Quay does not require an expiry date for keys added through its key server, the attacker‑supplied key remains valid indefinitely, even after service restarts. Once the key is trusted, the attacker can generate tokens that are accepted for any repository, permitting the retrieval of private images, extraction of embedded secrets, and the ability to push or overwrite images. Those altered images will propagate to every downstream system that later pulls them, effectively compromising the supply chain for any environment that relies on the compromised registry.
The vulnerability is amplified by Quay’s default configuration, which permits anonymous access. When anonymous access is enabled, an attacker needs no account at all to exploit the flaw. Even if anonymous access is disabled, any legitimate user with a valid Quay account can still trigger the exploit, according to Red Hat’s statement released yesterday. The company has responded by publishing fixed builds for eight branches of Quay 3, and it lists every Quay 3 and Quay 5 version as affected. The advisory notes that the vulnerable logic has existed since Quay’s first public commit, meaning the issue has been present in the codebase for an extended period.
A second, equally severe vulnerability, CVE‑2026‑110697, has a CVSS score of 9.9. This flaw allows a Quay user who can create a namespace to harvest robot‑account tokens belonging to other tenants. The problem stems from the way Quay constructs an SQL LIKE pattern when listing robot accounts: it inserts the namespace name directly without escaping wildcard characters. Because an underscore in an SQL LIKE pattern matches any single character, a malicious user can craft a namespace containing an underscore that unintentionally matches another tenant’s namespace. The query then returns the other tenant’s robot accounts together with their decrypted tokens. No elevated privileges are required, and the victim does not need to take any action. Once obtained, the stolen robot tokens can be used to read, push, or overwrite images in the victim’s repositories. In environments where Quay serves as the integrated registry for Red Hat OpenShift, these credentials could be leveraged to inject malicious images into CI/CD pipelines, jeopardizing the entire development workflow.
Both flaws share a common impact surface: any Quay instance reachable by untrusted clients—whether an internal registry or a public deployment—faces exposure. The key‑rotation issue (CVE‑2026‑123710) also permits an attacker to delete the legitimate keys that Quay uses for authentication, causing normal push and pull operations to fail with authentication errors. The planted key survives password resets and robot‑token changes, meaning that simply rotating credentials does not eradicate the backdoor.
Critical Red Hat Quay Flaw Lets Attackers Read and Overwrite All Private Container Images in a Registry
Red Hat’s remediation guidance emphasizes that disabling anonymous access alone does not mitigate the risk. For the key‑addition vulnerability, the company advises applying the updated Quay packages that incorporate the missing rotation check, enforce expiry dates on newly added keys, and prevent callers from arbitrarily setting a token’s audience. These changes close the path that allowed arbitrary key insertion and token forgery. For the robot‑account enumeration issue, Red Hat recommends limiting the creation of namespaces or organizations that contain an underscore, rotating robot tokens for any namespace that could be matched by an underscore‑based pattern, and monitoring for atypical pull or push activity that does not align with normal robot usage. While these mitigations reduce exposure, they do not fully eliminate the underlying flaw until the patched releases are deployed.
The company’s advisory notes that, as of the day of checking, the CVE entry for CVE‑2026‑123710 still lists every Quay package as affected without indicating a fix, even though each individual advisory now references the patched versions. Similarly, the CVE page for CVE‑2026‑110697 names the same eight releases as fixed and states that Quay.io has already been updated, yet none of the eight advisories explicitly list the CVE. This discrepancy underscores the importance for administrators to verify the actual package versions in use rather than relying solely on the CVE summary pages.
Red Hat attributes the discovery of both vulnerabilities to its security researcher Dave O’Connor. The upstream fix not only adds the missing key‑rotation verification and enforces expiry dates for keys added via the key server, but also blocks callers from selecting a token audience, thereby preventing the token‑forgery chain. The same code changes also correct the robot‑account search logic, ensuring that namespace names are properly escaped before being used in SQL LIKE statements.
For ShieldPack readers who manage container registries, CI/CD pipelines, or OpenShift clusters, the practical steps are clear: inventory all Quay installations, confirm they are running one of the eight patched Quay 3 releases, and apply the updates without delay. Verify that anonymous access is disabled where possible, but recognize that this alone is insufficient. Audit namespace creation policies to forbid underscores unless explicitly required, rotate any robot tokens that may have been exposed, and implement logging or alerting on unusual image‑pull or push events. By taking these actions now, organizations can prevent attackers from hijacking their container images, stealing credentials, or disrupting their deployment pipelines.

Source: The Hacker News · Cybersecurity

ShieldPack media