Skip to main content

compose-lint CVE-2026-125122

| EUVDEUVD-2026-121401 LOW
Improper Output Neutralization for Logs (CWE-117)
2026-11-10 GitHub_M GHSA-hr4h-4c45-v4q4
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 malicious pull request
  2. Delivery
    Embed ##[ opener in Compose value
  3. Exploit
    CI runs compose-lint JSON/SARIF to stdout
  4. Execution
    Runner interprets workflow command in log
  5. Impact
    Forge annotations or hide log sections

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

Requires a CI pipeline running compose-lint exactly 0.31.0 - via the pip package, the pre-commit hook, or the composelint/compose-lint:0.31.0 Docker image - invoked with --format json or --format sarif and its output printed to the job log on stdout; the attacker then submits a pull request containing the ##[ opener (e.g. a service name a##[warning]X) in a Compose value, and CI lints that untrusted PR before human review. Limiting factors per the advisory: NOT exploitable when output is written to a file (which SARIF upload requires), NOT exploitable via the tmatens/compose-lint GitHub Action (it brackets each run with a random ::stop-commands:: token), and the default text report is already sanitized. The flaw does not change the lint pass/fail result.

Impact

All signals point to genuinely low real-world risk. The supplied CVSS 4.0 vector scores 2.3 (Low) and the vuln.today Decision label is 'monitor' - neither act_now nor emergency. No KEV status and no EPSS score are present in the input, so there is no indication of active or widespread exploitation; status is 'no public exploit identified at time of analysis,' though the GHSA advisory documents concrete reproduction steps (a service named a##[warning]X linted with --format json/sarif to stdout on runner 2.337.0). Impact is integrity-only and bounded: VC:N/VA:N with VI:L and subsequent-system SI:L, reflecting the ability to forge annotations or fold/hide parts of a CI job log - not code execution, data theft, or any change to the lint pass/fail verdict. The AT:P attack requirement and UI:P in the vector are consistent with the described precondition that the victim CI must print JSON or SARIF to stdout (not the default text report, and not file output) using the vulnerable package, pre-commit hook, or Docker image rather than the GitHub Action. No signals conflict here; the main caveat is that EPSS and POC fields were simply absent from the input rather than confirmed negative.

Exploit ScenarioDerived

An attacker opens a pull request to a repository whose CI runs compose-lint 0.31.0 with --format json or --format sarif output printed to the job log, placing the ##[ workflow-command opener inside a Compose value such as a service name (a##[warning]X). When CI lints the untrusted PR before review, the GitHub Actions runner acts on the opener mid-line, letting the attacker create annotations or fold/hide sections of the job log. No weaponized exploit is published, but the advisory provides exact reproduction, and the low-complexity network vector (AV:N/AC:L) means crafting the malicious PR is trivial once the preconditions hold.

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

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.

RemediationAI

Upgrade to compose-lint 0.32.0 or later (release notes: https://github.com/tmatens/compose-lint/releases/tag/v0.32.0), which escapes ##[ inside strings as \u005b in JSON and SARIF output so the decoded data is unchanged; the underlying change is in https://github.com/tmatens/compose-lint/pull/945 and commit 542e63126f795564a65c63887ea0dc558a500688, and container users should pull a rebuilt composelint/compose-lint image past 0.31.0. Where upgrading is not immediate, the advisory's workarounds are to redirect --format json and --format sarif output to a file instead of the job log (SARIF upload already requires a file, so this costs nothing in that workflow), or, on GitHub Actions, invoke the tool through the tmatens/compose-lint Action, or bracket the compose-lint step with ::stop-commands::<random token> and ::<token>:: exactly as the Action does - noting that the bracket only protects command processing inside that window and must use a token the PR author cannot predict, and that the pre-commit hook and Docker image paths still emit raw output and therefore need the file-redirect or stop-commands treatment until upgraded.

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

GitHub Actions runners parse job log lines for workflow commands, and the legacy opener ##[ is recognized even mid-line - which is why serialized JSON or SARIF, where attacker-controlled Compose values appear as string literals, does not inherently prevent command interpretation. This is CWE-117 (improper neutralization of output for logs), with CWE-150 (escape sequence injection) also assigned; essentially an output-encoding defect where untrusted data from a repository-controlled file is written to a log sink without escaping the sink's control syntax. Version 0.31.0 had introduced a single sanitizer in _output.py for the text report after GHSA-6f4g-xm8v-pgv6, but the JSON and SARIF code paths never passed through it, so ##[ survived intact when those formats were printed to stdout from the pip package, the pre-commit hook, or the composelint/compose-lint:0.31.0 Docker image (which produces byte-identical output to the package). The 0.32.0 fix routes JSON and SARIF through the same escaping, emitting \u005b; the accompanying changelog also closes related routes (Unicode whitespace before line-leading ::, raw argparse errors on stderr, Azure ##vso[) and hardens the Action's pattern: discovery and sarif-file: error messaging. Per the independent assessment, exploitation requires a CI pipeline running exactly 0.31.0 with JSON/SARIF printed to the log and linting an untrusted PR before review; the assessed vector is AV:N/AC:H/PR:N/UI:R/S:C with low integrity impact only and no confidentiality or availability impact. The trigger beyond this (specific parser behavior of any given runner version) is as described in the advisory's reproduction on GitHub-hosted runner 2.337.0.

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.4 LOW

Remote via PR (AV:N, PR:N) but depends on non-default JSON/SARIF-to-stdout CI config and a CI run (AC:H, UI:R); injection crosses into the runner (S:C) with only limited log/annotation integrity impact (I:L).

3.1 AV:N/AC:H/PR:N/UI:R/S:C/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 does not sanitize the ##[ workflow-command opener inside strings written by --format json or --format sarif to stdout. A pull request can place that opener in a service name or other Compose value, and the GitHub Actions runner recognizes it even in the middle of a serialized line when the package, pre-commit hook, or Docker image prints JSON or SARIF to the job log. Writing the output to a file and using the compose-lint GitHub Action are not affected, 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 68% exploitable
Prevalence
Rare
obscure pre-1.0 open-source Docker Compose linter, tiny 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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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