cve.bz

CVE-2026-123372 compose-lint: A pull request can make compose-lint quote a secret from a CI-generated `.env` into its findings

2.3 lowEPSS 0.5%Fix available

Low (2.3) in tmatens compose-lint. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in compose-lint 0.32.0.

On this page
compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. From 0.22.0 until 0.32.0, compose-lint substitutes values from a sibling .env file into image fields and quotes the resolved value in CL-0004 and CL-0019 finding messages and fix text. In a workflow that writes secrets into that file and then lints untrusted pull-request content, an attacker can reference a secret variable so its whole value reaches the job log, JSON output, SARIF artifacts, and Code Scanning alerts. Fork pull requests normally lack secrets, so exploitation requires a secret-bearing workflow such as pull_request_target, same-repository branches, or a retained .env on a self-hosted runner, and the pass or fail result is unchanged. This issue is fixed in version 0.32.0.

Severity

CVSS 4.0

2.3 low
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
EPSS
0.5% (unchanged from 0.5% a week ago) estimated probability of exploitation activity in the next 30 days; 38th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-11-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
CWE-532 Insertion of Sensitive Information into Log File
OWASP Top 10
A01:2025 Broken Access Control, A09:2025 Logging & Alerting Failures
Published
Modified
Assigned by
GitHub_M (CNA)
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • compose-lint (PyPI): fixed in 0.32.0
  • tmatens/compose-lint (GitHub Actions): fixed in 0.32.0

Ask an AI about this CVE

Show the promptExplain CVE-2026-123372 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-123372?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-123372?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-123372 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
tmatens compose-lint>= 0.22.0, < 0.32.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jf3h-8jvx-vcrgPyPIcompose-lint>=0.22.0 <0.32.00.32.0
GHSA-jf3h-8jvx-vcrgGitHub Actionstmatens/compose-lint>=0.22.0 <0.32.00.32.0

Attack patterns (CAPEC)

  • CAPEC-215 Fuzzing for application mapping Likelihood: High · Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

History

  1. The NVD deferred its analysis

Changes since this site first stored the record. The same for every record: /api/public/changes.

References

Check your stackJSON