CVE-2026-71458

Description

URLModificationMiddleware resolves named-URL lookups against unfiltered Model.objects before RBAC. The 403→404 shim only rewrites 403 responses, leaving the pk=0 miss path with a different 404 detail string. Differential "Not found." vs "No matches..." reveals whether a named resource (org, credential, inventory, host) exists anywhere on the platform. Enables cross-tenant internal hostname enumeration.

Statement

A moderate information disclosure flaw was found in the automation-controller component of Red Hat Ansible Automation Platform. The URLModificationMiddleware resolves named-URL lookups against the unfiltered model queryset before RBAC enforcement, and the 403-to-404 response shim only rewrites 403 responses without normalizing the response body for the pk=0 miss path. As a result, an authenticated remote attacker with low privileges can distinguish a "Not found." response, which indicates that a named resource exists but access is denied, from a "No matches the given query." response, which indicates that the resource does not exist. This oracle enables cross-tenant enumeration of resource names across the platform, including organization names, credential names, inventory names, and internal hostnames. The exposure is limited to confirming the existence of resource names; it does not allow reading resource contents and has no impact on integrity or availability. Red Hat Ansible Automation Platform 2.5, 2.6, and 2.7 are affected, covering the automation-controller packages and the controller container images, and fixes are being pursued through the delegated Ansible Automation Platform engineering process. The Ansible Automation Platform 2.4 stream is also affected, but no fix is planned for that stream under the current delegated resolution. Red Hat rates this flaw Moderate with a CVSS 3.1 score of 5.0, consistent with the CVE record severity.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5N/A5
Attack VectorNetworkN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredLowN/ALow
User InteractionNoneN/ANone
ScopeChangedN/AChanged
ConfidentialityLowN/ALow
Integrity ImpactNoneN/ANone
Availability ImpactNoneN/ANone

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N

cve.org: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N

Understanding the Weakness (CWE)

Confidentiality,Access Control

Technical Impact: Read Application Data; Bypass Protection Mechanism

Acknowledgements

This issue was discovered by Chris Meyers (Red Hat).

Frequently Asked Questions

Want to get errata notifications? Sign up here.