CVE-2026-125125 compose-lint: Workflow command injection through SARIF-directory errors triggered by pull request symlinks

Low 2.3 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-125125?

CVE-2026-125125 is a low-severity vulnerability in tmatens compose-lint, published on 10 Nov 2026.

Official description

compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. From version 0.30.0 until 0.32.0, the compose-lint GitHub Action prints the resolved directory from a failed sarif-file subdirectory creation without effective command suppression. Version 0.30.0 has no stop-commands window, while version 0.31.0 prints this error outside its stop-commands window. A pull request can place a committed symlink on that path to a directory whose name contains a newline followed by a workflow command, causing the SARIF-directory error to issue commands in the job log. Only the Action with sarif-file pointing into a subdirectory is affected; a workspace-root SARIF file, the compose-lint package, the pre-commit hook, and the Docker image do not expose this message. This issue is fixed in version 0.32.0.

Weakness: CWE-150, CWE-117

Which versions are affected by CVE-2026-125125?

1 open source package ship an affected version, including tmatens/compose-lint.

PackageAffectedFixed in
tmatens/compose-lint GitHub ActionsFrom 0.30.00.32.0

How do I fix CVE-2026-125125?

Upgrade tmatens/compose-lint to 0.32.0 or later.

Is CVE-2026-125125 being exploited?

There is no known exploitation of CVE-2026-125125 in the wild and no public exploit code.

Sources

Also known as GHSA-xcf7-88g6-7xr8.

Is CVE-2026-125125 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free