Skip to main content

compose-lint CVE-2026-123369

| EUVDEUVD-2026-120126 MEDIUM
Improper Output Neutralization for Logs (CWE-117)
2026-11-09 GitHub_M GHSA-6f4g-xm8v-pgv6
5.3
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Open pull request with crafted Compose file
  2. Exploit
    compose-lint prints unsanitized service/env text
  3. Execution
    Runner interprets injected ##[ and :: commands
  4. Impact
    Forge 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

compose-lint < 0.31.0

Affected Packages

pypi compose-lint fix: 0.31.0
pypi tmatens/compose-lint fix: 0.31.0

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

Vendor (GitHub_M) PRIMARY 5.3 MEDIUM
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
vuln.today AI 4.7 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 09, 2026 - 18:02 EUVD
CVE Published
Nov 09, 2026 - 17:32 cve.org
MEDIUM 5.3

DescriptionCVE.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

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Low
niche open-source Docker Compose linter, small CI-integration footprint
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

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