{"id":"CVE-2026-125122","published":"2026-11-10T16:50:46Z","modified":"2026-11-13T15:25:23Z","title":"compose-lint: Text in a pull request can issue CI workflow commands through compose-lint 0.31.0's JSON and SARIF…","vendor":"tmatens","product":"compose-lint","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.3,"severity":"LOW","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00375,"percentile":0.32311,"provenance":"source"},"cwes":[{"id":"CWE-117","name":"Improper Output Neutralization for Logs"},{"id":"CWE-150","name":"Improper Neutralization of Escape, Meta, or Control Sequences"}],"references":[{"url":"https://github.com/tmatens/compose-lint/security/advisories/GHSA-hr4h-4c45-v4q4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tmatens/compose-lint/pull/945","tags":["x_refsource_MISC"]},{"url":"https://github.com/tmatens/compose-lint/commit/542e63126f795564a65c63887ea0dc558a500688","tags":["x_refsource_MISC"]},{"url":"https://github.com/tmatens/compose-lint/releases/tag/v0.32.0","tags":["x_refsource_MISC"]}],"priority":{"score":8.1,"factors":[{"name":"EPSS percentile","points":6.46},{"name":"CVSS severity","points":1.61}]},"vendorSlug":"tmatens","affectedVersions":[{"vendor":"tmatens","product":"compose-lint","versions":["= 0.31.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-13T15:25:03.488776Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"compose-lint","vulnerableRanges":[">=0.31.0, <0.32.0"],"patched":["0.32.0"],"from":["GHSA-hr4h-4c45-v4q4"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-121401","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tmatens-compose-lint-cve-2026-123369","parents":[{"from":"CVE-2026-123369","to":"CVE-2026-125122","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/compose_lint/_output.py"],"commits":["https://github.com/tmatens/compose-lint/commit/672bd11145621f787c295fb11f3a859cdec1b38d","https://github.com/tmatens/compose-lint/commit/542e63126f795564a65c63887ea0dc558a500688"],"basis":"shared function","functions":["_escape","sanitize_line"]}]}]}}