CVE catalog

CVE-2026-16493

A flaw was found in ansible-core. The _extract_collection_from_git() function in ansible-core's concrete_artifact_manager.py constructs git clone commands without a '--' (end-of-options) separator bef

[CVE catalog]

Severity
High · CVSS 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.27% · Oct 25, 2026

A flaw was found in ansible-core. The _extract_collection_from_git() function in ansible-core's concrete_artifact_manager.py constructs git clone commands without a '--' (end-of-options) separator before user-supplied URLs when installing collections from git sources. An attacker who provides a crafted collection source URI containing git argument injection payloads can achieve arbitrary command execution when a user runs 'ansible-galaxy collection install' with the malicious source. This is an incomplete fix for CVE-2026-11332, which hardened the role install path but missed the equivalent collection install code path.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianansiblesid14.4.0+dfsg-1fixed
Debianansibleforky14.0.0+dfsg-1fixed
Debianansibletrixie12.0.0+dfsg-0+deb13u1fixed
Debianansiblebookworm7.7.0+dfsg-3+deb12u1fixed
Debianansible-coresid2.22.0~beta2-1vulnerable
Debianansible-coreforky2.22.0~beta2-1vulnerable
Debianansible-coretrixie2.19.11-0+deb13u1vulnerable
Debianansible-corebookworm2.14.18-0+deb12u2vulnerable
Cpeansible-coreNot reportedNot reportedvulnerable
Opensuseansible-core-2.18tumbleweed2.18.19-2.1fixed
Opensuseansible-coretumbleweed2.21.4-2.1fixed
Opensuseansible-core-2.19tumbleweed2.19.13-2.1fixed
Opensuseansible-core-2.20tumbleweed2.20.9-2.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianansiblesourcesid5.4.0-1not yet assignedNot reportedNot reported
Debianansiblesourceforky5.4.0-1not yet assignedNot reportedNot reported
Debianansiblesourcetrixie5.4.0-1not yet assignedNot reportedNot reported
Debianansiblesourcebookworm5.4.0-1not yet assignedNot reportedNot reported
Debianansible-coresourcesid(unfixed)not yet assignedNot reported[1147449]
Debianansible-coresourceforky(unfixed)not yet assignedNot reported[1147449]
Debianansible-coresourcetrixie(unfixed)not yet assignedNot reported[1147449]
Debianansible-coresourcebookworm(unfixed)not yet assignedNot reported[1147449]
Opensuseansible-core-2.18rpmtumbleweed2.18.19-2.1Not reportedOPENSUSE-SU-2026:12053-1Not reported
Opensuseansible-corerpmtumbleweed2.21.4-2.1Not reportedOPENSUSE-SU-2026:12052-1Not reported
Opensuseansible-core-2.19rpmtumbleweed2.19.13-2.1Not reportedOPENSUSE-SU-2026:12054-1Not reported
Opensuseansible-core-2.20rpmtumbleweed2.20.9-2.1Not reportedOPENSUSE-SU-2026:12055-1Not reported

[Debian bug #1147449]

Notes

[trixie] ansible-core: Minor issue [bookworm] ansible-core: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [ansible-core]Affected
    Details (2)
    • 2.14.18-0+deb12u2 · all · bookworm

      Affected

      nvd · ansible-core · debian · bookworm; nvd · ansible-core · debian · 12

    • 2.14.18-0+deb12u2 · all · bookworm

      Affected

      nvd · ansible-core · debian · bookworm; nvd · ansible-core · debian · 12

  • [ansible]Fixed
    Details (2)
    • 7.7.0+dfsg-3+deb12u1 · all · bookworm

      Fixed · Fixed: 5.4.0-1

      nvd · ansible · debian · bookworm; nvd · ansible · debian · 12

    • 7.7.0+dfsg-3+deb12u1 · all · bookworm

      Fixed · Fixed: 5.4.0-1

      nvd · ansible · debian · bookworm; nvd · ansible · debian · 12

[Debian 13 (Trixie)]

  • [ansible-core]Affected
    Details (2)
    • 2.19.4-0+deb13u1 · all · trixie

      Affected

      nvd · ansible-core · debian · 13

    • 2.19.4-0+deb13u1 · all · trixie

      Affected

      nvd · ansible-core · debian · 13

  • [ansible]Fixed
    Details (2)
    • 12.0.0+dfsg-0+deb13u1 · all · trixie

      Fixed · Fixed: 5.4.0-1

      nvd · ansible · debian · 13

    • 12.0.0+dfsg-0+deb13u1 · all · trixie

      Fixed · Fixed: 5.4.0-1

      nvd · ansible · debian · 13

[openSUSE Tumbleweed]

  • [ansible-core]Affected

    Source package: [ansible-core]

    Details (1)
    • 2.21.3-1.1 · noarch · tumbleweed

      Affected · Fixed: 2.21.4-2.1

      nvd · ansible-core · opensuse · tumbleweed

  • Source package: [ansible-core-2.18]

    Details (1)
    • 2.18.19-1.1 · noarch · tumbleweed

      Affected · Fixed: 2.18.19-2.1

      nvd · ansible-core-2.18 · opensuse · tumbleweed

  • Source package: [ansible-core-2.19]

    Details (1)
    • 2.19.12-1.1 · noarch · tumbleweed

      Affected · Fixed: 2.19.13-2.1

      nvd · ansible-core-2.19 · opensuse · tumbleweed

  • Source package: [ansible-core-2.20]

    Details (1)
    • 2.20.8-1.1 · noarch · tumbleweed

      Affected · Fixed: 2.20.9-2.1

      nvd · ansible-core-2.20 · opensuse · tumbleweed

  • [ansible-test]Unknown

    Source package: [ansible-core]

    Details (1)
    • 2.21.3-1.1 · noarch · tumbleweed

      Unknown · Fixed: 2.21.4-2.1

      Version impact unknown

      nvd · ansible-core · opensuse · tumbleweed

  • Source package: [ansible-core-2.18]

    Details (1)
    • 2.18.19-1.1 · noarch · tumbleweed

      Unknown · Fixed: 2.18.19-2.1

      Version impact unknown

      nvd · ansible-core-2.18 · opensuse · tumbleweed

  • Source package: [ansible-core-2.19]

    Details (1)
    • 2.19.12-1.1 · noarch · tumbleweed

      Unknown · Fixed: 2.19.13-2.1

      Version impact unknown

      nvd · ansible-core-2.19 · opensuse · tumbleweed

  • Source package: [ansible-core-2.20]

    Details (1)
    • 2.20.8-1.1 · noarch · tumbleweed

      Unknown · Fixed: 2.20.9-2.1

      Version impact unknown

      nvd · ansible-core-2.20 · opensuse · tumbleweed

Observed:

References