Back to Blog

22 CVEs in Salt and one fix you cannot push with Salt

Unplugged network connectors above a row of connected cables

On 1 December the Salt Project published 22 CVEs in one go, and six of the fixes are not quiet patches: they change default behaviour. The advisory says so plainly — "Several of these fixes change default behavior. Please read the Breaking changes section before upgrading" — and one of those six carries an operational consequence the advisory states and does not develop: it makes a minion with discovery enabled refuse to start unless master_finger is configured. Which means that fix stops being pushable with your remote execution tool the moment the package lands. It has to be in place before.

First, the real size of the scare, because the number 22 frightens more than it should. None of the twenty-two reaches critical: the highest is an 8.8 and ten are tied there; then three at 8.1, two at 7.8, two at 7.5, three at 7.2 and two that sit at 6.5. The fixed versions are 3006.31 LTS, 3007.18 STS and 3008.6 LTS: three lines at once, including the old LTS. And the credits list names from outside and inside, including the Goldman Sachs security research team. It is a full sweep of the product, not a stray bug.

The difference that matters is in each one's starting point. Of the ones we read closely, most begin with somebody who already holds an eauth token, or with a local condition on the machine. The SSDP one does not: the advisory describes it as "a minion accepted the first responder on the local network as its master without a mandatory fingerprint check". Attacker on the same network, no Salt credentials, command execution on the minion. That is the one that sets the urgency, and the rest ride along with it.

The six behaviour changes, and what each one breaks

The first two columns come from the advisory. The third is ours: it answers "what stops working if you upgrade the package and touch nothing else?".

CVE What changes by default What breaks if you touch nothing (our reading)
47815
8,8
A minion with discovery enabled and no master_finger refuses to start. The service does not come up, and it does not come up before it can take any order from you. You reach that machine on foot, over SSH, or with salt-ssh, which needs no minion daemon.
41865
6,5
The salt-api event stream now requires @events in the account's external_auth ACL. Whatever listens on the bus goes quiet: external reactors, home-made dashboards, ticketing integrations. With no visible error on the master.
47817
8,8
queue_runner_allowlist becomes mandatory: "is now required". Queues stop dispatching jobs until somebody writes the list of allowed functions. You notice it in what does not happen.
47805
8,8
The cache runner's tokens bank is blocked permanently; minion data banks are blocked by default. Any script of yours reading the minion cache stops reading it, unless you set cache_runner_allow_minions_bank: True.
47806
7,5
Positional-argument restrictions in external_auth are now actually enforced for runners and wheels. An ACL using args: or kwargs: may stop authorising what it used to. The advisory asks you to review them before upgrading, not after.
47810
8,8
The REST API now only accepts origins on the cors_origin allowlist. A home-made dashboard calling salt-api from the browser stops being able to. And here there is no way back: "There is no option to restore the previous behavior".

Three different answers to the same question

What we liked most about this advisory is that it gives three different answers to "what if this takes something down", and all three sit in the same document. Sometimes it is a temporary switch with a name of its own. Sometimes it is a list you have to write. And sometimes it is a no.

The switches are these two, verbatim: events_insecure_auth: True and discovery_insecure_auth: True. Look at the name, because it is a design decision and not an oversight. They carry the word insecure inside them. Whoever turns one on writes it into their own configuration file, and the next person to open that file —six months from now, during an audit, or the new technician— will know exactly what they are looking at without having to go and find a CVE. The project could have called them legacy_auth or compat_mode and nobody would have complained. We think it is the right name.

The three lines behind the CORS flaw

Of the twenty-two, the one that reads best as code is the CORS flaw. The advisory sums it up by saying the CherryPy REST API "reflected the request Origin header in Access-Control-Allow-Origin while also allowing credentials". Translated: any website an administrator visited with an open session could make authenticated requests to your salt-api from their browser. The three lines that produce it sit one after another, and you can read them:

