Link Following Affecting ansible-core package, versions *


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.14% (4th 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-DEBIAN13-ANSIBLECORE-22265216
  • published7 Nov 2026
  • disclosed6 Nov 2026

Introduced: 6 Nov 2026

NewCVE-2026-123037  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

There is no fixed version for Debian:13 ansible-core.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ansible-core package and not the ansible-core package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

A flaw was found in the ansible-core user module. When generate_ssh_key is enabled, User.ssh_key_gen() guards the key files against symlinks but checks the ~/.ssh directory only with os.path.exists(). An unprivileged user on a managed node who replaces their ~/.ssh with a symlink to an existing root-writable directory causes the privileged module to write the generated key pair through the symlink and then chown both files to that user. Because such files can be dropped into directories processed by schedulers (e.g. /etc/cron.daily) or dynamic MOTD (/etc/update-motd.d), the user can escalate to root on the managed node. This is an incomplete fix of CVE-2024-9902.

CVSS Base Scores

version 3.1