Skip to content

Security Policy

Supported Versions

GitHub Release GitHub Release Date

Only the latest version is supported.

Patches are only released for the latest version.

Versioning follows Semantic Versioning, with the following format:

  • Stable tags: vX.Y.Z
  • Prerelease tags: vX.Y.Z-rc.N

Versions prior to v1.0.0 can contain breaking changes anytime and are not guaranteed to be stable.

You can always find all release notes on GitHub:

Trust Model

Doco-CD deploys what your repositories describe. It talks to the Docker daemon, so the following actors are trusted with root-equivalent access to the Docker host:

  • Anyone who can push to a repository that doco-cd deploys (including its .doco-cd.yml and compose files).
  • Anyone who holds the WEBHOOK_SECRET (webhook requests can point doco-cd at any remote repository).
  • Anyone who holds an API key with poll:trigger, including the write and full roles (REST API and MCP server).

These actors can deploy arbitrary workloads, for example privileged containers, bind mounts of the host filesystem, or a mount of the Docker socket. Doco-CD does not try to sandbox them. poll:trigger can indirectly destroy data through deployments. Other permissions, such as jobs:trigger and stacks:control, can run configured workloads and may also provide host-equivalent access depending on their configuration. The full role and the projects:delete or stacks:delete permissions permit direct project or stack removal. Project and stack inspection can expose sensitive Docker configuration, and read permissions can expose deployment metadata. Permissions restrict operation types, not individual resources or Docker contexts.

Because of this, file paths in deployment configuration are trusted and are read from the doco-cd container filesystem without being confined to the repository. This applies to:

  • env_files and external_secrets_files in the deploy config (relative paths resolve against working_dir and can use .., absolute paths in env_files are read as given and are an intended feature).
  • env_file, configs and secrets entries with a file source, and build secrets in compose files.

Reports that only show that these actors can read files or environment variables that are reachable from the doco-cd container are out of scope, as they can already do the same with a deployed container.

To reduce the impact of a compromised repository or secret:

  • Limit who can push to repositories that doco-cd deploys and protect the deployed branches.
  • Keep WEBHOOK_SECRET and API keys private and rotate them if they leak.
  • Keep PASS_ENV disabled, so the doco-cd environment is not passed to deployments.
  • Mount only the files that doco-cd needs into its container.

Reporting a Vulnerability

If you believe you have found a security vulnerability, please report it to us through coordinated disclosure.

Please do not report security vulnerabilities through public GitHub issues, discussions, or pull requests.

This gives us time to work with you to fix the issue before public exposure, reducing the chance that the exploit will be used before a patch is released.

You may submit the report in the following ways:

Please include as much of the information listed below as you can to help us better understand and resolve the issue:

  • Impact of the issue, including how an attacker might exploit the issue
  • Step-by-step instructions to reproduce the issue
  • Proof-of-concept or exploit code (if possible)
  • The version and/or location of the affected source code (tag/branch/commit or direct URL)
  • The type of issue (e.g., buffer overflow, SQL injection, or cross-site scripting)
  • Full paths of source file(s) related to the manifestation of the issue
  • Any special configuration required to reproduce the issue

This information will help us triage your report more quickly.