# 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

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

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

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

## Severity and prioritization

- 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; source: CNA: 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/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; source: NVD: security-advisories@github.com

- 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-xcf7-88g6-7xr8 (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/tmatens/compose-lint/releases/tag/v0.32.0 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/tmatens/compose-lint/commit/542e63126f795564a65c63887ea0dc558a500688 (security-advisories@github.com)

- https://github.com/tmatens/compose-lint/pull/945 (security-advisories@github.com)

- https://github.com/tmatens/compose-lint/releases/tag/v0.32.0 (security-advisories@github.com)

- https://github.com/tmatens/compose-lint/security/advisories/GHSA-xcf7-88g6-7xr8 (security-advisories@github.com)

## Provenance

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

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-125125; retrieved 2026-11-10; source updated 2026-11-10

Revision: ca11d14d5ed656ad23f23d368a0f5b59a63312286f78a92f889437681c1de80a

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

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