Skip to main content

compose-lint EUVDEUVD-2026-121399

| CVE-2026-125121 MEDIUM
Improper Output Neutralization for Logs (CWE-117)
2026-11-10 GitHub_M GHSA-r7j4-crjv-h467
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 malicious pull request
  2. Delivery
    Embed Unicode-whitespace `::` in Compose value or path
  3. Exploit
    CI runs compose-lint directly, prints to log
  4. Execution
    Runner strips whitespace, interprets workflow command
  5. Impact
    Annotations created or job log folded/hidden

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 ALL of: (1) a target CI pipeline that runs compose-lint 0.31.0 directly - the compose-lint pip package, the pre-commit hook in its default configuration (which passes each changed file path to the tool), or the composelint/compose-lint:0.31.0 Docker image - and prints its text report, fix guidance, fix dry-run diff, or stderr diagnostics to the CI log; (2) that output is NOT wrapped by the tmatens/compose-lint GitHub Action, which disables command processing and is therefore immune; and (3) attacker-controlled input reaching the output - a Compose value, or a repository directory/file path - that begins with Unicode whitespace (e.g. a no-break space U+00A0 or ideographic space) immediately followed by ::. Limiting factors: a plain ASCII space does NOT trigger it (that was already escaped); the lint pass/fail verdict is never changed; and impact is confined to log/workflow-command manipulation (annotations, folding/hiding log sections) rather than code execution or data exfiltration.

Impact

This is a genuine but bounded CI-log/workflow-command injection issue (CWE-117/CWE-150), not a code-execution flaw. 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: network-reachable via a pull request, low complexity, no privileges beyond opening a PR, passive user interaction (CI runs automatically before review), and low integrity impact on both the vulnerable tool output and the subsequent CI runner - with no confidentiality or availability impact, so the 'Information Disclosure' tag does not match the mechanism. No EPSS score and no KEV listing were provided, and the vuln.today decision label is 'this_month' (not act_now/emergency), so there is no signal of active or widespread exploitation; urgency is routine-patch, not emergency. A detailed public PoC reference exists in the GHSA advisory (reproduction with a no-break space before ::notice::), but the input does not confirm it as packaged working exploit code. Key limiting factor, stated in the evidence: only setups that print compose-lint output to a CI log WITHOUT the GitHub Action are affected - the Action disables command processing. Net: a real, worth-patching defense-in-depth issue, but low real-world severity and not a high-CVSS-but-overrated emergency.

Exploit ScenarioDerived

An attacker opens a pull request against a repository whose CI runs compose-lint directly (the package, the pre-commit hook, or the Docker image) and prints its output to the job log without wrapping it in the GitHub Action. The attacker places a no-break space (or other Unicode whitespace) followed by ::notice::... inside a quoted Compose value such as image:, or names a directory with that prefix so it appears in the report's file heading; because compose-lint 0.31.0 only escapes :: after ASCII space/tab while the runner strips all Unicode whitespace, the text is interpreted as a workflow command that can create annotations or fold/hide parts of the job log before anyone reviews the PR. A detailed public PoC reference exists in the advisory; the pass/fail lint result is unchanged.

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 10, 2026

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.

RemediationAI

Vendor-released patch: upgrade to compose-lint 0.32.0 or later (https://github.com/tmatens/compose-lint/releases/tag/v0.32.0), which extends line-start escaping to every character the runner strips before '::' so it holds for both quoted values and file names. If an immediate upgrade is not possible, the vendor's stated workaround for GitHub Actions is to stop using the bare package, hook or image step and instead invoke the tmatens/compose-lint Action, or to bracket the compose-lint step with '::stop-commands::<random token>' and '::<token>::' exactly as the Action does - note that this suppresses all workflow-command processing for the bracketed window, so any legitimate annotations your workflow expects during that span must be emitted outside it, and the token must be random and not derivable from repository content. Teams running the pre-commit hook in CI can also pin or skip the hook until the harness is on 0.32.0, accepting the loss of lint coverage, and pipelines that do not print compose-lint output into a CI log (for example, JSON/SARIF consumers and local developer runs) are not exposed by this route. Advisory: https://github.com/tmatens/compose-lint/security/advisories/GHSA-r7j4-crjv-h467.

Affected VersionsENISA

compose-lint 0.31.0, < 0.32.0

Affected Packages

pypi compose-lint fix: 0.32.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package 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 Python-based Docker Compose security linter that emits a text report, fix guidance, a fix dry-run diff and stderr diagnostics; every string derived from a Compose file or from a caller-supplied path passes through a single sanitizer in _output.py. The flaw is CWE-117 (improper neutralization of output for logs), with the advisory also classifying it as CWE-150 (escape sequence injection), and it stems from an incomplete allow-list in that sanitizer: it escaped '::' at line start only when preceded by ASCII space (0x20) or tab (0x09), but the GitHub Actions runner (2.337.0 in the reproduction) trims all leading Unicode whitespace, including U+00A0 and the ideographic space, before deciding whether a line begins a workflow command. Because file headings, per-file summaries and the fix summary begin with the path exactly as supplied, a directory whose name starts with Unicode whitespace followed by '::' is sufficient - no Compose semantics required - and a quoted Compose value containing '\n' plus such whitespace achieves the same at a line boundary. The effect is confined to the log channel: an attacker-controlled line can be interpreted as ::notice::, ::group::/::endgroup::, ::stop-commands:: and similar runner directives, but the pass/fail result is unchanged, and the GitHub Action wraps each run in a random stop-commands window that neutralizes it. The same pre-1.0 review identified four sibling gaps handled separately (GHSA-hr4h-4c45-v4q4 for JSON/SARIF stdout, GHSA-8v59-qmwv-4p6q for argparse errors, GHSA-m4xg-839g-24cv for Azure Pipelines ##vso[ and GHSA-xcf7-88g6-7xr8 for an Action error message), and 0.32.0 hardens all of them plus the Action's find-based pattern discovery.

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

Remote via PR with no attacker privileges (PR:N) and CI-triggered interaction (UI:R); injected commands affect the CI runner beyond the tool (S:C), yielding only low integrity impact, no confidentiality or availability.

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

1
Patch available
Nov 10, 2026 - 18:03 EUVD

DescriptionCVE.org

compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. In version 0.31.0, compose-lint escapes GitHub Actions workflow-command openers only after ASCII spaces and tabs, while the runner strips all leading Unicode whitespace before interpreting a line. Untrusted Compose values or repository paths beginning with Unicode whitespace followed by :: can therefore reach the text report, fix guidance, the fix dry-run diff, and stderr diagnostics as workflow commands when the package, pre-commit hook, or Docker image runs directly in CI. The GitHub Action is not affected because it disables command processing, and the flaw does not change the lint pass or fail result. This issue is fixed in version 0.32.0.

Threat Intelligence Overview

EPSS Score
0.4%
Top 64% exploitable
Prevalence
Low
niche pre-1.0 Docker Compose linter from a single maintainer, small CI footprint
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

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