Summary
A flaw (CWE-798, hard-coded credentials) was found in quay-operator (Red Hat Quay 3). During an upgrade path, the Clair Postgres database is configured with the publicly known credentials 'postgres'/'postgres'.
According to the CVSS vector (7.6, High), the attack is carried out from an adjacent network, meaning any pod on the cluster network. It requires low privileges, has low complexity and needs no user interaction. Scope is changed (S:C), so the impact extends beyond the vulnerable component itself.
An attacker can authenticate to the Clair vulnerability database as the 'postgres' superuser. This allows reading and writing vulnerability scan results and executing arbitrary SQL. Confidentiality impact is high, integrity impact is low, and there is no availability impact. The vulnerability is not listed in the CISA KEV catalog.
Who is affected
Organizations running Red Hat Quay 3 with the Clair scanner deployed via quay-operator on OpenShift or Kubernetes, especially installations that have gone through an upgrade.
What to do
- Fixed versions are not listed in the record; check Red Hat's official advisory (access.redhat.com/security/cve/CVE-2026-85464) and apply the fix once available.
- As a workaround, implement a NetworkPolicy restricting network access to the 'clair-postgres' service within the cluster to only the pods that require it (see the OpenShift or Kubernetes documentation).
- Before applying the NetworkPolicy, identify which legitimate services need access to the Clair database. Note that applying it may require a service reload or restart and could impact functionality.
- Check exposure: verify whether your Clair Postgres instance uses the postgres/postgres credentials and whether NetworkPolicies exist for that service.
- Review Clair database logs for unauthorized logins or tampering with scan results.
Vendor workaround
Restrict network access to the `clair-postgres` service within the cluster by implementing a NetworkPolicy. This will limit which pods can connect to the vulnerable database, reducing the attack surface. Consult OpenShift or Kubernetes documentation for creating and applying NetworkPolicies to your cluster. Applying a NetworkPolicy may require a service reload or restart to take effect and could impact functionality if other legitimate services require access to the Clair database.
Original text from the vendor's CVE record.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
- Attack vector
- Adjacent network
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Affects other components
- Confidentiality
- High impact
- Integrity
- Low impact
- Availability
- None
Weakness type (CWE)
- CWE-798 Use of Hard-coded Credentials
References
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.