Skip to content

[DOCS] Introduce a Security and Threat Model documentation #62144

Closed as not planned

Description

@Oloremo

Description
Currently, SaltStack doesn't have a Security and Treat Model docs. It's unfortunate, especially after so many critical CVEs in the past.

Salt has a tiny security doc here: https://docs.saltproject.io/en/getstarted/system/communication.html
And a hardening guide that is a bit strange without Security and Threat Model docs: https://docs.saltproject.io/en/latest/topics/hardening.html

Suggested Fix
I'd say we need to write a doc that:

  • Describe Salt networking communications
  • Describe(in detail!) Salt custom AES keys system
  • Describe key signing, revocation, rotating
  • Describe Salt Auth system for: CLI, API, Engines
  • Describe Salt Authz system
  • Describe Pillars and Secrets handling
  • Describe possible security differences between 0MQ and TCP transports
  • Describe possible security implications of using Syndic\MoM.
  • Describe the SaltStack threat model

Type of documentation
Security docs

Additional context
A good example of such doc: https://www.nomadproject.io/docs/internals/security

Activity

  1. added
    documentation
    on Jun 8, 2022
  2. Oloremo commented on Jun 8, 2022

    @Oloremo
    ContributorAuthor

    Found that by a pure accident: https://saltstack.gitlab.io/open/docs/salt-user-guide/topics/security.html

    I can't find it in the first 2 google pages for the "saltstack security" search request.
    It actually covers a lot of points.

  3. barbaricyawps commented on Jul 11, 2022

    @barbaricyawps
    Contributor

    @Oloremo , are you saying that the topic you found satisfies your need? If not, can you specify what else you need?

  4. Oloremo commented on Jul 12, 2022

    @Oloremo
    ContributorAuthor

    @barbaricyawps Well first of all I'm completely lost on what should I call Salstsack official documentation.

    The link above more or less covers everything but:

    • Describe Pillars and Secrets handling
    • Describe possible security differences between 0MQ and TCP transports
    • Describe possible security implications of using Syndic\MoM.
    • Describe the SaltStack threat model
  5. barbaricyawps commented on Jul 12, 2022

    @barbaricyawps
    Contributor

    @Oloremo , would you be interested in forming our first U.S./EMEA Salt Docs Working group to help improve the documentation? We can work on projects like improving this security topic and help make it easier to navigate the official documentation. That would be the most effective way to help be the change you want to see in Salt docs.

  6. added
    severity-medium
    and removed on Jul 18, 2022
  7. added this to the Sulphur v3006.27 milestone on Jun 25, 2026
  8. dwoz commented on Oct 15, 2026

    @dwoz
    Contributor

    Thanks for the original report. This issue has been open for more than three years without recent activity and carries a severity label below severity-high. As part of a backlog cleanup, we're closing older low- and medium-severity issues so triage can focus on reports against currently supported releases.

    Closing isn't a judgement that the problem wasn't real — only that the codebase has moved through several releases since this was filed, and much of the surrounding code has changed.

    If you — or anyone else — can still reproduce this on the 3008.x LTS release, please leave a comment with a reproduction and a maintainer will reopen. The original reporter can also reopen directly.

  9. peterupton commented on Oct 16, 2026

    @peterupton

    Salt 3008.x has hardening, authentication, key-rotation, and security-advisory documentation, but still lacks a centralized Security and Threat Model covering trust boundaries, transports, key management, authentication/authorization, secrets, and syndic security. The issue remains unresolved.

  10. dwoz commented on Oct 17, 2026

    @dwoz
    Contributor

    Reopening — there is an open PR tracking a fix for this: #69554.

  11. reopened this on Oct 17, 2026
  12. dwoz commented on Oct 28, 2026

    @dwoz
    Contributor

    Closing — consolidated into #70585. The checkbox for this item is in the appropriate theme section of that tracker. Please pick up the sub-item there.

  13. linked a pull request that will close this issueAdd Security and Threat Model documentation #70632on Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationsecurity and optimizationseverity-mediumtime-estimate-long-term

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions