# CVE-2026-125125: compose-lint: A symlink in a pull request can issue workflow commands through the compose-lint Action's SARIF-directory error message

- Severity: Low 2.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-11-10T16:55:55.117Z
- Modified: 2026-11-12T22:18:51.470Z
- Also known as: GHSA-xcf7-88g6-7xr8
- Weaknesses: CWE-117, CWE-150
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- tmatens compose-lint: >= 0.30.0, < 0.32.0
- tmatens/compose-lint (GitHub Actions): from 0.30.0 before 0.32.0; from adf00708734b772686337b69831c8e3912fa0ed4 before 2d42617e4c6416f797bbfc6a057950131fa02df3

## Every score

- GitHub_M: CVSS:4.0 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`
- GitHub: CVSS:4.0 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`

## References

- <https://github.com/tmatens/compose-lint/security/advisories/GHSA-xcf7-88g6-7xr8> (web)
- <https://github.com/tmatens/compose-lint/pull/945> (web)
- <https://github.com/tmatens/compose-lint/commit/542e63126f795564a65c63887ea0dc558a500688> (web)
- <https://github.com/tmatens/compose-lint/releases/tag/v0.32.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-125125> (advisory)
- <https://github.com/tmatens/compose-lint> (package)

## Sources

- CVE List: [CVE-2026-125125](https://www.cve.org/CVERecord?id=CVE-2026-125125), CVE Terms of Use, modified 2026-11-10
- GitHub Advisory Database: [GHSA-xcf7-88g6-7xr8](https://github.com/advisories/GHSA-xcf7-88g6-7xr8), CC-BY-4.0, modified 2026-11-10
- NVD: [CVE-2026-125125](https://nvd.nist.gov/vuln/detail/CVE-2026-125125), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-125125 · Whole record: https://cve.day/CVE-2026-125125.json · Rebuilt by cve.day 2026-11-25T22:59:49.794Z
