Skip to content
Oday Bakkour
Back to Knowledge Hub

Java4Shell Hits Keycloak and Kafka, PostgreSQL 19 Ships: Dev Stack Release Audit, Week of November 16, 2026

Part of Dev Stack Release & Security Audit, a recurring series.

Oday Bakkour profile photo
Oday Bakkour
12 min read
Share

Executive Summary

This edition covers releases from Monday, November 16 to Sunday, November 22, 2026. The biggest problem this week sits under the JVM rather than in any one framework, so start with that.

  • Patch every x86-64 Java runtime now. Java4Shell (CVE-2026-114938), disclosed November 17, is a memory-corruption bug in OpenJDK's accelerated Base64 decoder, rated CVSS 4.0 9.2. The researchers demonstrated pre-auth RCE against Keycloak and post-auth RCE against an Apache Kafka broker. Fixed builds are OpenJDK 17.0.21.1, 21.0.13.1 and 25.0.5.1. The interim mitigation is -XX:-UseBASE64Intrinsics.
  • Keycloak published a Java4Shell admin guide. The images 26.8.2-1 and 26.8.2-2 bundle a vulnerable JDK. Pull 26.8.2-3 (also tagged 26.8 and latest).
  • Laravel 13.43.0 and 12.73.0 (November 17) fix about nine security issues, including two more signed URL expiration bypasses, two XSS bugs and an Eloquent mass-assignment guard bypass.
  • MongoDB Node.js driver 7.9.1 fixes CVE-2026-129929 and CVE-2026-129930: NUL bytes in PLAIN credentials and credentials leaking into errors and logs.
  • PostgreSQL 19 is GA (November 19). The official Docker image now points postgres:latest at 19, so an unpinned image will fail to start on an existing 18 data directory. JIT is off by default and RADIUS auth is gone.
  • Breaking changes to review: Docker Engine 29.10.0 changes the insecure-registry defaults, SvelteKit's adapter-cloudflare 9.0.0 drops Cloudflare Pages, and NestJS 12.6.0 changes shutdown and Fastify defaults.
  • Better Auth 1.7.26 and 1.7.27 carry OAuth and refresh-token hardening. 1.7.27 can change your JWT alg and kid.

1. Act now: Java4Shell (CVE-2026-114938)

What it is

Java4Shell is an out-of-bounds write in OpenJDK's x86-64 Base64 decoder intrinsic. A crafted Base64 string (64 A characters followed by =, or 128 on JDK 17) can leak heap memory or lead to remote code execution, and the attacker needs no credentials. The researchers rate it 9.2 Critical under CVSS 4.0. Red Hat tracks it as RHSB-2026-018 and also rates it Critical.

A host is exposed only when all three of these are true:

  1. It runs an unpatched OpenJDK 17.0.6 or later, including 21 and 25, or a build derived from it such as Temurin, Corretto or Oracle Java SE. OpenJDK 8 and 11 are not affected, according to Red Hat.
  2. The CPU is x86-64 and exposes AVX-512 VBMI to the JVM. ARM64, including Graviton, is not affected.
  3. Base64 intrinsics are on, which is the default.

The researchers showed pre-auth RCE against Keycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate. They also showed post-auth RCE against an Apache Kafka broker, Solr and Elasticsearch, plus sample apps on Spring Boot and Struts. In this series' stack, that puts Keycloak and Kafka first in line, and any Java sidecar you run (Debezium, Kafka Connect, Elasticsearch) right after them.

Check your exposure

check-java4shell.sh
# 1. Does the CPU expose AVX-512 VBMI? No output means not known to be affected.
grep -m1 '^flags' /proc/cpuinfo | grep -qw avx512vbmi && echo 'AVX-512 VBMI available'

# 2. Which JDK actually starts the service?
docker exec <keycloak-container> java -version
kubectl exec <kafka-pod> -- java -version

Cloud VMs on recent Intel Xeon (Ice Lake and newer) and AMD Zen 4 or newer usually expose VBMI, so run the check on every node, including failover and autoscaled nodes.

