CVE-2026-123370
Description
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.
Weakness
- CWE-193: Off-by-one Error
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2026-11-14 |
Timeline
- 2026-11-09Published by the CNA17:34 UTC
- 2026-11-10GitHub advisory published (GHSA-65v8-q222-64xx)1 day after publication
- 2026-11-14CISA SSVC decision recorded5 days after publication
Exploit and advisory records
GitHub advisory GHSA-65v8-q222-64xx, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI compose-lint | from 0.9.0 before 0.18.0 | 0.18.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| tmatens compose-lint |
References
- https://github.com/tmatens/compose-lint/commit/c9d453a6a69c076788fe1db05cb54684a616d1de
- https://github.com/tmatens/compose-lint/commit/cbbf886d91347dea9c51b584eb50088e70007d0d
- https://github.com/tmatens/compose-lint/pull/547
- https://github.com/tmatens/compose-lint/pull/549
- https://github.com/tmatens/compose-lint/releases/tag/v0.18.0
- https://github.com/tmatens/compose-lint/security/advisories/GHSA-65v8-q222-64xx
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-123370'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-123370'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-123370'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-123370'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).