Media

compose-lint: Compose file text can issue GitHub Actions workflow commands through the compose-lint Action

  • Publicada: 10.11.2026
  • Actualizado: 10.11.2026 18:17

Impact

The GitHub Actions runner treats certain text in a step's output as commands. The legacy form, ##[command], is recognized anywhere in a line. compose-lint's text report prints service names, environment keys and lines of the Compose file, and it does not neutralize ##[. Inside the compose-lint Action, a Compose file from a pull request can therefore:

  • create fake error or warning annotations on the pull request (##[error], ##[warning])
  • fold the rest of the log, including the real verdict, out of sight (##[group])
  • blank out chosen strings for the rest of the log (##[add-mask])

GitHub has postponed removing the deprecated set-output log command, so the runner still honors it. A test run of the Action on a GitHub-hosted runner confirmed that a ::set-output line from a Compose file is processed. Whether it can override the Action's own sarif-written output, which decides whether the SARIF upload step runs, has not been tested.

The exit code and the pass/fail result are not affected. Azure Pipelines parses the same ##[ syntax, so the pip package is listed for anyone printing the text report in other CI systems.

Found during an internal pre-1.0 security review.

Patches

Fixed in 0.31.0. The Action stops the runner from processing workflow commands while compose-lint's output is printed, using a random stop-commands token. The text report also escapes ##[, and :: at the start of a line, in anything taken from the Compose file.

Workarounds

  • In your own workflow, wrap the compose-lint step in ::stop-commands::<random token> and ::<random token>::.
  • Use --format json or --format sarif rather than the text report when linting untrusted pull requests.

Reproduction

yaml
services:
  web:
    image: "nginx:1.25"
    environment:
      "##[error]DB_PASSWORD": placeholder
  "##[group]svc":
    image: "nginx:1.25"
    privileged: true

Run through the Action, this produces a fake error annotation and folds the remaining log lines, including the FAIL verdict, into a collapsed group.

Software afectado

Haz clic en una tecnología para ver todas sus vulnerabilidades.

PlataformaPaqueteVersiones vulnerablesCorregida en
Python (PyPI) compose-lint < 0.31.0 0.31.0

Referencias

Puntuación CVSS 4.3/10
Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Debilidad (CWE)
CWE-117, CWE-150
Plataforma
Python (PyPI)
Paquete
compose-lint
Publicada
10.11.2026
Actualizado
10.11.2026 18:17

Fuentes y licencias

OSV / GitHub Advisory Database - GHSA-6f4g-xm8v-pgv6 - CC BY 4.0

Historial de vulnerabilidades: compose-lint

Todas las vulnerabilidades publicadas de este paquete (Python (PyPI)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.

Todas (10) en el archivo
Entradas en total
10
Primera → última
11.2026 11.2026
Sin corrección
0
Explotada en ataques
0

Distribución por gravedad

  • Media 3
  • Baja 7

Divulgaciones por año

  1. 2026: 10
Gravedad:
  1. compose-lint: Compose file text can issue GitHub Actions workflow commands through the compose-lint Action esta entrada
    Media · 4.3 CVE-2026-123369 < 0.31.0 0.31.0

Identifica las vulnerabilidades de tu aplicación

Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.

Conectar tu aplicación
Newsletter DockRay

La seguridad de tus aplicaciones en tu correo

Vulnerabilidades importantes, recomendaciones concretas y consejos prácticos para tus aplicaciones. Elige tus tecnologías y sigue lo que importa para tu proyecto.

  • Un resumen diario de nuevas vulnerabilidades, también las críticas.
  • Avisos sobre actualizaciones importantes.
  • Consejos prácticos sobre seguridad y monitorización de aplicaciones.

Déjalo vacío para recibir avisos de todas las tecnologías.

Suscripción gratuita. Date de baja con un clic en cualquier correo.