Mitigate today, patch this week

Fixed runtimes are OpenJDK 17.0.21.1, 21.0.13.1 and 25.0.5.1. Oracle and Red Hat shipped on disclosure day, and the official eclipse-temurin images were rebuilt with 25.0.5.1 on November 20. Check Temurin's tracking issue for the other platforms.

Until every JVM runs a fixed build, disable the vulnerable path. Red Hat prefers this flag because it keeps the other AVX-512 optimizations:

docker-compose.yml
services:
  keycloak:
    image: quay.io/keycloak/keycloak:26.8.2-3
    environment:
      JAVA_OPTS_APPEND: "-XX:-UseBASE64Intrinsics"
  kafka:
    image: apache/kafka:4.4.0
    environment:
      # Kafka's start scripts read KAFKA_OPTS for extra JVM flags
      KAFKA_OPTS: "-XX:-UseBASE64Intrinsics"

The other option is -XX:UseAVX=2, which turns off AVX-512 entirely. Use it only on x86-64, because an ARM JVM will not start with it.

Then confirm the running process, not just the environment variable:

verify.sh
jcmd <pid> VM.flags -all | grep -F UseBASE64Intrinsics
# expect: bool UseBASE64Intrinsics = false {product} {command line}

Keycloak specifics

The Keycloak guide says the x86-64 images 26.8.2-1 and 26.8.2-2 bundle a vulnerable OpenJDK 21.0.13. The rebuilt images use Red Hat OpenJDK 21.0.13.1, with the tags latest, 26.8, 26.8.2 and 26.8.2-3. Two details are easy to miss:

  • The Keycloak Operator runs its own JVM on OpenJDK 25 and reads JDK_JAVA_OPTIONS, not JAVA_OPTS_APPEND. Patch or flag it separately.
  • Mitigating the Operator does not configure the Keycloak pods it manages.
keycloak-cr.yaml
apiVersion: k8s.keycloak.org/v2beta1
kind: Keycloak
metadata:
  name: example-kc
spec:
  unsupported:
    podTemplate:
      spec:
        containers:
          - name: keycloak
            env:
              - name: JAVA_OPTS_APPEND
                value: "-XX:-UseBASE64Intrinsics"

Red Hat build of Keycloak 26.4 and 26.6 or later are affected, and so is RH-SSO 7.6 on OpenJDK 17. Keycloak's tracking issue #55293 has the rest.

Kafka specifics

As of November 22, the apache/kafka image has not been rebuilt since 4.4.0 on October 22. Assume it ships a vulnerable JDK until Apache publishes an update. Set KAFKA_OPTS as shown above, or build a thin image on a fixed Temurin base. The demonstrated Kafka exploit needs authentication, so also review who can authenticate to your brokers.

2. Patch this week: framework and driver advisories

Laravel 13.43.0 and 12.73.0

Both lines shipped on November 17. The 13.43.0 release includes these security fixes:

  • Temporary signed URLs could still bypass expiration, through numeric parameters smuggled in the query fragment and through array-valued expires parameters. This follows the fix in 12.72.0 last week.
  • XSS in the debug page's "copy request URL" feature and in Blade component attributes.
  • An Eloquent mass-assignment guard bypass caused by inconsistent normalization of mutator attribute names.
  • A DoS from unbounded $ref chains in the JSON Schema deserializer.
  • A file validation bypass through empty input field collisions.
  • Forge and Vapor detection now checks environment variables instead of trusting the Host header.

12.73.0 carries the same fixes, plus validation of dynamic component, slot and attribute names and possessive quantifiers in the decimal rule.

terminal
composer update laravel/framework --with-all-dependencies
php artisan --version   # expect 13.43.0 or 12.73.0

If you rely on $guarded instead of $fillable together with attribute mutators, upgrade before anything else on this list.

MongoDB Node.js driver 7.9.1

