Licensed to be used in conjunction with basebox, only.
// installation
NGINX HTTP/2: temporary security mitigation (November 2026)
Applies to
Product: basebox Server (on-premises) · Audience: System and platform administrators
Security advisory
Vulnerabilities CVE-2026-123633 and CVE-2026-123007 affect vulnerable NGINX installations with HTTP/2 enabled. Disabling HTTP/2 is a temporary mitigation, not a complete security update. Review the other NGINX security advisories and plan an upgrade to a fixed, supported release or migration away from an unmaintained ingress controller.
This guide concerns the HTTPS reverse proxy in front of basebox. It does not change the basebox application, databases, AI models or GPU services. However, reloading NGINX can briefly interrupt existing login sessions, chat streams or document uploads.
Run changes only with administrator authorization and an approved maintenance process. Back up the configuration and prepare a rollback plan first.
1. Identify the reverse proxy (read-only)
For Kubernetes:
kubectl get ingressclass
kubectl get pods -A \
-o custom-columns='NAMESPACE:.metadata.namespace,NAME:.metadata.name,IMAGES:.spec.containers[*].image' \
| grep -Ei 'NAMESPACE|nginx|traefik|ingress' || true
kubectl get configmaps -A | grep -Ei 'NAMESPACE|nginx|ingress' || true
helm list -A
For Docker or directly installed NGINX:
- Kubernetes ingress-nginx: Continue with section 3.
- Docker-based or host-installed NGINX: Continue with section 4.
- Traefik or another proxy: Do not apply NGINX-specific commands; consult that controller's security guidance instead.
2. Test HTTP/2 at the actual HTTPS endpoint (read-only)
Replace basebox.example.org with the real published hostname. Check all externally and internally reachable TLS endpoints, especially when another load balancer terminates TLS.
HOST=basebox.example.org
openssl s_client \
-connect "${HOST}:443" \
-servername "$HOST" \
-alpn h2,http/1.1 \
</dev/null 2>/dev/null \
| grep -i 'ALPN protocol\|No ALPN negotiated'
ALPN protocol: h2— the tested endpoint offers HTTP/2.ALPN protocol: http/1.1— the tested endpoint negotiated HTTP/1.1.No ALPN negotiatedor no output — verify connectivity, TLS termination and the client tool; do not treat an inconclusive result as proof of safety.
This test checks only the protocol negotiated at the tested TLS endpoint. It does not validate the certificate chain or other proxy layers.
Also test the NGINX listener directly from an authorized machine that can reach it. A load balancer or TLS proxy in front of NGINX may negotiate a different protocol and hide whether NGINX itself accepts HTTP/2. Keep the same SNI hostname and replace 192.0.2.10 with the actual NGINX IP address (not the load balancer address):
NGINX_IP=192.0.2.10 # Replace with the actual NGINX listener IP
openssl s_client \
-connect "${NGINX_IP}:443" \
-servername "$HOST" \
-alpn h2,http/1.1 \
</dev/null 2>/dev/null \
| grep -i 'ALPN protocol\|No ALPN negotiated'
ALPN only tests TLS connections. HTTP/2 enabled on non-TLS listeners (h2c) is not visible in this test. For standalone or Docker NGINX, also inspect all active listen and http2 directives using nginx -T (as shown in section 4).
3. Kubernetes ingress-nginx: disable HTTP/2
The community ingress-nginx controller defaults use-http2 to "true". An empty ConfigMap data section therefore does not mean HTTP/2 is disabled. Identify the real namespace and ConfigMap name first; the commands below use common defaults.
3.1 Back up the current configuration
NS=ingress-nginx
CM=ingress-nginx-controller
umask 077
D="$HOME/ingress-http2-$(date -u +%Y%m%dT%H%M%SZ)"
mkdir -p "$D"
kubectl -n "$NS" get configmap "$CM" -o yaml > "$D/configmap-before.yaml"
kubectl -n "$NS" get deployment,daemonset -o wide > "$D/controller-before.txt"
helm list -n "$NS" > "$D/helm-releases-before.txt"
3.2 Patch only the existing ConfigMap
After approval only: This merge patch adds the use-http2 key and retains any other existing ConfigMap values.
The controller normally reloads its NGINX configuration. Existing connections may be interrupted briefly. Do not change the basebox Helm release as part of this step.
3.3 Persist the configuration in the deployment source
If ingress-nginx is managed by Helm:
- Identify the release and installed chart version using
helm list -n "$NS". Save the current overrides usinghelm get values <release> -n "$NS" -o yaml. - Preserve the other values in the existing version-controlled values file and add:
- Render with
helm templateusing the installed chart version and all values files. Review the diff from the installed release for unexpected DaemonSet/Deployment, networking, Service or RBAC changes. - Only after review and approval, apply the same chart version and complete values through the usual
helm upgradeworkflow. Do not blindly upgrade to the latest chart. - Check persistence using
helm get values <release> -n "$NS" -o yaml.
If ingress-nginx is managed by Kubernetes manifests or GitOps:
- Locate the original ConfigMap in the actual deployment/GitOps repository.
- Add
use-http2: "false"underdata:, preserving every other setting. - Apply through the existing approved deployment/GitOps process; do not overwrite a customized installation with a new default ConfigMap.
The live patch survives a normal pod restart, but a future Helm/manifest/GitOps reconciliation could overwrite it unless the deployment source is updated.
4. Standalone NGINX or Docker reverse proxy
Do not use the Kubernetes ConfigMap procedure. Identify the version and active configuration first:
# Docker: replace CONTAINER with the actual container name
CONTAINER=proxy
docker exec "$CONTAINER" nginx -v
docker exec "$CONTAINER" nginx -T 2>&1 \
| grep -En '(^# configuration file:|^[[:space:]]*(listen[[:space:]]|http2[[:space:]]|server_name[[:space:]]))'
docker inspect "$CONTAINER" \
--format '{{range .Mounts}}{{println .Source "->" .Destination}}{{end}}'
On a host installation, use nginx -v and nginx -T instead. Do not share the full unredacted configuration publicly: it may reveal internal endpoints or credentials.
- Locate and back up the persistent source configuration and all relevant HTTPS
serverblocks. - Identify every
serverblock that listens on the affected address and port, includingdefault_serverand IPv6 listeners. Remove thehttp2parameter from every affectedlistendirective (for example,listen 443 ssl http2;→listen 443 ssl;andlisten [::]:443 ssl http2;→listen [::]:443 ssl;). The legacylisten ... http2setting can enable HTTP/2 for other server blocks sharing the same listening socket. On NGINX 1.25.1 and later, also check forhttp2 on;in applicablehttporservercontexts and disable it as needed. Do not rely onhttp2 off;alone while any affectedlisten ... http2remains. Review the complete active configuration withnginx -T, including non-TLS listeners. - Validate syntax before reloading NGINX:
docker exec "$CONTAINER" nginx -t
# Only after a successful test and authorization:
docker exec "$CONTAINER" nginx -s reload
Without Docker: sudo nginx -t, then sudo nginx -s reload (or your established service procedure).
4. If Docker Compose, entrypoint templates or another deployment process generates the configuration, persist the change there as well. Do not recreate a production container solely for this setting when a valid reload suffices.
If no configuration enables HTTP/2 and the actual HTTPS endpoint already negotiates HTTP/1.1, do not change the proxy just for this mitigation. Nevertheless, update vulnerable NGINX versions through regular maintenance.
5. Verify the result and basebox functionality
# For Kubernetes ingress-nginx (NS/CM from section 3):
kubectl -n "$NS" get configmap "$CM" \
-o jsonpath='{.data.use-http2}{"\n"}'
kubectl -n "$NS" get deployment,daemonset,pods
# For the HTTPS hostname identified earlier:
openssl s_client -connect "${HOST}:443" -servername "$HOST" \
-alpn h2,http/1.1 </dev/null 2>/dev/null \
| grep -i 'ALPN protocol\|No ALPN negotiated'
Expected: No h2 at the affected endpoint; normally ALPN protocol: http/1.1. Repeat both tests from section 2 (published hostname and direct NGINX listener) after mitigation. In a normal browser with a valid TLS certificate, test sign-in, chat responses including streaming, and document upload. Monitor controller readiness and errors. If h2 still appears, do not assume mitigation succeeded; inspect additional TLS termination and configuration layers.
6. Rollback and permanent remediation
Document the original state and each change. In case of functional problems, restore the previous configuration through the approved rollback plan and backed-up source. This may re-enable vulnerable HTTP/2 functionality. Do not roll back without coordinating mitigations; restricting access temporarily may be preferable.
NGINX Open Source 1.30.7 (stable) and 1.31.9 (mainline) contain the corresponding upstream security fixes. The Kubernetes community ingress-nginx controller was retired in March 2026 and will not receive additional security fixes. Deployments using it need a migration to a maintained ingress controller; disabling HTTP/2 is only a stopgap. This guide is not a substitute for a broader NGINX security review.
References
- CERT-EU: Critical vulnerabilities in NGINX (2026-022)
- Ingress-nginx: ConfigMap
use-http2 - NGINX HTTP/2 module
- Kubernetes: Ingress-nginx retirement
For assistance, contact support@basebox.ai.