CVE-2026-71463
Description
Notification template Jinja AST whitelist only inspects static Getattr nodes. Dynamic subscripts (job['job'+'_env']) and {% if job.id > 100 %} conditional gating bypass both the AST check and the test-render (stub has small job.id). At runtime, the gated branch executes and exceptions write full tracebacks into notification body, which is POSTed to attacker-controlled webhook URL. Leaks install paths, Python version, source line numbers.
Statement
A low impact information disclosure vulnerability was found in the automation controller component of Red Hat Ansible Automation Platform. The notification template Jinja whitelist only inspects static Getattr AST nodes, so an attacker with notification template administration privileges can bypass the whitelist using dynamic subscript expressions or conditional gating on runtime values that differ from the test-render stub. When the gated branch executes at runtime, exceptions raised during notification rendering write full Python tracebacks, including installation paths, the Python version, and source file line numbers, into the notification body, which is then delivered to a webhook URL controlled by the attacker. Red Hat rates this as low severity (CVSS 3.1 score 2.7, AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N), matching the upstream rating, because exploitation requires highly privileged notification template admin access and the consequence is limited to information disclosure. The affected automation-controller packages and controller container images are marked affected with the fix delegated to the product team. For the ansible_automation_platform-2.4 stream the fix has been deferred given the low impact of the issue, leaving a residual risk that a privileged notification template administrator can obtain limited system information, such as installation paths and Python version, through leaked tracebacks.
Mitigation
Restrict notification template creation and editing privileges to trusted administrators only, since exploitation requires notification template admin privileges. Review existing notification templates for unexpected dynamic subscript expressions or conditional gating constructs, and limit outbound connectivity from automation controller nodes to approved webhook destinations so that notification content cannot be delivered to attacker-controlled endpoints.
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 Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 2.7 | N/A | 2.7 |
| Attack Vector | Network | N/A | Network |
| Attack Complexity | Low | N/A | Low |
| Privileges Required | High | N/A | High |
| User Interaction | None | N/A | None |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality | Low | N/A | Low |
| Integrity Impact | None | N/A | None |
| Availability Impact | None | N/A | None |
Vector
Red Hat: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
cve.org: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
Understanding the Weakness (CWE)
Confidentiality
Technical Impact: Read Application Data
Often this will either reveal sensitive information which may be used to launch another, more focused attack or disclose private information stored in the server. For example, an attempt to exploit a path traversal weakness (CWE-22) might yield the full pathname of the installed application. In turn, this could be used to select the proper number of ".." sequences to navigate to the targeted file. An attack using SQL injection (CWE-89) might not initially succeed, but an error message could reveal the malformed query, which would expose query logic and possibly even passwords or other sensitive information used within the query.
Acknowledgements
This issue was discovered by Chris Meyers (Red Hat).
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.