mongodb 7.9.1 (November 19) fixes two CVEs:

  • CVE-2026-129929: a NUL byte in PLAIN (LDAP) credentials could change the identity the server authenticates. MongoClient now throws on it. Other auth mechanisms are not affected.
  • CVE-2026-129930: affects 4.0.0 up to 7.9.1. Credentials and connection-string values could show up in cleartext in error messages and in logged client objects. They now print as <redacted> in console.log, util.inspect and JSON.stringify.

Connection-string error messages changed, so update any code that matches on their text. If you cannot upgrade yet, keep credentials out of the URI:

db.ts
import { MongoClient } from "mongodb";

const user = process.env.MONGO_USER!;
const pass = process.env.MONGO_PASS!;
if (/\0/.test(user + pass)) throw new Error("NUL byte in Mongo credentials");

// Pass credentials via options, not the connection string, until you are on 7.9.1
const client = new MongoClient(process.env.MONGO_HOST_URI!, { auth: { username: user, password: pass } });

Mongoose users should check that their lockfile resolves to [email protected]. mongoose 9.12.3 shipped on November 20. On the Python side, PyMongo 4.20.1 shipped on November 19.

Better Auth 1.7.26 and 1.7.27

Better Auth published no GHSA IDs this week, but both releases are security hardening:

  • 1.7.26 (Nov 18): revoking another client's refresh token no longer deletes the caller's own tokens. Refreshed tokens no longer carry a sid for an ended session. A custom JWT adapter.getJwks now runs on every verification, so cache it if reads are expensive.
  • 1.7.27 (Nov 20): /sign-in/anonymous rejects browser requests from origins outside trustedOrigins. Refresh tokens without offline_access die with their session. Removed signing keys and post-logout URIs stop working after a refresh.

Two changes in 1.7.27 can break integrations:

  • If jwks.keyPairConfig.alg has no matching key and your newest key uses another algorithm, ID tokens and JWTs change alg and kid on the next unpinned signature. Verifiers that hard-code the algorithm, or that do not refetch JWKS on an unknown kid, will reject them.
  • Cross-origin client_uri is no longer rejected by default. Add "client_uri" to originBoundFields to keep the old check.
terminal
npm install [email protected]

The 1.8.0-beta.11 prerelease adds SSRF protection for back-channel logout and removes allowPublicClients. It also changes how allowedScopes: [] behaves, from denying every scope to allowing every scope. Read that note before you test 1.8.

3. Upgrade planning: PostgreSQL 19 and breaking defaults

PostgreSQL 19 GA

PostgreSQL 19 shipped on November 19. The features I expect app teams to use first:

  • INSERT ... ON CONFLICT DO SELECT, which returns the existing row from RETURNING and replaces the usual get-or-create round trip.
  • REPACK (CONCURRENTLY), which removes table bloat without blocking reads or writes. It replaces VACUUM FULL and CLUSTER, and the old commands still work.
  • WAIT FOR LSN for read-your-writes on replicas.
  • COPY ... TO JSON, IGNORE NULLS for window functions, and string methods in SQL/JSON path.
  • Logical replication without a restart: creating the first logical slot raises the effective WAL level automatically (check effective_wal_level). Sequences can now be published with FOR ALL SEQUENCES.
  • TLS SNI through a new pg_hosts.conf file.
get-or-create.sql
-- PostgreSQL 19: return the existing row on conflict instead of nothing
INSERT INTO users (email, name)
VALUES ('[email protected]', 'Ada')
ON CONFLICT (email) DO SELECT
RETURNING id, email, name;

-- Online bloat removal
REPACK (CONCURRENTLY) orders;

Compatibility changes to check before upgrading, all listed in the release notes:

  • JIT is disabled by default. Re-enable it if heavy analytical queries slow down.
  • RADIUS authentication is removed.
  • md5 logins now log a warning on every successful authentication. Move to SCRAM.
  • io_workers is replaced by io_min_workers and io_max_workers.
  • TOAST compression defaults to lz4 on LZ4-enabled builds.

The Docker trap: the official image definition now tags 19, latest and trixie together. A compose file with image: postgres or postgres:latest will pull 19 on the next docker compose pull, and the server will refuse to start on an 18 data directory. Pin the major version:

