{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-125122","id":"CVE-2026-125122","title":"compose-lint workflow command injection in JSON and SARIF output","description":"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 mi","descriptionLong":"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.","published":"2026-11-10T16:50:46.826Z","updated":"2026-11-15T02:31:01.364464760Z","reserved":"2026-11-09T17:45:35.936Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":2.3,"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","rating":"low","source":"GitHub_M"},"metrics":[{"version":"4.0","score":2.3,"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","rating":"low","source":"GitHub_M"},{"version":"4.0","score":2.3,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"low","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"low","source":"GitHub"}],"rating":"low","products":["tmatens compose-lint"],"affectedProducts":[{"vendor":"tmatens","product":"compose-lint","defaultStatus":null,"versions":[{"version":"= 0.31.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"compose-lint","purl":"pkg:pypi/compose-lint","ranges":[">=0.31.0 <0.32.0"],"fixed":["0.32.0"],"advisory":"GHSA-hr4h-4c45-v4q4"}],"cwes":["CWE-117","CWE-150"],"aliases":["GHSA-hr4h-4c45-v4q4"],"references":[{"url":"https://github.com/tmatens/compose-lint/security/advisories/GHSA-hr4h-4c45-v4q4","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/tmatens/compose-lint/pull/945","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/tmatens/compose-lint/commit/542e63126f795564a65c63887ea0dc558a500688","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/tmatens/compose-lint/releases/tag/v0.32.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125122.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125122","tags":["advisory"]},{"url":"https://github.com/tmatens/compose-lint","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00375,"epssPercentile":0.32311,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-125122","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125122","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-125122","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hr4h-4c45-v4q4","ok":true,"note":"GHSA-hr4h-4c45-v4q4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-125122","ok":true,"note":"scored 2026-11-20"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}