CVE-2026-123370: medium-severity vulnerability in tmatens compose-lint
compose-lint: `fix --apply` can delete a line the user did not select, including a security setting
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 5.1epss 0.5%
compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. From 0.9.0 until 0.18.0, compose-lint's YAML parser recognizes lone carriage returns and Unicode line separators U+0085, U+2028, and U+2029 as line breaks while fix position conversion counts only newline characters. A pull request can place one of these separators in a quoted value so fix --apply shifts each later edit and deletes the line after the selected target, including an unselected network or other security setting. The resulting Compose file can remain valid, post-edit checks can pass, and the command can report a successful fix even though the dry-run diff was the only place showing the extra deletion. This issue is fixed in version 0.18.0.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N
Affected products
tmatens · compose-lintRelated CVEs — tmatens compose-lint
In the same product, most dangerous first.
CVE-2026-123368LOWcompose-lint: .env read through a symlink outside the project can expose the CI job's environmentEPSS 0.6%CVE-2026-123796LOWcompose-lint: Incomplete fix for GHSA-jf3h-8jvx-vcrg: a run stopped at the finding limit quotes a secret from a CI-generated `.env`EPSS 0.5%CVE-2026-123372LOWcompose-lint: A pull request can make compose-lint quote a secret from a CI-generated `.env` into its findingsEPSS 0.5%CVE-2026-123373LOWcompose-lint: A committed symlink makes compose-lint quote a file from outside the project into its outputEPSS 0.5%CVE-2026-123371LOWcompose-lint: A `.compose-lint.yml` symlinked outside the project is read, and a parse error quotes part of the targetEPSS 0.4%CVE-2026-125121MEDIUMcompose-lint: Text in a pull request can still issue CI workflow commands through compose-lint 0.31.0's outputEPSS 0.4%
References
https://github.com/tmatens/compose-lint/commit/c9d453a6a69c076788fe1db05cb54684a616d1dehttps://github.com/tmatens/compose-lint/commit/cbbf886d91347dea9c51b584eb50088e70007d0dhttps://github.com/tmatens/compose-lint/pull/547https://github.com/tmatens/compose-lint/pull/549https://github.com/tmatens/compose-lint/releases/tag/v0.18.0https://github.com/tmatens/compose-lint/security/advisories/GHSA-65v8-q222-64xx