Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessOpen pull request with crafted Compose file
-
Exploitcompose-lint prints unsanitized service/env text
-
ExecutionRunner interprets injected ##[ and :: commands
-
ImpactForge annotations and hide FAIL verdict from reviewers
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A09:2025 - Security Logging & Alerting Failures
ASVS 5.0
V16 - Security Logging and Error Handling Log output neutralization
|
| Exploitation Conditions | Exploitation requires that the compose-lint GitHub Action (vulnerable >=0.2.0 to 0.30.0) or the pip/Docker text report (<=0.30.0) be run against an UNTRUSTED Compose file, typically from a pull request, AND that the default TEXT report format is used - switching to '--format json' or '--format sarif' removes the injected openers from the acted-upon output. The injected content must contain the legacy '##[' opener (anywhere in a line) or a line-leading '::' command, placed in Compose text that the report echoes (service names, environment keys, source lines). Limiting factors: the impact is confined to misrepresenting CI log output to human reviewers - the exit code and pass/fail result are explicitly unaffected; a reviewer must actually view the CI log for the deception to matter (UI:P); and running the Docker image directly, or the Action after the 0.31.0 stop-commands bracketing, is not exploitable. The only complete fix per the vendor is updating to 0.31.0; documented workarounds are bracketing the step with '::stop-commands::<token>'/'::<token>::' or using the json/sarif formats for untrusted PRs. |
| Impact | This is a genuine but modest-severity CI output integrity issue, not a system-compromise bug. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P, VC:N/VI:L/VA:N, SC:N/SI:L/SA:N, score 5.3) is internally consistent with the description: the attacker-controlled input (a Compose file in a pull request) reaches the tool over the network, needs no privileges, and produces only low integrity impact on the vulnerable system and the subsequent CI runner, with no confidentiality or availability impact. No EPSS score, no CISA KEV entry, and no 'POC: confirmed' signal are present in the input, so there is no evidence of active exploitation or mass scanning; the vuln.today Decision label is 'this_month' (routine patch priority), which aligns with a low-to-moderate real-world urgency rather than an emergency. The key limiting signal is that the advisory and CVSS agree the exit code and pass/fail verdict are unaffected - the attack misrepresents CI output to human reviewers but cannot flip a FAIL to a PASS by itself. One under-tested escalation exists: the advisory notes the deprecated '::set-output' command is still honored and it was NOT tested whether a Compose file could override the Action's own 'sarif-written' output (which gates the SARIF upload step); if it can, the impact could extend beyond cosmetics. Bottom line: a real, confirmed-by-vendor integrity/log-injection flaw worth patching on a normal cycle, but not a drop-everything priority. |
| Exploit ScenarioDerived | An external contributor opens a pull request whose docker-compose file embeds workflow-command openers in service names or environment keys (e.g. a key named '##[error]...' or a service '##[group]svc'). When the compose-lint GitHub Action lints the PR and prints its text report, the GitHub Actions runner acts on the injected '##[...]' and line-leading '::' sequences, forging error/warning annotations, folding the real FAIL verdict into a hidden log group, or masking log text. A public reproduction (YAML snippet) and a confirmed test run are documented in the GHSA advisory, but no packaged, weaponized exploit is referenced. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
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.
RemediationAI
Vendor-released patch: update compose-lint to 0.31.0 - for workflows, change the Action reference to actions/tmatens/compose-lint@0.31.0 (or a pinned SHA at that release), and for containers pull composelint/compose-lint:0.31.0, since 'latest' and '0.31' already resolve there; the fix commit is 672bd11145621f787c295fb11f3a859cdec1b38d (PR https://github.com/tmatens/compose-lint/pull/918) and the advisory is https://github.com/tmatens/compose-lint/security/advisories/GHSA-6f4g-xm8v-pgv6. The vendor states that updating is the only complete fix; two documented workarounds exist for teams that cannot upgrade immediately. The first, scoped to your own workflow, wraps the compose-lint step in '::stop-commands::<random token>' and '::<random token>::' so the runner processes no command from the tool's output - this requires the token to be genuinely random and unguessable and must bracket stderr diagnostics as well as stdout, and it does nothing for invocations outside that workflow. The second is to lint untrusted pull requests with '--format json' or '--format sarif' instead of the text report, which removes the injected openers from the acted-upon output at the cost of the human-readable report reviewers would otherwise see; note that the deprecated 'set-output' command being still honored means the stop-commands bracketing, not format switching alone, is what the vendor relies on inside the Action.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
compose-lint is a Docker Compose security linter that renders a human-readable text report containing attacker-influenced strings taken directly from the Compose file: service names (including quoted keys), environment variable keys, and echoed source lines. The root cause is CWE-117 (improper neutralization of output for logs), with the advisory also citing CWE-150 (escape sequence injection): the report's single sanitizer in src/compose_lint/_output.py escaped control characters, bidi and invisible code points but did not neutralize CI command openers. GitHub Actions' runner treats '::name key=value::data' at the start of a line (after optional whitespace) as a workflow command, and the legacy '##[name]data' form anywhere within a line; Azure Pipelines parses the same '##[' syntax. Because the deprecated 'set-output' log command has been postponed for removal and is still honored, the advisory notes a '::set-output' line from a Compose file was confirmed processed on a GitHub-hosted runner, though whether it can override the Action's own 'sarif-written' output (which gates the SARIF upload step) was not tested. The 0.31.0 fix has two layers: the Action brackets each compose-lint invocation (stdout report and stderr diagnostics, which can quote the document) with a random, unguessable '::stop-commands::<token>' / '::<token>::' pair, and the sanitizer gains a _defuse_commands step that rewrites '##[' to '##\u005b' and a line-leading '::' to '\u003a' with the same visible escape used for control characters, covering Azure Pipelines as well. The trigger requires the text report path (the sanitizer is not on the JSON or SARIF path), and running the container image directly in a CI step bypasses the Action's stop-commands bracketing, leaving only the escaping as protection.
Know when Docker gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N
Attacker-controlled PR Compose file arrives over the network with no privileges (AV:N/AC:L/PR:N); a reviewer must view the CI log (UI:R); injected commands affect the separate CI runner (S:C) with only low integrity, no confidentiality or availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. Prior to 0.31.0, compose-lint prints attacker-controlled service names, environment keys, file lines, and other Compose text without neutralizing GitHub Actions and Azure Pipelines workflow-command openers. When a workflow processes a pull request, legacy ##[ commands or a line-leading double-colon command can create false annotations, hide log regions, mask selected strings, or invoke other commands recognized by the runner. The affected text report paths do not alter the compose-lint exit code or pass or fail result, but they can misrepresent the CI output presented to reviewers. This issue is fixed in version 0.31.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
EUVD-2026-120126
GHSA-6f4g-xm8v-pgv6
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB