Information Exposure Affecting ansible-core package, versions [2.19.0b1,2.22.0b2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.15% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-ANSIBLECORE-22289156
  • published8 Nov 2026
  • disclosed5 Nov 2026
  • creditUnknown

Introduced: 5 Nov 2026

NewCVE-2026-123036  (opens in a new tab)
CWE-209  (opens in a new tab)

How to fix?

Upgrade ansible-core to version 2.22.0b2 or higher.

Overview

ansible-core is an a radically simple IT automation system. It handles configuration management, application deployment, cloud provisioning, ad-hoc task execution, network automation, and multi-node orchestration. Ansible makes complex changes like zero-downtime rolling updates with load balancers easy.

Affected versions of this package are vulnerable to Information Exposure via the PRESERVE allow-list in lib/ansible/_internal/_task.py. When a task marked no_log: true fails, the default stdout callback prints its retained exception text, which can include secret argument values, variable-file source snippets, or full fail/assert messages. This exposes sensitive data in terminal output, CI logs, and automation logs.

Notes

  • On the exception-generation step, a templating error prints the failing line and the two preceding lines of the variables file, so secrets in nearby lines of a file such as -e @secrets.yml can leak even if they are not the failing value.

CVSS Base Scores

version 4.0
version 3.1