Skip to main content

compose-lint CVE-2026-125123

| EUVDEUVD-2026-121402 LOW
Improper Output Neutralization for Logs (CWE-117)
2026-11-10 GitHub_M GHSA-8v59-qmwv-4p6q
2.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 path
  2. Delivery
    CI runs compose-lint without `--`
  3. Exploit
    argparse echoes path raw to stderr
  4. Execution
    Carriage return starts workflow-command line
  5. Impact
    Runner executes CI log command

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 an affected (non-default) invocation: compose-lint 0.31.0 run over pull-request content with a repository path passed WITHOUT a preceding -- - specifically the pre-commit hook when args: is set without the documented trailing --, or the compose-lint package or composelint/compose-lint Docker image called that way in a CI workflow. An attacker then supplies, via a PR, a file/repository path containing a carriage return plus workflow-command syntax (e.g. :: openers or ##[). Limiting factors that reduce real-world risk: the default pre-commit configuration passes -- and is NOT vulnerable; the tmatens/compose-lint GitHub Action disables command processing around each run and is NOT vulnerable; exploitation depends on CI actually running compose-lint on untrusted PR content (passive user interaction); and impact is confined to CI log/annotation manipulation with the lint pass/fail verdict unchanged.

Impact

This is a low-priority issue that the signals agree on. The input CVSS 4.0 vector scores 2.3 (AV:N/AC:L/AT:P/PR:N/UI:P) with only limited integrity impact (VI:L/SI:L) and no confidentiality or availability impact (VC:N/VA:N), and vuln.today assigns a 'monitor' decision. It is not in CISA KEV (no confirmed active exploitation), and no EPSS score is provided in the input, so widespread-exploitation probability cannot be quantified here. Two attack-limiting factors sit in the vector itself: AT:P reflects that only non-default invocations (compose-lint called without a preceding --) are affected, and UI:P reflects that exploitation rides on a CI run the attacker does not directly control. The impact ceiling is CI log manipulation - annotations, folding/hiding job-log sections, or other runner-accepted workflow commands - not code execution, data theft, or a changed lint verdict. One data conflict to note: the input Tags include 'Information Disclosure', but the CVSS vector sets VC:N (no confidentiality impact) and the mechanism is CI log/workflow-command injection (CWE-117/CWE-150), so that tag mischaracterizes the flaw. Net: a real but minor hardening fix, correctly rated monitor, not an emergency.

Exploit ScenarioDerived

An attacker opens a pull request against a repository whose CI runs compose-lint 0.31.0 without a -- separator (a pre-commit hook with args: lacking the trailing --, or the package/Docker image invoked that way). The PR supplies a repository path containing a carriage return followed by GitHub Actions workflow-command syntax; argparse echoes the rejected path raw to stderr, and the runner treats the carriage return as a new line, letting the embedded command create annotations or fold/hide parts of the job log before anyone reviews the PR. The GHSA advisory includes concrete reproduction steps (on runner 2.337.0), but this is a public PoC reference, not verified packaged exploit code; impact is confined to CI log manipulation and the pass/fail result is unchanged.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.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

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.

RemediationAI

Vendor-released patch: 0.32.0 - upgrade the PyPI package or the composelint/compose-lint image to 0.32.0 or later, where argparse's error messages pass through the same sanitizer as the rest of compose-lint's output (advisory https://github.com/tmatens/compose-lint/security/advisories/GHSA-8v59-qmwv-4p6q, fix in https://github.com/tmatens/compose-lint/pull/945 and commit 542e63126f795564a65c63887ea0dc558a500688, release https://github.com/tmatens/compose-lint/releases/tag/v0.32.0). If an immediate upgrade is not possible, the vendor's documented workarounds are: end the pre-commit hook's args: with -- and place -- before file paths when calling compose-lint directly, which keeps the rejected path out of the raw error path but must be applied consistently to every invocation that processes pull-request content; or, on GitHub Actions, use the tmatens/compose-lint Action, or bracket the compose-lint step with ::stop-commands::<random token> and ::<token>:: as the Action does, which suppresses command processing for the duration of the step but must use a fresh unpredictable token per job. Note that pinning to 0.30.x does not remove exposure, since pre-0.31.0 releases carry the related GHSA-6f4g-xm8v-pgv6 issue instead.

Affected VersionsENISA

compose-lint = 0.31.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

The flaw is improper neutralization of output before it is written to logs (CWE-117), with an escape-sequence-injection component (CWE-150) as recorded in the upstream advisory. compose-lint routes all text derived from a Compose file through a single sanitizer in _output.py that renders control, bidi and invisible code points as \uXXXX and escapes the CI workflow-command openers (##[ anywhere, :: at the start of a line). That sanitizer was added in 0.31.0 for GHSA-6f4g-xm8v-pgv6, but the argument parser's error path was left outside it: when a repository path reaches the arguments without a preceding --, argparse echoes the rejected value raw to stderr. A carriage return in that path is interpreted by the GitHub Actions runner as a line break, so a ::-prefixed command can be positioned at the start of a new line and executed by the runner. Affected artifacts are the PyPI package compose-lint 0.31.0 (CPE cpe:2.3:a:tmatens:compose-lint) and the composelint/compose-lint image at tag 0.31.0, its matching minor tag, and latest while it pointed at 0.31.0; the upstream reproduction on a GitHub-hosted runner (2.337.0) shows compose-lint '--##[warning]X/compose.yml' creating an annotation while the same path after -- creates none. The upstream fix in PR #945 routes argparse messages through the same sanitizer and also closes related routes: Unicode whitespace before a line-leading ::, unescaped --format json / --format sarif output, Azure Pipelines' ##vso[ opener, and a sarif-file: mkdir failure that echoed a symlink-resolved directory outside the Action's stop-commands window.

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 2.3 LOW
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
vuln.today AI 3.1 LOW

Remote via PR but requires a non-default invocation without `--` plus a crafted CR-bearing path (AC:H) and a CI run to trigger (UI:R); only limited CI-log integrity impact, so I:L and C:N/A:N.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:P/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
Present
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

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Rare
obscure pre-1.0 niche Docker Compose linter, tiny deployment 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 LOW
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
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