GHSA-88f4-frh5-gmcr: compose-lint: A `.compose-lint.yml` symlinked outside the project is read, and a parse error quotes part of the target

Published Nov 9, 2026
·
Updated

compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. From 0.2.0 until 0.32.0, compose-lint automatically follows a .compose-lint.yml policy-file symbolic link outside the project and includes part of the target line when that external file fails YAML parsing. A pull request can point the policy file at a runner credential file, causing about 30 characters around an attacker-uncontrolled parse position to appear in standard error, JSON errors, and SARIF tool execution notifications uploaded by the GitHub Action. The run exits with an error and the attacker cannot select the exact disclosed line, but public logs or Code Scanning output can reveal part of the target. This issue is fixed in version 0.32.0.

Affected Software

1 affected component
Docker compose-lint>=0.2.0<0.32.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade compose-lint to a version that resolves this vulnerability.

    Fixed in 0.32.0

Event History

Nov 9, 2026
CVE Published
via OSV·05:36 PM
Data Sourced
via OSV·05:36 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which environments are realistically exposed to this issue?

The risk applies where compose-lint processes a repository-controlled .compose-lint.yml symlink and the runner can read files outside the project directory. Exposure is especially relevant for GitHub Action runs whose logs or Code Scanning SARIF results may be visible to untrusted users or publicly accessible.

2

What must an attacker be able to do to trigger disclosure?

An attacker needs to get a pull request processed with a .compose-lint.yml policy-file symlink pointing to a readable external file, such as a runner credential file. The external target must fail YAML parsing for compose-lint to emit a portion of the target line.

3

Is exploitation a full-file disclosure?

No. The parse error exposes roughly 30 characters around a parse position, and the attacker cannot choose the exact line disclosed. The lint run exits with an error, but the excerpt can still appear in standard error, JSON errors, and uploaded SARIF tool-execution notifications.

4

What should teams do if they cannot immediately update?

Avoid running compose-lint on untrusted pull requests where repository content can supply a .compose-lint.yml symlink to files outside the project. Also restrict visibility of workflow logs and Code Scanning output that could contain parse-error excerpts.

5

How can teams determine whether they are affected?

Check whether compose-lint versions from 0.2.0 through before 0.32.0 are used, particularly in GitHub Actions. Review repositories and pull requests for .compose-lint.yml symbolic links and inspect prior compose-lint parse failures in logs, JSON output, and SARIF results.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203