---
id: CVE-2026-71461
title: |-
  HostList.list() catches bare Exception and returns str(e)
                verbatim
summary: |-
  HostList.list() catches bare Exception and returns str(e)
                verbatim. Via host_filter, any authenticated user triggers
                Django FieldError (leaking complete Host model relation
                graph including intern…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'
cwe:
  - CWE-209
vendor: Red Hat
product: ansible-automation-platform-27/controller-rhel9
affected:
  - ansible-automation-platform-27/controller-rhel9 (all versions)
  - automation-controller (all versions)
patched:
  - ansible_automation_platform 2.7
published: '2026-09-23'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T07:16:32.680'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-71461'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2026:71177'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2026-71461'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2512370'
    label: secalert@redhat.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-71461.json
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-71461'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-71461'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
ingestedAt: '2026-09-23T19:31:04.463Z'
epss: 0.0021
epssPercentile: 0.09999
---

## Overview

HostList.list() catches bare Exception and returns str(e)
              verbatim. Via host_filter, any authenticated user triggers
              Django FieldError (leaking complete Host model relation
              graph including internal reverse accessors) or PostgreSQL
              DataError (leaking raw database error strings). Two
              primitives: credential__search=x dumps ORM schema,
              name__regex=[bad reflects PostgreSQL errors.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **RHSA-2026:71177** · Red Hat · fixed in: Red Hat Ansible Automation Platform 2.7 · released 2026-09-23 · [advisory](https://access.redhat.com/errata/RHSA-2026:71177)
- **Red Hat VEX** · Moderate · affected: Red Hat Ansible Automation Platform 2 · no fix planned: Red Hat Ansible Automation Platform 2 · updated 2026-09-24 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-71461.json)
