{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-123370","id":"CVE-2026-123370","title":"compose-lint unintended file deletion in fix position conversion","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 f","descriptionLong":"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.","published":"2026-11-09T17:34:24.026Z","updated":"2026-11-15T02:30:40.163157376Z","reserved":"2026-11-05T20:43:10.420Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":5.1,"vector":"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","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":5.1,"vector":"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","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":5.1,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"medium","source":"GitHub"}],"rating":"medium","products":["tmatens compose-lint"],"affectedProducts":[{"vendor":"tmatens","product":"compose-lint","defaultStatus":null,"versions":[{"version":">= 0.9.0, < 0.18.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"compose-lint","purl":"pkg:pypi/compose-lint","ranges":[">=0.9.0 <0.18.0"],"fixed":["0.18.0"],"advisory":"GHSA-65v8-q222-64xx"}],"cwes":["CWE-193"],"aliases":["GHSA-65v8-q222-64xx"],"references":[{"url":"https://github.com/tmatens/compose-lint/security/advisories/GHSA-65v8-q222-64xx","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/tmatens/compose-lint/pull/547","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/tmatens/compose-lint/pull/549","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/tmatens/compose-lint/commit/c9d453a6a69c076788fe1db05cb54684a616d1de","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/tmatens/compose-lint/commit/cbbf886d91347dea9c51b584eb50088e70007d0d","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/tmatens/compose-lint/releases/tag/v0.18.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123370.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123370","tags":["advisory"]},{"url":"https://github.com/tmatens/compose-lint","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.0033,"epssPercentile":0.26724,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-123370","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123370","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-123370","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-65v8-q222-64xx","ok":true,"note":"GHSA-65v8-q222-64xx"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-123370","ok":true,"note":"scored 2026-11-19"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}