docker-compose.yml
services:
  db:
    image: pgvector/pgvector:0.8.7-pg18   # or postgres:18; move to pg19 deliberately with pg_upgrade

pgvector 0.8.7 images for PG 19 (0.8.7-pg19) went up on November 20. For the major upgrade, use pg_upgrade or logical replication, and give your ORM's migration tooling a test run. Prisma and Drizzle introspection against a new major is worth a staging pass.

Docker Engine 29.10.0

Docker Engine 29.10.0 (November 16) includes one breaking change. Once you set insecure-registries explicitly, loopback registries (127.0.0.0/8, ::1) are no longer treated as insecure automatically. Setting "insecure-registries": [] disables all the defaults. If CI pushes to a local localhost:5000 registry, add it explicitly:

/etc/docker/daemon.json
{
  "insecure-registries": ["127.0.0.1:5000", "localhost:5000"]
}

The release also moves the Engine API spec to OpenAPI 3.2, with a Swagger 2.0 copy pinned to API v1.57 for the transition. It bumps BuildKit to 0.35.0, runc to 1.5.3 and Go to 1.27.4, and adds experimental one-shot and cron jobs behind --enable-extension org.mobyproject.jobs.v0.

SvelteKit 3.3 to 3.4 and adapter-cloudflare 9.0.0

SvelteKit 3.4.0 (November 18) rejects remote-function requests that use the wrong HTTP method. 3.3.1 stopped serializing remote-function results awaited in server load into the page, which could have exposed data. Both are worth taking.

The breaking part is on the adapter side:

  • @sveltejs/adapter-cloudflare 9.0.0 removes Cloudflare Pages support. It also drops the fallback option in favor of Wrangler's assets.not_found_handling, rejects paths.assets and sets Wrangler's main automatically.
  • @sveltejs/adapter-auto 9.0.0 now builds for Cloudflare Workers instead of Pages.
wrangler.jsonc
{
  "name": "my-sveltekit-app",
  "compatibility_date": "2026-11-16",
  "assets": { "binding": "ASSETS", "not_found_handling": "404-page" }
}

If you still deploy to Pages, pin @sveltejs/adapter-cloudflare@^8 and adapter-auto@^8 until you migrate to Workers. Svelte 5.59.0 adds a custom renderer API. 5.58.1 requires getAbortSignal() to be called before an await in experimental async mode.

NestJS 12.6.0

NestJS 12.6.0 (November 20) focuses on graceful shutdown, and several defaults move:

  • gRPC graceful shutdown now cancels calls still running after gracePeriod (default 10 s). Before, it waited forever.
  • Kafka, MQTT, Redis and RabbitMQ clients reject pending requests with "Connection closed" instead of hanging.
  • Fastify returns 400 FST_ERR_BAD_URL for request targets that don't start with /.
  • A plain @Res() no longer inherits passthrough from a parent @Res({ passthrough: true }).
  • The testing module now honors logger like NestFactory, so logger: true no longer silences logs.
main.ts
import { NestFactory } from "@nestjs/core";
import { WsAdapter } from "@nestjs/platform-ws";
import { AppModule } from "./app.module";

// 12.6: the app type is inferred from the adapter, no generic needed
const app = await NestFactory.create(AppModule);
app.useWebSocketAdapter(new WsAdapter(app, { gracefulShutdown: true, gracePeriod: 10_000 }));
app.enableShutdownHooks();
await app.listen(3000);

The 11.x line got 11.2.11, which carries a @fastify/middie change: middleware bound to *path no longer runs for /. Use {*path} if you need the root covered.

FastAPI 0.164 and 0.165

FastAPI 0.164.0 adds configurable request body size limits, and 0.165.0 adds configurable form parsing limits. The release notes have no code. Read PRs #16781 and #16784 before you set them, and treat them as a DoS guard worth enabling on public APIs.

4. Routine releases worth knowing

