Skip to main content

A flaw was found in ansible-core. (CVE-2026-89091)

0
Medium
Published: 10/08/2026 (10/08/2026, 22:17:00 UTC)
Source: GCVE Database
Product: ansible

Description

A vulnerability in ansible-core allows an attacker to craft a malicious collection tarball that exploits improper symbolic link handling during collection installation. This flaw enables overwriting arbitrary files on the control node with the privileges of the user running ansible-galaxy, potentially leading to code execution. The issue is a bypass of a previous fix (CVE-2020-10691).

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

Ubuntu:Pro:14.04:LTSmore threats →ghsa
ansible
pkg:deb/ubuntu/ansible?arch=source&distro=esm-infra-legacy/trusty
Affected versions
=1.1+dfsg-1=1.3.4+dfsg-1=1.4.0+dfsg-1=1.4.1+dfsg-1=1.4.3+dfsg-1=1.4.4+dfsg-1=1.5.4+dfsg-1=1.5.4+dfsg-1ubuntu0.1~esm1=1.5.4+dfsg-1ubuntu0.1~esm2=1.5.4+dfsg-1ubuntu0.1~esm3
Ubuntu:Pro:16.04:LTSmore threats →ghsa
ansible
pkg:deb/ubuntu/ansible?arch=source&distro=esm-apps/xenial
Affected versions
=1.9.2+dfsg-2=1.9.4-1=2.0.0.2-2=2.0.0.2-2ubuntu1=2.0.0.2-2ubuntu1.1=2.0.0.2-2ubuntu1.2=2.0.0.2-2ubuntu1.3=2.0.0.2-2ubuntu1.3+esm1=2.0.0.2-2ubuntu1.3+esm2=2.0.0.2-2ubuntu1.3+esm3=2.0.0.2-2ubuntu1.3+esm4=2.0.0.2-2ubuntu1.3+esm5=2.0.0.2-2ubuntu1.3+esm6
Ubuntu:Pro:18.04:LTSmore threats →ghsa
ansible
pkg:deb/ubuntu/ansible?arch=source&distro=esm-apps/bionic
Affected versions
=2.3.1.0+dfsg-2=2.5.0+dfsg-1=2.5.1+dfsg-1=2.5.1+dfsg-1ubuntu0.1=2.5.1+dfsg-1ubuntu0.1+esm1=2.5.1+dfsg-1ubuntu0.1+esm2=2.5.1+dfsg-1ubuntu0.1+esm3=2.5.1+dfsg-1ubuntu0.1+esm4=2.5.1+dfsg-1ubuntu0.1+esm5
Ubuntu:Pro:20.04:LTSmore threats →ghsa
ansible
pkg:deb/ubuntu/ansible?arch=source&distro=esm-apps/focal
Affected versions
=2.8.3+dfsg-1=2.8.6+dfsg-1=2.9.2+dfsg-1=2.9.4+dfsg-1=2.9.6+dfsg-1=2.9.6+dfsg-1ubuntu0.1~esm1=2.9.6+dfsg-1ubuntu0.1~esm2=2.9.6+dfsg-1ubuntu0.1~esm3
Ubuntu:22.04:LTSmore threats →ghsa
ansible-core
pkg:deb/ubuntu/ansible-core?arch=source&distro=jammy
Affected versions
=2.12.0-1=2.12.0-1ubuntu0.1
Ubuntu:Pro:22.04:LTSmore threats →ghsa
ansible
pkg:deb/ubuntu/ansible?arch=source&distro=esm-apps/jammy
Affected versions
=2.10.7+merged+base+2.10.8+dfsg-1=2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm1=2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm4
Ubuntu:24.04:LTSmore threats →ghsa
ansible
pkg:deb/ubuntu/ansible?arch=source&distro=noble
Affected versions
=7.7.0+dfsg-1=7.7.0+dfsg-3=9.2.0+dfsg-0ubuntu4=9.2.0+dfsg-0ubuntu5
Ubuntu:24.04:LTSmore threats →ghsa
ansible-core
pkg:deb/ubuntu/ansible-core?arch=source&distro=noble
Affected versions
=2.14.9-2=2.14.11-1=2.14.11-2=2.14.13-1=2.16.3-0ubuntu1=2.16.3-0ubuntu2
Ubuntu:26.10more threats →ghsa
ansible
pkg:deb/ubuntu/ansible?arch=source&distro=stonking
Affected versions
=13.1.0+dfsg-1ubuntu1=13.4.0+dfsg-1
Ubuntu:26.10more threats →ghsa
ansible-core
pkg:deb/ubuntu/ansible-core?arch=source&distro=stonking
Affected versions
=2.20.1-1=2.21.1~rc1-1=2.21.1~rc1-2=2.21.1~rc1-2ubuntu1=2.22.0~beta2-1
Ubuntu:26.04:LTSmore threats →ghsa
ansible
pkg:deb/ubuntu/ansible?arch=source&distro=resolute
Affected versions
=12.0.0~b1+dfsg-1=12.0.0+dfsg-1=12.2.0+dfsg-1=13.1.0+dfsg-1=13.1.0+dfsg-1ubuntu1
Ubuntu:26.04:LTSmore threats →ghsa
ansible-core
pkg:deb/ubuntu/ansible-core?arch=source&distro=resolute
Affected versions
=2.19.0-1ubuntu1=2.19.4-1=2.20.1-1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/17/2026, 23:17:29 UTC

Technical Analysis

The vulnerability in ansible-core arises from the archive extractor's use of lexical path normalization (os.path.abspath) instead of resolving symbolic links (os.path.realpath) when validating member paths during 'ansible-galaxy collection install'. It also lacks containment checks on symlink-typed directory members before creation. An attacker can craft a collection tarball that chains symlink directory entries, causing subsequent file members to be written outside the intended directory. This allows arbitrary file overwrite with the privileges of the ansible-galaxy user, leading to potential code execution on the control node. This vulnerability bypasses the fix for CVE-2020-10691.

Potential Impact

An attacker who can convince a user to install a malicious collection can overwrite arbitrary files on the control node with the privileges of the user running ansible-galaxy. This can lead to code execution on the control node, compromising system integrity and security.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid installing collections from untrusted sources to mitigate risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-89091
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.10","Ubuntu:26.04:LTS"]
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ad3f53d2cdf04f65665861d

Added to database: 10/17/2026, 22:22:53 UTC

Last enriched: 10/17/2026, 23:17:29 UTC

Last updated: 10/17/2026, 23:17:29 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses