Skip to main content

Compose Lint

12 CVEs product

Monthly

CVE-2026-125125 Nov 10, 16:55 LOW PATCH GHSA Monitor

GitHub Actions workflow-command injection in the compose-lint Action (v0.30.0 and v0.31.0) lets a pull request author forge log annotations and log-folding commands when `sarif-file:` names a file inside a subdirectory. After a failed `mkdir` for that SARIF directory, the Action echoes the resolved path; because that echo falls outside the stop-commands window in v0.31.0 (and v0.30.0 has no such window), a symlink committed by the pull request to a directory whose name embeds a newline and a workflow command such as `::warning::X` is parsed by the runner as a real command. Exposure is narrow - only the Action with a subdirectory SARIF path is affected, while the compose-lint package, pre-commit hook, Docker image and the documented root-level `sarif-file: results.sarif` setup never print this message - and the lint pass/fail verdict is unchanged. The advisory publishes a reproduction procedure but no working exploit code is confirmed, there is no CISA KEV entry, and severity is low (CVSS 4.0 base 2.3; independent assessment CVSS 3.1 AV:N/AC:H/PR:N/UI:R/I:L).

Docker Compose Lint
NVD GitHub
CVSS 4.0
2.3
EPSS
0.4%
CVE-2026-125124 Nov 10, 16:53 LOW Monitor

All signals point to a low-priority issue: compose-lint 0.31.0 fails to neutralize Azure Pipelines' ##vso[ logging-command opener in any output path, so an untrusted pull request that places that opener in a Compose value or in a file or directory name can have logging commands such as task.setvariable or task.prependpath issued when compose-lint's output is printed into an Azure Pipelines job log. Exploitation requires a narrow, non-default deployment: the pip package, pre-commit hook, or composelint/compose-lint 0.31.0 Docker image must be run inside an Azure Pipelines job that prints its output over attacker-authored content, and the maintainer did not reproduce the behavior on an Azure Pipelines agent. No public exploit code was identified at time of analysis and there is no KEV listing; impact is limited to command injection into later steps of the same job rather than host code execution.

Information Disclosure Docker Microsoft Azure Pipelines Compose Lint
NVD GitHub
CVSS 4.0
2.3
EPSS
0.3%
CVE-2026-125123 Nov 10, 16:52 PyPI LOW PATCH GHSA Monitor

Workflow-command injection in compose-lint 0.31.0 lets the author of a pull request smuggle GitHub Actions commands into a CI job log through the argument parser's error output, producing annotations, folding or hiding log sections, and similar runner-accepted effects. Only non-default invocations are exposed: the pre-commit hook with an `args:` entry that omits the documented trailing `--`, or the `compose-lint` package / `composelint/compose-lint` Docker image called with a repository path and no preceding `--`. The default pre-commit configuration and the tmatens/compose-lint GitHub Action are not affected, the lint pass/fail verdict is unchanged, and no public exploit was identified at time of analysis; priority is monitor.

Docker Compose Lint
NVD GitHub
CVSS 4.0
2.3
EPSS
0.4%
CVE-2026-125122 Nov 10, 16:50 PyPI LOW PATCH GHSA Monitor

compose-lint 0.31.0 fails to neutralize the GitHub Actions workflow-command opener `##[` inside strings it emits through `--format json` or `--format sarif` on stdout, so a pull request author who embeds that sequence in a Compose value (for example a service named `a##[warning]X`) can have the runner interpret it as a command when CI lints the untrusted PR with output printed to the job log. The result is limited to log and annotation manipulation - creating annotations, folding or hiding log sections - and the lint verdict itself is unchanged; the advisory explicitly notes that writing output to a file, the `tmatens/compose-lint` GitHub Action (which brackets each run with a random `::stop-commands::` token), and the already-sanitized default text report are unaffected. Fixes ship in 0.32.0, where the bracket is escaped as `\u005b` in JSON/SARIF output so the decoded data is identical; no public exploit code or active exploitation is reported and the vulnerability is tracked as monitor priority, consistent with a genuinely low real-world risk profile.

Information Disclosure Docker Compose Lint
NVD GitHub
CVSS 4.0
2.3
EPSS
0.4%
CVE-2026-125121 Nov 10, 16:43 PyPI MEDIUM PATCH GHSA This Month

CI workflow-command injection in compose-lint 0.31.0 lets untrusted Compose values or repository paths masquerade as GitHub Actions commands in the tool's own console output, allowing a pull request to create annotations or fold and hide parts of the job log before a reviewer reads it. The Sanitizer added in the prior release escapes line-leading '::' only after ASCII spaces and tabs, while the Actions runner strips all Unicode whitespace first, so a no-break space or ideographic space followed by '::' slips through into the text report, fix guidance, fix dry-run diff and stderr diagnostics. Only pipelines that run the pip package, the default pre-commit hook, or the composelint/compose-lint:0.31.0 image directly in CI are exposed; the tmatens/compose-lint GitHub Action disables command processing and is unaffected, the lint verdict is never changed, and no public exploit identified at time of analysis beyond the reproduction steps published in the advisory.

Docker Compose Lint
NVD GitHub
CVSS 4.0
5.3
EPSS
0.4%
CVE-2026-123796 Nov 09, 17:48 PyPI LOW PATCH GHSA Monitor

Secret disclosure in compose-lint 0.32.0 allows a pull request author to capture values that a CI job writes into the .env file sitting beside the Compose file. The 20,000-finding early-stop path is evaluated before resolved environment values are replaced with their ${NAME} references, so a document inflated past the limit (an aliased list graded once per service reaches it in a few hundred lines) is reported with the resolved secret still quoted in text, JSON, SARIF and the Code Scanning alerts built from them. The CVSS 4.0 vector marks it unauthenticated (PR:N) but exploitation requires a workflow that both writes secrets into the sibling .env and lints untrusted pull-request content, typically pull_request_target; the advisory notes fork pull requests normally run without secrets, the job log masks registered secrets while uploaded JSON/SARIF artifacts do not, and the run exits 2 unless --allow-partial-coverage is used, though output is written before that exit. No public exploit code was identified at time of analysis, all signals support a monitor priority, and the flaw is an incomplete fix for GHSA-jf3h-8jvx-vcrg that is resolved in 0.33.0.

Information Disclosure Docker Compose Lint
NVD GitHub
CVSS 4.0
2.3
EPSS
0.3%
CVE-2026-123373 Nov 09, 17:46 PyPI LOW PATCH GHSA Monitor

compose-lint 0.2.0 through 0.24.0 follows a project-controlled symlink named as the Compose file - and, from 0.22.0, compose.override.yml or a COMPOSE_FILE entry in a sibling .env, and from 0.23.0 an env_file: target - so a pull request author can point the linter at a file outside the checkout and have one line of it quoted into stderr, JSON errors[] and the SARIF toolExecutionNotifications uploaded to Code Scanning, where that author can read it on a public repository. The disclosure is narrow: the attacker chooses the path but not the quoted line (it is wherever the YAML parser fails), env_file values are never printed (only credential-like key names via CL-0020/CL-0021), a symlink to /proc/self/environ yielded nothing in testing, and pass/fail results are unchanged. Scored CVSS 2.3 (assessed CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N), with a vuln.today decision label of monitor, no CISA KEV listing, and no confirmed working exploit code - the GitHub advisory publishes a reproduction recipe, which is not verified as working exploit code.

Information Disclosure Docker Compose Lint
NVD GitHub
CVSS 4.0
2.3
EPSS
0.5%
CVE-2026-123372 Nov 09, 17:38 PyPI LOW PATCH GHSA Monitor

compose-lint 0.22.0 through 0.31.0 resolves `${VAR}` references from the sibling `.env` into `image:` fields and then quotes the resolved value in CL-0004 and CL-0019 finding text and fix guidance, so a pull request that changes one line to `image: "${DB_PASSWORD}"` can pull a CI-written secret into the job log, JSON output, SARIF artifacts and Code Scanning alerts. The CVSS vectors list PR:N (no privileges required) with UI:P/UI:R (user interaction required), and the pass/fail outcome is unchanged; the leak only matters where a workflow writes secrets into the `.env` beside the Compose file and then lints untrusted PR content, such as a `pull_request_target` workflow, same-repository branch PRs, or a self-hosted runner that retains a populated `.env`. Scored low (CVSS 4.0 base 2.3; independent assessment CVSS 3.1 AV:N/AC:H/PR:N/UI:R/C:L) and tagged monitor, with no CISA KEV entry and no public exploit identified at time of analysis; fixed in 0.32.0.

Information Disclosure Docker Compose Lint
NVD GitHub
CVSS 4.0
2.3
EPSS
0.4%
CVE-2026-123371 Nov 09, 17:36 PyPI LOW PATCH GHSA Monitor

A `.compose-lint.yml` policy file committed as a symlink is followed outside the project directory, and when the external target fails YAML parsing the error message quotes roughly 30 characters around the parse position into stderr, the JSON `errors[]` array, and the SARIF `toolExecutionNotifications` that the GitHub Action uploads to Code Scanning. The linter then exits with status 2, but on a public repository the job log is readable by the pull request author. Affected are the PyPI package from 0.2.0 through 0.31.0, Action tags v0.18.0 through v0.31.0 (earlier tags install the newest, currently affected, release unless `version:` is set), and Docker image tags 0.3.3 through 0.31.0 including `latest`; exploitation needs automatic policy-file discovery without `--config` on a runner handling untrusted pull requests with credentials stored outside the checkout, only a short attacker-unselectable segment is revealed, and no public exploit was identified at time of analysis.

Information Disclosure Docker Compose Lint
NVD GitHub
CVSS 4.0
2.3
EPSS
0.4%
CVE-2026-123370 Nov 09, 17:34 PyPI MEDIUM PATCH GHSA This Month

Line-number desynchronization in compose-lint 0.9.0 through 0.17.0 lets `fix --apply` delete a line the user never selected, including an adjacent security setting such as an internal-only network declaration, while the tool still reports a successful fix and exits 0. A Compose file from an untrusted pull request that places an ambiguous line-break codepoint inside a quoted scalar shifts every later edit by one line, so the applied fix removes the intended target plus the following line; exploitation requires the operator to run `fix --apply` against attacker-influenced input without inspecting the dry-run diff, and the plain `check` command and the GitHub Action (which never runs `fix`) are unaffected. No public exploit code was identified at time of analysis and the vendor has released 0.18.0; this is a developer/CI-tooling integrity issue requiring user interaction, not a compromise of a running service.

Docker Pypi Compose Lint
NVD GitHub VulDB
CVSS 4.0
5.1
EPSS
0.3%
CVE-2026-123369 Nov 09, 17:32 PyPI MEDIUM PATCH GHSA This Month

CI log output spoofing in compose-lint before 0.31.0: a crafted Compose file can echo GitHub Actions or Azure Pipelines workflow-command openers (legacy '##[' anywhere in a line, or '::' at the start of a line) through the tool's text report, letting an attacker forge error/warning annotations, fold the real FAIL verdict into a collapsed log group, or mask selected strings for anyone reading the CI output. The issue affects the compose-lint GitHub Action (0.2.0 through 0.30.0) and the pip package / composelint/compose-lint container image at or below 0.30.0, and only when the default text report format is run against an untrusted Compose file such as one from a pull request; exit codes and pass/fail results are explicitly unaffected, so the impact is confined to misrepresenting what reviewers see. No public exploit code identified at time of analysis, and exploitation is unauthenticated per the CVSS vector but requires a reviewer to actually view the CI log (UI:P/R); version 0.31.0 fixes both the Action and the report escaping.

Docker Microsoft Compose Lint
NVD GitHub
CVSS 4.0
5.3
EPSS
0.4%
CVE-2026-123368 Nov 09, 17:25 PyPI LOW PATCH GHSA Monitor

