# Is Nextcloud 33.0.10 Docker affected by CVE-2026-111497 (Brotli)?

**URL:** <https://help.nextcloud.com/t/is-nextcloud-33-0-10-docker-affected-by-cve-2026-111497-brotli/251517>\
**Category:** ℹ️ Support\
**Tags:** docker, security, nc33, webdav, cve\
**Created:** [October 25, 2026, 2:39pm UTC](https://help.nextcloud.com/t/is-nextcloud-33-0-10-docker-affected-by-cve-2026-111497-brotli/251517 "2026-10-25T14:39:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sswayd](https://help.nextcloud.com/letter_avatar/sswayd/32/6_449c533f586939b6e5f246632a46421f.png) [@sswayd](https://help.nextcloud.com/u/sswayd)\
**Post date:** [October 25, 2026, 2:39pm UTC](https://help.nextcloud.com/t/is-nextcloud-33-0-10-docker-affected-by-cve-2026-111497-brotli/251517/1 "2026-10-25T14:39:59Z")

</div>

Hello,

I would like to confirm whether the official Nextcloud Docker image is affected by CVE-2026-111497 related to Google Brotli.

Environment:

- Nextcloud Server: 33.0.10

- Docker image: nextcloud:33.0.10-apache

- Base OS: Debian 13 (trixie)

- PHP: 8.4.27

- Apache: 2.4.69

- OpenSSL: 3.5.7-1~deb13u3

Inside the current official Nextcloud image, the installed Brotli package is:

libbrotli1 1.1.0-2+b7

After updating the Debian package indexes:

Installed: 1.1.0-2+b7

Candidate: 1.1.0-2+deb13u1

The candidate comes from Debian trixie-security.

According to Debian Security, the newer 1.1.0-2+deb13u1 package contains the security fix for CVE-2026-111497.

I also confirmed that curl inside the Nextcloud container has Brotli support.

My questions are:

1. Does the Nextcloud security team consider Nextcloud Server 33 or the official Docker image affected by CVE-2026-111497?

2. Is there a remotely reachable code path in Nextcloud where untrusted Brotli-compressed data can reach the vulnerable Brotli decoder?

3. Is an updated/rebuilt nextcloud:33.0.10-apache image containing the Debian security-fixed Brotli package planned?

4. Until the Docker image is rebuilt, is disabling public Internet access recommended, or is the vulnerable library not exploitable through normal Nextcloud HTTP/WebDAV traffic?

5. Would you recommend waiting for the official image rebuild rather than upgrading libbrotli1 manually inside the container?

I prefer to stay with the official Nextcloud Docker image and avoid maintaining a custom image unless necessary.

Thank you.

---

<div class="post-metadata">

**Author:** ![mritzmann](https://help.nextcloud.com/user_avatar/help.nextcloud.com/mritzmann/32/43763_2.png) [@mritzmann](https://help.nextcloud.com/u/mritzmann)\
**Post date:** [October 25, 2026, 2:50pm UTC](https://help.nextcloud.com/t/is-nextcloud-33-0-10-docker-affected-by-cve-2026-111497-brotli/251517/2 "2026-10-25T14:50:18Z")

</div>

> [@sswayd](#):
>
> 1. Is there a remotely reachable code path in Nextcloud where untrusted Brotli-compressed data can reach the vulnerable Brotli decoder?

I don’t know about NC itself, but at least for Apache, [mod\_brotli](https://httpd.apache.org/docs/current/mod/mod_brotli.html) is not enabled by default:

```shell
$ docker run -it nextcloud:33.0.10-apache ls -li /etc/apache2/mods-available/ | grep brotli
137985 -rw-r--r-- 1 root root 64 Dec 5 2025 brotli.load

$ docker run -it nextcloud:33.0.10-apache ls -li /etc/apache2/mods-enabled/ | grep brotli

$

```

But if you’re using the NC [Whiteboard](https://apps.nextcloud.com/apps/whiteboard) app, you should update:

> <https://github.com/nextcloud/whiteboard/issues/1427>
>
> This is more a security issue than a feature request, but...
> 
> The \`Dockerfile\` p…ins \`FROM node:26.12.0-alpine\` in both the build and the runtime stage, so the v2.1.1 image (built 2026-10-22) ships Node 26.12.0. Node's security release of 2026-10-21 fixes CVE-2026-111497 (Brotli decoder out-of-bounds write, rated high, remote code execution), two TLS certificate hostname-check bypasses (CVE-2026-105483, CVE-2026-106069) and CVE-2026-105482 (\`dns.resolve\` NUL truncation) in 26.12.1. \`node:26-alpine\` on Docker Hub has carried 26.12.1 since 2026-10-21.
> 
> Could you bump both \`FROM\` lines to \`node:26.12.1-alpine\` and cut a rebuilt release? Longer term, tracking \`node:26-alpine\` (or letting Renovate bump the exact pin) would pick these up automatically; the websocket server itself is unaffected in default configurations, since it has no body parser, but downstream deployments inherit whatever runtime the image carries (and it means a constant alarm-bell from automations looking for vulnerable deployed packages).

---

<div class="post-metadata">

**Author:** ![faultypacket](https://help.nextcloud.com/user_avatar/help.nextcloud.com/faultypacket/32/80548_2.png) [@faultypacket](https://help.nextcloud.com/u/faultypacket)\
**Post date:** [October 25, 2026, 7:00pm UTC](https://help.nextcloud.com/t/is-nextcloud-33-0-10-docker-affected-by-cve-2026-111497-brotli/251517/3 "2026-10-25T19:00:20Z")

</div>

To answer your second question directly (_“Is there a remotely reachable code path in Nextcloud where untrusted Brotli-compressed data can reach the vulnerable Brotli decoder?”_):

While inbound HTTP/WebDAV requests to Apache are not decoded via Brotli by default (`mod_brotli` is disabled, and even when enabled it only compresses outbound responses unless `BROTLI_DECOMPRESS` is explicitly configured as an input filter), **the reachable code path inside `nextcloud:33.0.10-apache` is outbound HTTP fetching via PHP `ext-curl` / `libcurl4`** :

1. **How `libbrotli1` is reached in Nextcloud:**  
Nextcloud’s HTTP client (`IClientService` wrapping Guzzle) defaults to `decode_content => true`, which sets `CURLOPT_ENCODING = ""` in `libcurl`. Because `libcurl` inside the Debian 13 (Trixie) container is linked against `libbrotli1` (`1.1.0-2+b7`), every server-side HTTP fetch advertises `Accept-Encoding: deflate, gzip, br` and automatically passes any remote server’s `Content-Encoding: br` response stream directly into `libbrotli1`’s Brotli decoder.
2. **Which Nextcloud features trigger that decoder path:**  
Any feature where Nextcloud fetches remote HTTP responses — including **URL link previews** in Talk/Text, **Federated Cloud Sharing (OCM)** lookups, **Calendar WebCal (`.ics`) subscriptions**, or the **News (RSS)** app — allows a remote HTTP endpoint to return a crafted `Content-Encoding: br` payload to `libcurl`.
3. **Practical recommendation until the official image rebuilds:**
  - You do **not** need to take your Nextcloud instance offline, because unauthenticated inbound WebDAV/login requests do not invoke the Brotli decoder.
  - However, because patching `libbrotli1` inside a running container (`docker exec ... apt-get upgrade`) is wiped on container recreation, the cleanest zero-maintenance bridge until the upstream `nextcloud:33.0.10-apache` image layer is rebuilt on Docker Hub is a 2-line `Dockerfile` wrapper in your `compose.yaml`:

```dockerfile
FROM nextcloud:33.0.10-apache
RUN apt-get update && apt-get install -y --only-upgrade libbrotli1 && rm -rf /var/lib/apt/lists/*

```

  - Verify with `docker compose exec app dpkg-query -W libbrotli1` that `1.1.0-2+deb13u1` is active, and restart Apache (`apache2ctl graceful`) so PHP’s loaded `libcurl.so` maps the patched `libbrotlidec.so.1` in memory.