resp_head["Access-Control-Allow-Origin"] = req_head.get("Origin", "*")
resp_head["Access-Control-Expose-Headers"] = "GET, POST"
resp_head["Access-Control-Allow-Credentials"] = "true"

We copied them from salt/netapi/rest_cherrypy/app.py, function cors_tool(), on the public repository's main branch, read on 3 December 2026. The fix shipped on the release branches (3006.31, 3007.18 and 3008.6), so this says nothing about whether any particular install is patched; we include it because it explains the flaw better than any paragraph can: echoing back the origin you are handed and allowing credentials on top of it is, precisely, checking nothing.

The order the advisory does not give, and the sentence that is written down

We read the advisory looking for one specific thing and did not find it: in what order you roll this out. For a tool whose entire job is running commands remotely, the order is the difference between still reaching your fleet and not reaching it. The install guide does say it, and bluntly: "When upgrading Salt, the master(s) should always be upgraded first", because "running minions with versions of Salt newer than their masters is not guaranteed to function as expected".

And two sentences further down, on that same page, sits the small print worth reading before you start. Salt's compatibility policy says that, wherever possible, a new master will keep working with old minions, and adds: "Generally, the only exception to this policy is in case of a security vulnerability". To be clear: the advisory does not say these three versions break compatibility with older minions. What the guide puts in writing is that this is the one case where the policy is set aside, and that is something you want to know before you upgrade the first master, not halfway through the fleet.

The minion that does not start is the one you can no longer fix with Salt

Put the two together and the one step that has to happen in a particular order falls out. master_finger is neither new nor exotic: the documentation defines it as the "fingerprint of the master public key to validate the identity of your Salt master before the initial key exchange", and you get it on the master with salt-key -F master. What changed on 1 December is not the parameter; it is that it stops being optional when discovery is on. And the moment the minion checks for it is startup, not the first command.

So the real order has three steps: configuration first, package second, verification last. There is a detail worth checking at your end, because the bad scenario depends on it: unattended-upgrades on Debian and Ubuntu only installs from the origins it has been allowed, and the Salt Project repository is not one of them by default. If somebody added it at some point, the package can land overnight before anyone has written the fingerprint down, and then you do not get a noisy error but a service that will not come up on a machine you can no longer reach with the tool you reach everything else with.

This is not about Salt

We do not deploy Salt at our clients, and this advisory still kept us reading for an afternoon. The reason is that it describes, with unpleasant accuracy, the place where almost everyone carries the same debt: the automation plane is the most privileged machine in the estate and almost never gets the change process production gets. Production has a test environment, a window, a canary and a way back. The machine that runs commands as root on every other one has, at best, an apt upgrade and good intentions.

In the talk about why systems go down we keep saying that failure is inevitable and an outage is a design decision, and that the leading cause of serious outages is not hardware but configuration changes made by people. Here the two cross in an odd way: the configuration change that can leave you without an automation plane is the right one, the one you have to make. What decides whether it goes well is not the decision, it is the procedure. We wrote about it when the control plane falls first and your plan B needed it, and yesterday we came back to it: the panel you thought was read-only turns out to execute.

And there is a second reading, the trust one. A minion with discovery on accepted as its boss whoever answered first on the local network. That is implicit network trust written in a single sentence, and it is exactly the underlying question in Zero Trust: not "is this message inside my network?" but "who signed this, and did I check?". The Salt Project's fix is, literally, to force a fingerprint check before the first handshake.