Symlink-following in the sibling `.env` read of compose-lint 0.22.0 through 0.30.0 lets a pull request that is linted by CI substitute runner file or process-environment contents into finding messages, which are then written to the job log, JSON output, SARIF artifacts and Code Scanning alert text; from 0.28.0 the same missing containment check also applies to an `include:` entry's `project_directory:`. Disclosure only matters where the linting job's environment actually holds useful or secret data, since GitHub normally withholds registered secrets from fork pull requests and masks them in the job log, so the common setup leaks runner metadata and unmasked values only, and the pass/fail verdict is never changed. Exploitation requires the CI job to run the linter on untrusted PR content and the attacker to commit a symlinked `.env` (or directory symlink) plus a Compose file referencing a variable name from the link target; vendor-released patch 0.31.0 closes the gap, and no public exploit code or CISA KEV entry was identified at time of analysis.

Docker Path Traversal Compose Lint
NVD GitHub
CVSS 4.0
2.3
EPSS
0.5%
EPSS 0% CVSS 2.3
LOW PATCH Monitor

GitHub Actions workflow-command injection in the compose-lint Action (v0.30.0 and v0.31.0) lets a pull request author forge log annotations and log-folding commands when `sarif-file:` names a file inside a subdirectory. After a failed `mkdir` for that SARIF directory, the Action echoes the resolved path; because that echo falls outside the stop-commands window in v0.31.0 (and v0.30.0 has no such window), a symlink committed by the pull request to a directory whose name embeds a newline and a workflow command such as `::warning::X` is parsed by the runner as a real command. Exposure is narrow - only the Action with a subdirectory SARIF path is affected, while the compose-lint package, pre-commit hook, Docker image and the documented root-level `sarif-file: results.sarif` setup never print this message - and the lint pass/fail verdict is unchanged. The advisory publishes a reproduction procedure but no working exploit code is confirmed, there is no CISA KEV entry, and severity is low (CVSS 4.0 base 2.3; independent assessment CVSS 3.1 AV:N/AC:H/PR:N/UI:R/I:L).

Docker Compose Lint
NVD GitHub
EPSS 0% CVSS 2.3
LOW Monitor

All signals point to a low-priority issue: compose-lint 0.31.0 fails to neutralize Azure Pipelines' ##vso[ logging-command opener in any output path, so an untrusted pull request that places that opener in a Compose value or in a file or directory name can have logging commands such as task.setvariable or task.prependpath issued when compose-lint's output is printed into an Azure Pipelines job log. Exploitation requires a narrow, non-default deployment: the pip package, pre-commit hook, or composelint/compose-lint 0.31.0 Docker image must be run inside an Azure Pipelines job that prints its output over attacker-authored content, and the maintainer did not reproduce the behavior on an Azure Pipelines agent. No public exploit code was identified at time of analysis and there is no KEV listing; impact is limited to command injection into later steps of the same job rather than host code execution.

Information Disclosure Docker Microsoft +2
NVD GitHub
EPSS 0% CVSS 2.3
LOW PATCH Monitor

Workflow-command injection in compose-lint 0.31.0 lets the author of a pull request smuggle GitHub Actions commands into a CI job log through the argument parser's error output, producing annotations, folding or hiding log sections, and similar runner-accepted effects. Only non-default invocations are exposed: the pre-commit hook with an `args:` entry that omits the documented trailing `--`, or the `compose-lint` package / `composelint/compose-lint` Docker image called with a repository path and no preceding `--`. The default pre-commit configuration and the tmatens/compose-lint GitHub Action are not affected, the lint pass/fail verdict is unchanged, and no public exploit was identified at time of analysis; priority is monitor.

Docker Compose Lint
NVD GitHub
EPSS 0% CVSS 2.3
LOW PATCH Monitor

compose-lint 0.31.0 fails to neutralize the GitHub Actions workflow-command opener `##[` inside strings it emits through `--format json` or `--format sarif` on stdout, so a pull request author who embeds that sequence in a Compose value (for example a service named `a##[warning]X`) can have the runner interpret it as a command when CI lints the untrusted PR with output printed to the job log. The result is limited to log and annotation manipulation - creating annotations, folding or hiding log sections - and the lint verdict itself is unchanged; the advisory explicitly notes that writing output to a file, the `tmatens/compose-lint` GitHub Action (which brackets each run with a random `::stop-commands::` token), and the already-sanitized default text report are unaffected. Fixes ship in 0.32.0, where the bracket is escaped as `\u005b` in JSON/SARIF output so the decoded data is identical; no public exploit code or active exploitation is reported and the vulnerability is tracked as monitor priority, consistent with a genuinely low real-world risk profile.

