Advisories
Act nowExploited · Confirmed

salt: SaltStack Salt Shell Injection Vulnerability

There is evidence it is being used against people now, on something Phylax follows.

Does it affect what I run?

salt (PyPI)

Checked in your browser. The version you type is not sent anywhere.

Who is affected

  • salt (PyPI): every version, before 2015.8.13
  • salt (PyPI): from 2016.3.0, before 2016.3.8
  • salt (PyPI): from 2016.11.0, before 2016.11.10
  • salt (PyPI): from 2017.5.0, before 2017.7.8
  • salt (PyPI): from 2018.2.0, before 2018.3.5
  • salt (PyPI): from 2019.2.0, before 2019.2.6
  • salt (PyPI): from 3000.0, before 3000.4
  • salt (PyPI): from 3001, before 3001.2
  • salt (PyPI): from 3002, before 3002.1
  • salt (PyPI): every version, before 2015.8.10; from 2015.8.11, before 2015.8.13; from 2016.3.0, before 2016.3.4; from 2016.3.5, before 2016.3.6; from 2016.3.7, before 2016.3.8; from 2016.11.0, before 2016.11.3; from 2016.11.4, before 2016.11.6; from 2016.11.7, before 2016.11.10; from 2017.7.0, before 2017.7.4; from 2017.7.5, before 2017.7.8; from 2018.3.0rc1, before 2018.3.5; from 2019.2.0, before 2019.2.5; from 3000, before 3000.3

The fix

  • salt (PyPI) fixed in 2015.8.13

    pip
    python -m pip install salt==2015.8.13
    uv
    uv add salt==2015.8.13
    poetry
    poetry add salt@2015.8.13
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 2015.8.13 or the nearest later release, to fix CVE-2020-16846. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 2016.3.8

    pip
    python -m pip install salt==2016.3.8
    uv
    uv add salt==2016.3.8
    poetry
    poetry add salt@2016.3.8
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 2016.3.8 or the nearest later release, to fix CVE-2020-16846. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 2016.11.10

    pip
    python -m pip install salt==2016.11.10
    uv
    uv add salt==2016.11.10
    poetry
    poetry add salt@2016.11.10
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 2016.11.10 or the nearest later release, to fix CVE-2020-16846. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 2017.7.8

    pip
    python -m pip install salt==2017.7.8
    uv
    uv add salt==2017.7.8
    poetry
    poetry add salt@2017.7.8
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 2017.7.8 or the nearest later release, to fix CVE-2020-16846. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 2018.3.5

    pip
    python -m pip install salt==2018.3.5
    uv
    uv add salt==2018.3.5
    poetry
    poetry add salt@2018.3.5
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 2018.3.5 or the nearest later release, to fix CVE-2020-16846. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 2019.2.6

    pip
    python -m pip install salt==2019.2.6
    uv
    uv add salt==2019.2.6
    poetry
    poetry add salt@2019.2.6
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 2019.2.6 or the nearest later release, to fix CVE-2020-16846. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 3000.4

    pip
    python -m pip install salt==3000.4
    uv
    uv add salt==3000.4
    poetry
    poetry add salt@3000.4
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 3000.4 or the nearest later release, to fix CVE-2020-16846. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 3001.2

    pip
    python -m pip install salt==3001.2
    uv
    uv add salt==3001.2
    poetry
    poetry add salt@3001.2
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 3001.2 or the nearest later release, to fix CVE-2020-16846. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 3002.1

    pip
    python -m pip install salt==3002.1
    uv
    uv add salt==3002.1
    poetry
    poetry add salt@3002.1
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 3002.1 or the nearest later release, to fix CVE-2020-16846. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 2015.8.10

    pip
    python -m pip install salt==2015.8.10
    uv
    uv add salt==2015.8.10
    poetry
    poetry add salt@2015.8.10
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 2015.8.10 or the nearest later release, to fix CVE-2020-16846. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 2016.3.4

    pip
    python -m pip install salt==2016.3.4
    uv
    uv add salt==2016.3.4
    poetry
    poetry add salt@2016.3.4
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 2016.3.4 or the nearest later release, to fix CVE-2020-16846. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 2016.3.6

    pip
    python -m pip install salt==2016.3.6
    uv
    uv add salt==2016.3.6
    poetry
    poetry add salt@2016.3.6
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 2016.3.6 or the nearest later release, to fix CVE-2020-16846. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 2016.11.3

    pip
    python -m pip install salt==2016.11.3
    uv
    uv add salt==2016.11.3
    poetry
    poetry add salt@2016.11.3
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 2016.11.3 or the nearest later release, to fix CVE-2020-16846. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 2016.11.6

    pip
    python -m pip install salt==2016.11.6
    uv
    uv add salt==2016.11.6
    poetry
    poetry add salt@2016.11.6
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 2016.11.6 or the nearest later release, to fix CVE-2020-16846. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 2017.7.4

    pip
    python -m pip install salt==2017.7.4
    uv
    uv add salt==2017.7.4
    poetry
    poetry add salt@2017.7.4
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 2017.7.4 or the nearest later release, to fix CVE-2020-16846. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 2019.2.5

    pip
    python -m pip install salt==2019.2.5
    uv
    uv add salt==2019.2.5
    poetry
    poetry add salt@2019.2.5
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 2019.2.5 or the nearest later release, to fix CVE-2020-16846. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 3000.3

    pip
    python -m pip install salt==3000.3
    uv
    uv add salt==3000.3
    poetry
    poetry add salt@3000.3
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 3000.3 or the nearest later release, to fix CVE-2020-16846. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.

Fix commands generated from the advisory's versions. No model wrote them.

In plain words

Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.

Evidence

Timeline

  1. First published here, as "Listed".
  2. Level changed from "Listed" to "Act now".
  3. Fixed releases changed: added salt 2015.8.13, salt 2016.3.8, salt 2016.11.10, salt 2017.7.8, salt 2018.3.5, salt 2019.2.6, salt 3000.4, salt 3001.2, salt 3002.1.
  4. Fixed releases changed: added salt 2015.8.10, salt 2016.3.4, salt 2016.3.6, salt 2016.11.3, salt 2016.11.6, salt 2017.7.4, salt 2019.2.5, salt 3000.3.
  5. Evidence added: EPSS rates exploitation in the next 30 days as more likely than not. (FIRST EPSS)
  6. Evidence added: CISA's assessment in the CVE record says exploitation is active. (CISA Vulnrichment (SSVC and KEV fields inside CVE records))