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

State
Published
Severity
2.3 Low
Published
Nov 9, 2026
Updated
Nov 10, 2026
Reserved
Nov 5, 2026

Read the record on cve.org

Description

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.

ProductVersions
compose-lint tmatens>= 0.2.0, < 0.32.0 Affected

Weaknesses

  • CWE-59 Improper Link Resolution Before File Access ('Link Following')
  • CWE-209 Generation of Error Message Containing Sensitive Information

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.