Information Disclosure Docker Compose Lint
NVD GitHub
EPSS 0% CVSS 5.3
MEDIUM PATCH This Month

CI workflow-command injection in compose-lint 0.31.0 lets untrusted Compose values or repository paths masquerade as GitHub Actions commands in the tool's own console output, allowing a pull request to create annotations or fold and hide parts of the job log before a reviewer reads it. The Sanitizer added in the prior release escapes line-leading '::' only after ASCII spaces and tabs, while the Actions runner strips all Unicode whitespace first, so a no-break space or ideographic space followed by '::' slips through into the text report, fix guidance, fix dry-run diff and stderr diagnostics. Only pipelines that run the pip package, the default pre-commit hook, or the composelint/compose-lint:0.31.0 image directly in CI are exposed; the tmatens/compose-lint GitHub Action disables command processing and is unaffected, the lint verdict is never changed, and no public exploit identified at time of analysis beyond the reproduction steps published in the advisory.

Docker Compose Lint
NVD GitHub
EPSS 0% CVSS 2.3
LOW PATCH Monitor

Secret disclosure in compose-lint 0.32.0 allows a pull request author to capture values that a CI job writes into the .env file sitting beside the Compose file. The 20,000-finding early-stop path is evaluated before resolved environment values are replaced with their ${NAME} references, so a document inflated past the limit (an aliased list graded once per service reaches it in a few hundred lines) is reported with the resolved secret still quoted in text, JSON, SARIF and the Code Scanning alerts built from them. The CVSS 4.0 vector marks it unauthenticated (PR:N) but exploitation requires a workflow that both writes secrets into the sibling .env and lints untrusted pull-request content, typically pull_request_target; the advisory notes fork pull requests normally run without secrets, the job log masks registered secrets while uploaded JSON/SARIF artifacts do not, and the run exits 2 unless --allow-partial-coverage is used, though output is written before that exit. No public exploit code was identified at time of analysis, all signals support a monitor priority, and the flaw is an incomplete fix for GHSA-jf3h-8jvx-vcrg that is resolved in 0.33.0.

Information Disclosure Docker Compose Lint
NVD GitHub
EPSS 0% CVSS 2.3
LOW PATCH Monitor

compose-lint 0.2.0 through 0.24.0 follows a project-controlled symlink named as the Compose file - and, from 0.22.0, compose.override.yml or a COMPOSE_FILE entry in a sibling .env, and from 0.23.0 an env_file: target - so a pull request author can point the linter at a file outside the checkout and have one line of it quoted into stderr, JSON errors[] and the SARIF toolExecutionNotifications uploaded to Code Scanning, where that author can read it on a public repository. The disclosure is narrow: the attacker chooses the path but not the quoted line (it is wherever the YAML parser fails), env_file values are never printed (only credential-like key names via CL-0020/CL-0021), a symlink to /proc/self/environ yielded nothing in testing, and pass/fail results are unchanged. Scored CVSS 2.3 (assessed CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N), with a vuln.today decision label of monitor, no CISA KEV listing, and no confirmed working exploit code - the GitHub advisory publishes a reproduction recipe, which is not verified as working exploit code.

Information Disclosure Docker Compose Lint
NVD GitHub
EPSS 0% CVSS 2.3
LOW PATCH Monitor

compose-lint 0.22.0 through 0.31.0 resolves `${VAR}` references from the sibling `.env` into `image:` fields and then quotes the resolved value in CL-0004 and CL-0019 finding text and fix guidance, so a pull request that changes one line to `image: "${DB_PASSWORD}"` can pull a CI-written secret into the job log, JSON output, SARIF artifacts and Code Scanning alerts. The CVSS vectors list PR:N (no privileges required) with UI:P/UI:R (user interaction required), and the pass/fail outcome is unchanged; the leak only matters where a workflow writes secrets into the `.env` beside the Compose file and then lints untrusted PR content, such as a `pull_request_target` workflow, same-repository branch PRs, or a self-hosted runner that retains a populated `.env`. Scored low (CVSS 4.0 base 2.3; independent assessment CVSS 3.1 AV:N/AC:H/PR:N/UI:R/C:L) and tagged monitor, with no CISA KEV entry and no public exploit identified at time of analysis; fixed in 0.32.0.