Tool Version (date) What changed
Redis 8.12.0 GA (Nov 22) New stable line. Fixes replication with compression, HPERSIST on expired fields, and unvalidated cluster bus addresses (#16081). No CVEs listed.
RabbitMQ 4.4.1 and 4.3.8 (Nov 16) Hardening: more HTTP API endpoints need the administrator tag, JSON bodies need application/json, and AMQP and stream input validation is stricter. Erlang 27.0 or newer is required.
Hono 4.13.19 and 4.13.20 (Nov 16 and 22) No advisories. JWT gains a typ option, secure-headers gains overwrite, and the cookie parser rejects a lone ".
Vue 3.5.46 (Nov 20) SSR CSS-variable injection for teleport and keep-alive, plus hydration and transition fixes. 3.6.0-rc.16 is out too.
Astro 7.4.13 (Nov 18) Smaller server bundles when no route calls render(). Dev cross-origin checks honor ports in security.allowedDomains.
BullMQ 6.7.7 and 6.7.8 (Nov 17 and 19) 6.7.8 bumps cron-parser to 5.10.6 as a security fix and corrects Postgres queue concurrency reporting. 5.81.6 backports a worker fix.
Temporal TS SDK 1.26.0 (Nov 17) Nexus per-endpoint encryption preview and codecHeaders. Breaking: Runtime.logger returns a wrapper, and workers default to 5 pollers.
Authentik 2026.8.6 (Nov 20) Pulls in Django 5.2.19 (the November 3 security release). Batched session and task cleanup, FIPS WebAuthn fix.
DuckDB 2.0.1 (Nov 20) First bug-fix release after 2.0.0: Parquet statistics, ANY/ALL correctness, httpfs S3 throttling.
ClickHouse 26.9.36 and 26.8.44 (Nov 22) Patch builds on both lines. clickhouse-connect 1.13.0 (Nov 17).
Supabase supabase-js 2.119.2, CLI 3.2.0 (Nov 16 to 19) CLI 3.2.0 left beta. The 3.3 and 4.0 lines are prereleases.
Clerk @clerk/nextjs 7.10.1 to 7.10.7 (Nov 17 to 20) Seven patches in four days, plus @clerk/backend 3.31.4.
Firebase JS SDK 13.4.0 (Nov 16) Minor release.
Vercel CLI 66.0.0 to 66.6.0 (Nov 18 to 20) New major. The engine requirement is unchanged (Node 20 or newer). Check vercel --version in CI.
Wrangler 4.163.0 to 4.166.0 (Nov 16 to 20) Weekly cadence.
Pydantic 2.14.4 (Nov 19) Patch release.
Prisma and Drizzle 8.0.0-rc.34 and 1.0.0-rc.6 Both still in release candidates. Stable stays on @prisma/client 7.10.1 and drizzle-orm 0.45.4.

5. Quiet this week

No new stable releases from November 16 to 22: Next.js (16.4.6), React (19.3.1), Nuxt (4.6.4), Node.js (only a 27.0.0 alpha), Express (5.3.0), Fastify (5.12.8), Tailwind CSS (4.3.5), MUI (9.5.0), shadcn (4.23.0), Radix UI (1.8.1), Motion (14.14.0), Auth.js (next-auth 4.24.15), Auth0 (auth0 7.8.0), Django (6.1.3) and Elysia (1.4.32 stable, 2.0.0-rc.5 prerelease).

My patch order for this week

  1. Run the AVX-512 VBMI check on every Java host. Add -XX:-UseBASE64Intrinsics to Keycloak (server and Operator) and Kafka, then roll to fixed JDK images.
  2. Laravel 13.43.0 or 12.73.0.
  3. MongoDB driver 7.9.1, and audit logs for leaked connection strings.
  4. Better Auth 1.7.27 after checking JWKS alg pinning.
  5. Pin postgres image tags before your next pull, then plan the PostgreSQL 19 upgrade.
  6. Docker 29.10.0, adapter-cloudflare 9 and NestJS 12.6.0 after staging tests.

Sources

Comments

Share your thoughts and join the conversation

Leave a Comment

Loading comments...
RELATED