Five checks: the first four touch nothing

  • 1. Is discovery enabled? This is the one that decides whether the rest is urgent. In the project's code the default for discovery is False on both master and minion, so if nobody turned it on, nobody fails to start. If it is on: salt-key -F master on the master, and the fingerprint into the minion's file before touching the package.
  • 2. Who decides when the package lands? Check whether the master and the minions run unattended upgrades and, above all, whether the Salt repository is among their allowed origins. Not to remove them —usually they are there for good reason— but to know whether the package can overtake the configuration while you sleep.
  • 3. Who listens on the event bus? Pull the list of external_auth accounts and see which ones consume /events. Those now need @events in their ACL, and without it they go quiet without complaining.
  • 4. Grep for args: and kwargs: in the master configuration. Those are the ACLs that, from this version on, are actually enforced. It is the check that takes longest and springs the most surprises, because an ACL that was never enforced could have been written with half an eye.
  • 5. The only one that does not depend on the Salt Project: do you have anywhere to test an automation-plane patch before it touches the real one? If the answer is "we test in production because there is only one", that is the finding of the day and it has no CVE. A test master with three minions costs little, and it is what turns this advisory into a boring afternoon instead of a night.

When this is not about you

If you do not run Salt, this advisory is not yours and there is nothing to do this afternoon. If you do run it but nobody enabled discovery and you have no salt-api exposed, yours is an ordinary patch: plan it, upgrade the master first and get on with your life. And if you run something else —Ansible, Puppet, a repo with a cron, an SSH script that has been there since 2019— the question this advisory leaves behind is yours, and it is a single one: how does your agent know who its boss is, and who last checked that answer? If it takes more than ten seconds to answer, you know where Monday starts.

What we are not claiming. We do not know how many installs have discovery enabled, and the advisory does not say. We have not reproduced any of the twenty-two flaws: everything we describe about each CVE comes from the Salt Project's own text, and anything that is our reading is marked as such, starting with the third column of the table. We are not claiming these vulnerabilities are being exploited: as far as we could check today there is no public record of exploitation. And we are not a reseller of anything, nor connected to the project: we charge for designing and operating, not for what you subscribe to.

Sources (verified at origin on 03/12/2026): the advisory is "Salt security advisory release - 2026-DEC-01", Salt Project, published on 01/12/2026; from it come the 22 CVEs, the medium-to-high severity range, versions 3006.31 LTS / 3007.18 STS / 3008.6 LTS, the CVSS 3.1 score of each entry, the sentence "Several of these fixes change default behavior. Please read the Breaking changes section before upgrading", the descriptions of CVE-2026-47815, CVE-2026-41865, CVE-2026-47805, CVE-2026-47806, CVE-2026-47810 and CVE-2026-47817, the names events_insecure_auth, discovery_insecure_auth, queue_runner_allowlist, cache_runner_allow_minions_bank and cors_origin, the sentence "There is no option to restore the previous behavior" about CORS, and the researcher credits. The upgrade order and the compatibility policy ("When upgrading Salt, the master(s) should always be upgraded first", "running minions with versions of Salt newer than their masters is not guaranteed to function as expected" and "Generally, the only exception to this policy is in case of a security vulnerability") are from "Upgrade Salt", Salt install guide. The definition of master_finger and the salt-key -F master command are from "Configuring the Salt Minion". That the default for discovery is False on master and minion, and the three lines of cors_tool(), we read in the project's public repository (salt/config/__init__.py and salt/netapi/rest_cherrypy/app.py), main branch, on 03/12/2026. The severity count (none critical, ten tied at 8.8, two at 6.5) is our own over the advisory's table. The outage causes study is Oppenheimer, Ganapathi and Patterson, "Why Do Internet Services Fail, and What Can Be Done About It?", USENIX 2003. Translations of the quotes are ours; the English originals are behind the links. Photograph: "Switches and connectors unplugged", rawpixel, CC0.

Who patches the machine that patches the rest?

At everyWAN we build automation with the same change process as the production it governs: somewhere to test, a written order of operations and a rollback somebody has actually run. And the credential that drives it, on Zero Trust terms: nothing gets in just because it is inside the network. If you want us to go over your automation plane before an advisory does, write to us.

Talk to everyWAN

Tags:

Share:

Subscribe to our newsletter

To receive IT stories, everyWAN news and exclusive subscriber offers, sign up to our mailing list

Minorisa de Sistemas Informaticos y Gestión S.L. © 2026
everyWAN
everyWAN