ADVISORIES

Vulnerability

CVE-2021-31607

In SaltStack Salt 2016.9 through 3002.6, a command injection vulnerability exists in the snapper module that allows for local privilege escalation on a minion. The attack requires that a file is created with a pathname that is backed up by snapper, and that the master calls the snapper.diff function (which executes popen unsafely).

17 advisories report this vulnerability, across 6 ecosystems.

Advisories

  • ALPINE-CVE-2021-31607

    In SaltStack Salt 2016.9 through 3002.6, a command injection vulnerability exists in the snapper module that allows for local privilege escalation on a minion. The attack requires that a file is created with a pathname…

    CVE-2021-31607 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2021-31607
    CVE-2021-31607 Alpine Updated 18 November 2026
  • DLA-2815-1

    salt - security update

    CVE-2020-28243CVE-2020-28972CVE-2020-35662CVE-2021-25281 Debian Updated 20 November 2026
  • GHSA-hcjf-rp5h-g5h3

    Command Injection in SaltStack Salt

    High CVE-2021-31607 PyPI Updated 23 October 2024
  • PYSEC-2021-56

    In SaltStack Salt 2016.9 through 3002.6, a command injection vulnerability exists in the snapper module that allows for local privilege escalation on a minion. The attack requires that a file is created with a pathname…

    CVE-2021-31607 PyPI Updated 8 November 2023
  • SUSE-SU-2021:14753-1

    Security update for SUSE Manager Client Tools

    CVE-2021-31607 SUSE Updated 4 February 2026
  • SUSE-SU-2021:1951-1

    Security update for salt

    CVE-2021-31607 SUSE Updated 4 February 2026
  • SUSE-SU-2021:2098-1

    Security update for SUSE Manager Server 4.1

    CVE-2021-28657CVE-2021-31607 SUSE Updated 4 February 2026
  • SUSE-SU-2021:2102-1

    Security update for Salt

    CVE-2021-31607 SUSE Updated 4 February 2026
  • SUSE-SU-2021:2104-1

    Security update for Salt

    CVE-2021-25315CVE-2021-31607 SUSE Updated 4 February 2026
  • SUSE-SU-2021:2105-1

    Security update for salt

    Known exploited CVE-2018-15750CVE-2018-15751CVE-2020-11651CVE-2020-11652 SUSE Updated 2 May 2025
  • SUSE-SU-2021:2106-1

    Security update for salt

    Known exploited CVE-2018-15750CVE-2018-15751CVE-2020-11651CVE-2020-11652 SUSE Updated 4 February 2026
  • SUSE-SU-2021:2114-1

    Security update for SUSE Manager Server 4.0

    CVE-2021-28657CVE-2021-31607 SUSE Updated 4 February 2026
  • UBUNTU-CVE-2021-31607

    In SaltStack Salt 2016.9 through 3002.6, a command injection vulnerability exists in the snapper module that allows for local privilege escalation on a minion. The attack requires that a file is created with a pathname…

    CVE-2021-31607 Ubuntu Updated 2 April 2026
  • openSUSE-SU-2021:0899-1

    Security update for salt

    Known exploited CVE-2018-15750CVE-2018-15751CVE-2020-11651CVE-2020-11652 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:1951-1

    Security update for salt

    CVE-2021-31607 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:2106-1

    Security update for salt

    Known exploited CVE-2018-15750CVE-2018-15751CVE-2020-11651CVE-2020-11652 openSUSE Updated 4 February 2026

References