Information Disclosure Docker Compose Lint
NVD GitHub
EPSS 0% CVSS 2.3
LOW PATCH Monitor

A `.compose-lint.yml` policy file committed as a symlink is followed outside the project directory, and when the external target fails YAML parsing the error message quotes roughly 30 characters around the parse position into stderr, the JSON `errors[]` array, and the SARIF `toolExecutionNotifications` that the GitHub Action uploads to Code Scanning. The linter then exits with status 2, but on a public repository the job log is readable by the pull request author. Affected are the PyPI package from 0.2.0 through 0.31.0, Action tags v0.18.0 through v0.31.0 (earlier tags install the newest, currently affected, release unless `version:` is set), and Docker image tags 0.3.3 through 0.31.0 including `latest`; exploitation needs automatic policy-file discovery without `--config` on a runner handling untrusted pull requests with credentials stored outside the checkout, only a short attacker-unselectable segment is revealed, and no public exploit was identified at time of analysis.

Information Disclosure Docker Compose Lint
NVD GitHub
EPSS 0% CVSS 5.1
MEDIUM PATCH This Month

Line-number desynchronization in compose-lint 0.9.0 through 0.17.0 lets `fix --apply` delete a line the user never selected, including an adjacent security setting such as an internal-only network declaration, while the tool still reports a successful fix and exits 0. A Compose file from an untrusted pull request that places an ambiguous line-break codepoint inside a quoted scalar shifts every later edit by one line, so the applied fix removes the intended target plus the following line; exploitation requires the operator to run `fix --apply` against attacker-influenced input without inspecting the dry-run diff, and the plain `check` command and the GitHub Action (which never runs `fix`) are unaffected. No public exploit code was identified at time of analysis and the vendor has released 0.18.0; this is a developer/CI-tooling integrity issue requiring user interaction, not a compromise of a running service.

Docker Pypi Compose Lint
NVD GitHub VulDB
EPSS 0% CVSS 5.3
MEDIUM PATCH This Month

CI log output spoofing in compose-lint before 0.31.0: a crafted Compose file can echo GitHub Actions or Azure Pipelines workflow-command openers (legacy '##[' anywhere in a line, or '::' at the start of a line) through the tool's text report, letting an attacker forge error/warning annotations, fold the real FAIL verdict into a collapsed log group, or mask selected strings for anyone reading the CI output. The issue affects the compose-lint GitHub Action (0.2.0 through 0.30.0) and the pip package / composelint/compose-lint container image at or below 0.30.0, and only when the default text report format is run against an untrusted Compose file such as one from a pull request; exit codes and pass/fail results are explicitly unaffected, so the impact is confined to misrepresenting what reviewers see. No public exploit code identified at time of analysis, and exploitation is unauthenticated per the CVSS vector but requires a reviewer to actually view the CI log (UI:P/R); version 0.31.0 fixes both the Action and the report escaping.

Docker Microsoft Compose Lint
NVD GitHub
EPSS 0% CVSS 2.3
LOW PATCH Monitor

Symlink-following in the sibling `.env` read of compose-lint 0.22.0 through 0.30.0 lets a pull request that is linted by CI substitute runner file or process-environment contents into finding messages, which are then written to the job log, JSON output, SARIF artifacts and Code Scanning alert text; from 0.28.0 the same missing containment check also applies to an `include:` entry's `project_directory:`. Disclosure only matters where the linting job's environment actually holds useful or secret data, since GitHub normally withholds registered secrets from fork pull requests and masks them in the job log, so the common setup leaks runner metadata and unmasked values only, and the pass/fail verdict is never changed. Exploitation requires the CI job to run the linter on untrusted PR content and the attacker to commit a symlinked `.env` (or directory symlink) plus a Compose file referencing a variable name from the link target; vendor-released patch 0.31.0 closes the gap, and no public exploit code or CISA KEV entry was identified at time of analysis.

Docker Path Traversal Compose Lint
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy