Skip to content

chore: pin expat to ^2.8.1-r0 to address CVE-2026-45186#1355

Draft
linear-code[bot] wants to merge 2 commits into
mainfrom
linear/sou-1409-sourcebot-devsourcebot-cve-2026-45186-libexpat-denial-c586
Draft

chore: pin expat to ^2.8.1-r0 to address CVE-2026-45186#1355
linear-code[bot] wants to merge 2 commits into
mainfrom
linear/sou-1409-sourcebot-devsourcebot-cve-2026-45186-libexpat-denial-c586

Conversation

@linear-code

@linear-code linear-code Bot commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Fixes SOU-1409

Trivy flagged libexpat 2.7.5-r0 in the Docker image (CVE-2026-45186, HIGH — denial of service via crafted XML input, fixed in 2.8.1-r0).

Alpine v3.23 already ships the patched expat 2.8.1-r0. The runner stage already runs apk upgrade --no-cache, but the scan still reported the vulnerable version (stale build layer). This explicitly pins expat>=2.8.1-r0 in the apk add line so the patched version is guaranteed and the layer is rebuilt.

linear-code Bot added 2 commits June 21, 2026 13:41
Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com>
Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants