Docker Compose Security Linter Vulnerability in Compose-lint by TMatens
CVE-2026-123372

2.3LOW

Key Information:

Vendor

Tmatens

Vendor
CVE Published:
9 November 2026

What is CVE-2026-123372?

The Compose-lint tool, a security linter for Docker Compose files, has a vulnerability that allows dangerous misconfigurations to potentially expose sensitive secrets. When using versions 0.22.0 to 0.32.0 of the tool, it improperly substitutes values from a sibling .env file into image fields. If an untrusted pull request references a secret variable, the full value can inadvertently appear in job logs, JSON output, SARIF artifacts, and Code Scanning alerts. This risk is especially pronounced in workflows that utilize specific triggers such as pull_request_target or houses secrets on a self-hosted runner. The issue has been resolved in version 0.32.0.

Affected Version(s)

compose-lint >= 0.22.0, < 0.32.0

References

CVSS V4

Score:
2.3
Severity:
LOW
Confidentiality:
Low
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.