Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-56097 Overview
CVE-2026-56097 is a SQL injection vulnerability in rubygem-katello, the component powering the Red Hat Satellite Katello Registry Proxy. The flaw resides in the RegistryProxiesController, where user-supplied label values from the request path are interpolated directly into raw SQL fragments without sanitization. An authenticated user holding only the create_personal_access_tokens permission can trigger the issue, even when the account has no Organization or Location assigned. The weakness is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command.
Critical Impact
A low-privileged, access-restricted Satellite user can inject arbitrary SQL into the Katello registry proxy, exposing confidential database contents through the check_blob_push_org_label and get_matching_products_from_org methods.
Affected Products
- Red Hat Satellite (versions shipping vulnerable rubygem-katello)
- Red Hat Satellite Capsule
- rubygem-katello package distributed by Red Hat (addressed in RHSA-2026:74503, RHSA-2026:74504, RHSA-2026:74505, and RHSA-2026:74506)
Discovery Timeline
- 2026-10-01 - CVE-2026-56097 published to the National Vulnerability Database
- 2026-10-07 - Public discussion appears on the OpenWall OSS-Security list
- 2026-10-07 - Last updated in NVD database
Technical Details for CVE-2026-56097
Vulnerability Analysis
The vulnerability affects the Katello Registry Proxy, which brokers container registry traffic for Red Hat Satellite. Two methods in RegistryProxiesController, check_blob_push_org_label and get_matching_products_from_org, accept organization and product label values directly from the request path. Those labels are concatenated into raw SQL fragments and submitted to the backend database. An authenticated attacker can craft label values that break out of the intended query context and inject arbitrary SQL expressions.
Exploitation requires only the create_personal_access_tokens permission. The Satellite authorization model normally restricts low-privilege accounts to their assigned Organization or Location, but the registry proxy endpoints evaluate the injected label before those scoping checks apply. A user with no Organization or Location assignment can still reach the vulnerable code path, bypassing the usual tenancy boundary that limits what data a low-privileged account should see.
Root Cause
The root cause is string interpolation of untrusted input into SQL fragments inside the RegistryProxiesController lookup helpers. The vulnerable methods do not use ActiveRecord parameter binding or allow-list validation on the label segment extracted from the URL path. Any client that can authenticate to the registry proxy endpoint controls part of the SQL text executed against the Satellite PostgreSQL database.
Attack Vector
The attack vector is network-based and requires low-privileged authentication. An attacker sends a crafted HTTP request to a Katello registry proxy route whose path parameter represents an organization or product label. By embedding SQL metacharacters and sub-expressions in the label segment, the attacker alters the resulting query to return data from other rows or tables. Because confidentiality is the primary impact, the flaw is best suited to extracting registry metadata, credentials stored in Katello, and cross-tenant organization data rather than modifying state.
No verified public proof-of-concept code is available for CVE-2026-56097. See the Red Hat CVE analysis and Red Hat Bugzilla 2490543 for upstream technical detail.
Detection Methods for CVE-2026-56097
Indicators of Compromise
- Requests to /v2/ registry proxy routes containing SQL metacharacters such as single quotes, --, /*, UNION, or SELECT within the organization or product label segment.
- Satellite PostgreSQL logs showing malformed or unexpected SQL fragments originating from the katello application role.
- Use of personal access tokens tied to accounts without an assigned Organization or Location to call registry proxy endpoints.
Detection Strategies
- Enable verbose request logging on the Satellite web tier and alert on non-alphanumeric characters inside path segments bound to Katello registry label parameters.
- Correlate PostgreSQL log_statement = 'all' output with Satellite request IDs to identify SQL text that deviates from the expected parameterized queries.
- Review audit logs for creation and use of personal access tokens by accounts that lack Organization and Location scope.
Monitoring Recommendations
- Monitor for anomalous volumes of GET requests to /v2/<label>/ and /v2/<label>/<product>/ style routes from a single token or source address.
- Track database error rates on the Satellite database host; SQL injection probing frequently produces syntax errors before a working payload is found.
- Alert on new personal access tokens issued to accounts with the create_personal_access_tokens permission but no tenancy assignment.
How to Mitigate CVE-2026-56097
Immediate Actions Required
- Apply the updated rubygem-katello package from the applicable Red Hat Satellite erratum: RHSA-2026:74503, RHSA-2026:74504, RHSA-2026:74505, or RHSA-2026:74506.
- Audit all Satellite user accounts that hold the create_personal_access_tokens permission and revoke tokens issued to accounts without a required Organization or Location.
- Rotate any Satellite-managed credentials and registry tokens that could have been exposed if the proxy was reachable by low-privileged users.
Patch Information
Red Hat has published fixed rubygem-katello builds through the four Satellite errata listed above and tracks the issue in Red Hat Bugzilla 2490543. Administrators should install the erratum corresponding to their Satellite major version and restart Satellite services so the patched controller code is loaded.
Workarounds
- Restrict network access to Satellite registry proxy endpoints so that only trusted container hosts and build systems can reach /v2/ routes.
- Remove the create_personal_access_tokens permission from roles assigned to accounts without an Organization or Location, pending patch deployment.
- Deploy a web application firewall rule that rejects path segments containing SQL metacharacters on Katello registry proxy routes.
# Example: identify Satellite users with create_personal_access_tokens
# but no Organization or Location assignment, using hammer CLI
hammer user list --fields id,login,organizations,locations \
| awk -F'|' '$3 ~ /^ *$/ && $4 ~ /^ *$/ {print $2}'
# Apply the Red Hat patch (example for yum-based Satellite host)
sudo satellite-maintain packages update rubygem-katello
sudo satellite-maintain service restart
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

