CVE-2026-123371: compose-lint: A `.compose-lint.yml` symlinked outside the project is read, and a parse error quotes part of the target
Published 2026-11-10 · Updated 2026-11-10 · Also known as GHSA-88f4-frh5-gmcr
Summary
The compose-lint tool suffers from a path traversal vulnerability via symlink following that can leak snippets of sensitive files in error logs. Users of the affected GitHub Action, PyPI package, or Docker image should update to version 0.32.0 or higher.
Who is affected
Affected versions of compose-lint follow symlinks outside the project directory when locating the .compose-lint.yml policy file. If a symlink points to a sensitive file and causes a parse error, the tool leaks a small segment of the target file's content into CI logs, JSON outputs, and SARIF reports. This risk is present in environments where untrusted pull requests can commit symlinks, such as public repositories using CI runners.
Exploitability
The vulnerability is rated as low severity and carries an EPSS score of 0.004, indicating a low probability of exploitation. It is not listed in the CISA Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade the compose-lint package or GitHub Action to version 0.32.0 or later.
- Use the --config flag to explicitly point to a known-safe policy file within the project directory.
- Avoid running compose-lint on untrusted pull requests if the CI environment contains sensitive files outside the project checkout.
How to check your project
- Check the project's dependency manifest or GitHub Actions configuration to verify if the compose-lint version is within the range 0.2.0 to 0.31.0.
- Inspect project repositories for .compose-lint.yml files that are implemented as symlinks.
- Review CI job logs or SARIF reports for error messages containing unexpected file path references or unauthorized file content.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| GitHub Actions | tmatens/compose-lint |
>= 0.2.0, < 0.32.0 | 0.32.0 | uses: tmatens/[email protected] |
| PyPI | compose-lint |
>= 0.2.0, < 0.32.0 | 0.32.0 | python -m pip install 'compose-lint>=0.32.0' |
CVSS 4.0 vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Attack requirements | Present |
| Privileges required | None |
| User interaction | Passive |
| Confidentiality (vulnerable system) | Low |
| Integrity (vulnerable system) | None |
| Availability (vulnerable system) | None |
| Confidentiality (subsequent systems) | None |
| Integrity (subsequent systems) | None |
| Availability (subsequent systems) | None |
Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.
FAQ
What specifically is leaked when an exploit occurs?
If the symlinked target fails to parse, the tool prints approximately 30 characters of the line where the error occurred, potentially revealing parts of configuration files or credentials.
Does this vulnerability affect the Docker image usage?
Yes, tags 0.3.3 through 0.31.0, including 'latest', are affected. Within a container, the tool can access any file present in the container filesystem or any files mounted into it.
Is this a remote code execution vulnerability?
No. The vulnerability is restricted to an information disclosure issue related to file parsing errors and does not provide an attacker the ability to execute arbitrary code.
Original advisory description
References
- WEB https://github.com/tmatens/compose-lint/security/advisories/GHSA-88f4-frh5-gmcr
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-123371
- WEB https://github.com/tmatens/compose-lint/pull/943
- WEB https://github.com/tmatens/compose-lint/commit/e80547d33b2114040c4bc0e34ef210aee51f5058
- PACKAGE https://github.com/tmatens/compose-lint
- WEB https://github.com/tmatens/compose-lint/releases/tag/v0.32.0
Source records: GHSA-88f4-frh5-gmcr (OSV.dev) · EPSS by FIRST, 2026-11-26.