# CVE-2026-125121: compose-lint: Text in a pull request can still issue CI workflow commands through compose-lint 0.31.0's output

Status: published. Published: 2026-11-10. Updated: 2026-11-10.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- tmatens / compose-lint: >= 0.31.0, < 0.32.0 (affected). Source: CNA: GitHub_M

## Severity and prioritization

- CVSS 4.0: 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; source: CNA: GitHub_M

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-117, CWE-150

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/tmatens/compose-lint/security/advisories/GHSA-r7j4-crjv-h467 (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/tmatens/compose-lint/pull/945 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/tmatens/compose-lint/commit/542e63126f795564a65c63887ea0dc558a500688 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/advisories/GHSA-6f4g-xm8v-pgv6 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/tmatens/compose-lint/releases/tag/v0.32.0 (CNA: GitHub_M; x_refsource_MISC)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-125121; retrieved 2026-11-10; source updated 2026-11-10

Revision: 2c3e599bc9246b98885c5d412e0b0b84f0b8ee7fb2f34231a3289a0fe101ff7c

Canonical: https://y2.dev/cve/CVE-2026-125121

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.