CVE-2026-125123 · Package
NO FIX YET · SEE WHAT TO DO
compose-lint 0.31.0 writes rejected repository paths to stderr without sanitizing them when no -- separator precedes the path. A crafted pull request path containing a carriage return and workflow-command syntax can make the GitHub Actions runner execute that command in the job log.
first public Nov 10, 2026 · 1 source
Could this affect your app?
Free first check from your website. Connect your repo for the full answer.
Teams running compose-lint 0.31.0 directly, via a package, Docker image, or pre-commit hook with arguments that omit the -- separator, where pull request content reaches the linter's output. The sources say the default pre-commit configuration and the GitHub Action are not affected, and the lint pass or fail result does not change.
Not affected if default-pre-commit-config, github-action, version-below-0.31.0-or-0.32.0
Who cares compose-lint, docker-compose, github-actions, pre-commit
compose-lint --version, and look for 0.31.0.--.-- and the GitHub Action is not affected, per the sources.0.32.0.compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. In version 0.31.0, compose-lint's argument parser writes rejected repository paths to stderr without the output sanitizer when a path is passed without a preceding -- separator. A pull request can supply a path containing workflow-command syntax; a carriage return can position that command at the start of a new line recognized by the GitHub Actions runner, allowing the package, Docker image, or a pre-commit hook with misconfigured args to issue the command in the job log. The default pre-commit configuration includes -- and is not affected, the GitHub Action is not affected, and the lint pass or fail result is unchanged. This issue is fixed in version 0.32.0.
Check it with your coding agent
It reads this page and tells you if your code is affected.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
This page as .md · .json · CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.