Skip to content

[BUG] CVE-2026-42055. When will there be 1.30.3+ or 1.31.2+ part of this image? #616

Open

Description

@godfuture

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Current swag images have nginx releases 1.28.x included which are effected by CVE-2026-42055. It takes at least nginx 1.30.3+ or 1.31.2+ to fix the issue.

Expected Behavior

swag images are being updated with nginx versions fixing CVE-2026-42055.

Steps To Reproduce

  1. Create swag container
  2. Execute nginx -v inside container

Environment

CPU architecture

x86-64

Docker creation

image: lscr.io/linuxserver/swag:latest

Container logs

nginx version: nginx/1.28.3

Activity

  1. github-actions commented on Jun 18, 2026

    @github-actions

    Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

  2. aptalca commented on Jun 18, 2026

    @aptalca
    Member

    It's up to alpine, and they usually patch rather than update

  3. godfuture commented on Jun 18, 2026

    @godfuture
    Author

    It's up to alpine, and they usually patch rather than update

    I dont understand what release is being installed in underlying alpine nginx image:
    https://github.com/linuxserver/docker-baseimage-alpine-nginx/blob/3.22/Dockerfile#L15

    It notes only nginx. Why the release version is missing? Or is determined by baseimage-alpine:3.22?

  4. Roxedus commented on Jun 18, 2026

    @Roxedus
    Member

    Latter.

  5. thespad commented on Jun 18, 2026

    @thespad
    Member

    Alpine will not make a major version change to nginx within an existing release, they will backport the security fix to 1.28 and when they do it will trigger a new build of the base image, which will then trigger a new build of the swag image.

  6. j0nnymoe commented on Jun 18, 2026

    @j0nnymoe
    Member

    It's up to alpine, and they usually patch rather than update

    I dont understand what release is being installed in underlying alpine nginx image: https://github.com/linuxserver/docker-baseimage-alpine-nginx/blob/3.22/Dockerfile#L15

    It notes only nginx. Why the release version is missing? Or is determined by baseimage-alpine:3.22?

    As a side note, you can see the versions for everything in the container here: https://github.com/linuxserver/docker-swag/blob/master/package_versions.txt

  7. C0nw0nk commented on Jun 20, 2026

    @C0nw0nk

    defaults nginx config values make swag nginx not vulnerable to this unless you have put those nginx config values in place.

    The ignore_invalid_headers directive is set to off (default is on)
    
    The large_client_header_buffers directive is configured with a per-buffer size large enough to accept multi-megabyte header lines (default of 4 buffers of 8K each blocks the attack)
    

    You can test via https://www.ssllabs.com/ssltest/analyze.html?d=linuxserver.io&s=178.62.84.203

    The test will check if your domain is exposed to certain CVE exploits HTTP3/QUIC etc.

  8. C0nw0nk commented on Jun 20, 2026

    @C0nw0nk

    Also inline with other info you can check.

    CVE-2026-42530 - Disable HTTP/3
    CVE-2026-42055 - Remove the ignore_invalid_headers off directive from the configuration, or reduce the large_client_header_buffers directive size below 2 MB
    

    https://thehackernews.com/2026/06/f5-patches-two-critical-nginx-open.html

    Theres a few good sources on this but it should be expressed that by default ignore_invalid_headers on; is on and this really does impact only those running custom nginx configurations where they are not using default/recommended values.

    I did add my own security in the way of a WAF and Anti-DDoS script to SWAG that anyone wants to checkout.

    https://github.com/C0nw0nk/Nginx-Lua-Anti-DDoS/wiki/Linuxserver-Docker-SWAG-usage

  9. h9419 commented on Jul 22, 2026

    @h9419

    CVE-2026-42533 also affects current swag images

    For the time being, I have to exec into a running swag container, edit /etc/apk/repositories to alpine version 3.24, apk update, apk upgrade then restart the container to have a version of Nginx without known critical CVEs.

  10. thespad commented on Jul 22, 2026

    @thespad
    Member

    a) The fix was backported less than 48 hours ago, the package checks will pick it up and build it in short order
    b) Are you running on a host with ASLR disabled? If not then you're not affected by that vulnerability. If so then why on earth would you do that it's 2026?

  11. C0nw0nk commented on Jul 22, 2026

    @C0nw0nk

    CVE-2026-42533 also affects current swag images

    For the time being, I have to exec into a running swag container, edit /etc/apk/repositories to alpine version 3.24, apk update, apk upgrade then restart the container to have a version of Nginx without known critical CVEs.

    The issue is related to CVE-2026-42055 as the title shows.

    You have quoted CVE-2026-42533 what is a different CVE perhaps open a new issue / report for this ?

  12. LinuxServer-CI commented on Aug 21, 2026

    @LinuxServer-CI
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions