CVE alerts for running services, with optional Compose and repository updates

Abierto
#5,726 1 comentario 11 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
docker, docker-compose, postgresql, typescript

Línea de trabajo

The issue proposes several stages, starting with service inventory, advisory matching, and notifications; it does not name source files or tests. Read the deployment and notification entry points, then inspect how Dokploy represents local, remote, and Swarm services. A first scope is complete when affected running versions can be matched to advisories and findings are reported without repeating alerts.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement
What problem will this feature address?

When a security advisory comes out, I'd like to know which of my running services are affected without checking every container and repository by hand. An image tag doesn't always tell the whole story: a custom application image can contain an older PHP runtime, for example.

The PHP security release on 21 October 2026 is a good example. CVE-2026-109618 and CVE-2026-109619 affect PHP versions that were current until that release. For an upstream PHP 8.3.35 installation, it would be useful for Dokploy to identify the affected service and point to 8.3.36 as the fixed version.

Finding the affected container is only half the work. The version might be set in Dokploy's Compose editor, a Compose file in Git, or a Dockerfile used to build the application.

Describe the solution you'd like

An optional security view for running services, with notifications when a CVE affects the installed version.

The main things I'd like it to do are:

  • Inventory running services on the local server, remote servers and Swarm nodes, including the actual image digest and detectable runtime/package versions.
  • Use CIRCL's public Vulnerability-Lookup service to find relevant advisories, then check their affected-version ranges against what is installed.
  • Show the affected service, component, installed version, CVE, severity and fixed version when one is available.
  • Check after deployments and periodically, since a new CVE can affect a container that hasn't changed. Reuse the existing notification channels and avoid sending the same alert repeatedly.
  • Clearly show when a version couldn't be detected or applicability is uncertain.

I'd also like an optional way to prepare the fix:

  • For Compose stored in Dokploy, show a proposed change to the image tag or version variable before applying it.
  • For deployments from Git, offer to open a PR updating the relevant Compose file, Dockerfile base image or version variable.
  • Pull or rebuild as needed, then check the running replacement before marking the finding as resolved. Updating an application image should preserve its image variant and compatibility requirements.

I think inventory, matching and notifications would make a useful first contribution. The update actions could follow in separate PRs once that foundation is agreed on.

Describe alternatives you've considered

Running a scanner such as Trivy or Grype separately, and using Renovate or Dependabot for repository updates. Those can cover parts of this, but still leave the work of connecting an advisory to the exact service and image currently running in Dokploy.

Manually tracking vendor advisories and updating Compose files also works, but becomes harder across multiple projects and servers.

Additional context

I checked the public Vulnerability-Lookup API with both PHP CVEs above, and it already returns their affected-version ranges.

There are a couple of details worth getting right: its CPE search returns candidates by vendor/product rather than proving that a specific version is affected, and vendor aliases matter. In my check, searching php/php missed these advisories while PHP Group/PHP returned them. Distribution packages also need to account for backported fixes.

The scanner choice and exact integration are open for discussion. API requests should be cached and respect the public service's limits; container secrets and full inventories should stay local. Repository update support would also need the appropriate write permissions.

Will you send a PR to implement it?

Yes. I'm happy to supply a PR once the maintainers give the go-ahead on the scope and approach. Following the contribution guidelines, I'd base the work on canary, keep the PRs focused, add tests and documentation, and test the changes in a local Dokploy instance before submitting.

Lenguaje dominante
TypeScript
Estrellas
38.8k
Forks
3.2k
Merge medio
1 d 10 h
PR fusionados (30 d)
110

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Dokploy/dokploy

Todos los issues de Dokploy/dokploy

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.