1. Accueil
  2. Vulnérabilités
  3. CVE-2026-123640

CVE-2026-123640

NGINX ngx_stream_ssl_preread_module vulnerability

Publiée le 18 nov. 2026 · modifiée le 19 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 37/100

Résumé

Description When NGINX Plus or NGINX Open Source is configured with the ngx_stream_ssl_preread_module module, a specially crafted ClientHello message from an unauthenticated attacker causes forged values of the ngx_stream_ssl_preread_module variables, affecting virtual server selection. In addition, it may also cause a disagreement with a proxied server terminating the SSL/TLS connection without Transport Layer Security (TLS) 1.3 support. Impact This vulnerability may allow an attacker to forge values of the ngx_stream_ssl_preread_module variables and bypass the NGINX systems stream routing segmentation. As a result, the attacker may be able to route the connection to a privileged or internal backend that should be unreachable and gain access to sensitive information. There is no control plane exposure; this is a data plane issue only. Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

F5 (26 ligne(s))
F5
ProduitVersionsCorrigé dansSource
Nginx open source de 1.31.0 (inclus) à 1.31.9 (exclu) — CNA (éditeur ou attributeur)
Nginx open source de 1.30.0 (inclus) à 1.30.7 (exclu) — CNA (éditeur ou attributeur)
Nginx open source 1.15.2 — CNA (éditeur ou attributeur)
Nginx plus de 37.1.0 (inclus) à 37.2.0.1 (exclu) — CNA (éditeur ou attributeur)
Nginx plus de 37.0.0 (inclus) à 37.0.7.1 (exclu) — CNA (éditeur ou attributeur)
Nginx plus R33 — CNA (éditeur ou attributeur)
Dos de 4.5.0 (inclus) à 4.7.0 (inclus) — NVD
Dos de 4.8.0 (inclus) à 4.13.0 (exclu) — NVD
Nginx gateway fabric de 1.5.0 (inclus) à 1.6.2 (inclus) — NVD
Nginx gateway fabric de 2.0.0 (inclus) à 2.9.0 (exclu) — NVD
Nginx ingress controller de 3.7.1 (inclus) à 3.7.2 (inclus) — NVD
Nginx ingress controller de 4.0.0 (inclus) à 4.0.1 (inclus) — NVD
Nginx ingress controller de 5.0.0 (inclus) à 5.8.0 (exclu) — NVD
Nginx ingress controller de 2026-lts-r1 (inclus) à 2026-lts-r11 (exclu) — NVD
Nginx instance manager de 2.19.0 (inclus) à 2.25.0 (exclu) — NVD
Nginx open source de 1.15.2 (inclus) à 1.30.7 (exclu) — NVD
Nginx open source de 1.31.0 (inclus) à 1.31.9 (exclu) — NVD
Nginx plus de 37.0.0 (inclus) à 37.0.7.1 (exclu) — NVD
Nginx plus 37.1.0 — NVD
Nginx plus r34 — NVD
Nginx plus r35 — NVD
Nginx plus r36 — NVD
Waf de 4.12.0 (inclus) à 4.16.2 (exclu) — NVD
Waf de 5.4.0 (inclus) à 5.8.0 (inclus) — NVD
Waf de 5.9.0 (inclus) à 5.14.4 (exclu) — NVD
Waf de 5.15.0 (inclus) à 5.16.2 (exclu) — NVD

Correctif

Mise à jour — 1.30.7, 1.31.9source officielle

Source : CERT-FR · Ouvrir

Contournement

Contournementsource officielle

Disable the ssl_preread directive in favor of SSL/TLS termination on NGINX. For more information, refer to https://nginx.org/en/docs/stream/ngx_stream_ssl_preread_module.html For example, the following configuration includes the ssl_preread on; directive: stream {     log_format sni "PREREAD_SNI=[$ssl_preread_server_name] -> [$backend]";     access_log /var/log/nginx/stream.log sni;     map $ssl_preread_server_name $backend {         internal.test   127.0.0.1:9002;   # privileged backend         default          127.0.0.1:9001;   # public backend     }     server {         listen 9443;         ssl_preread on;         proxy_pass $backend;     } } To mitigate the issue for this configuration, make the following changes: * Remove the ssl_preread directive. * Terminate TLS on NGINX by adding the following: * Change the listener to ssl. * Configure a certificate and key. * Replacing $ssl_preread_server_name with $ssl_server_name to use SNI-based routing. stream {     log_format sni "TLS_SNI=[$ssl_server_name] -> [$backend]";     access_log /var/log/nginx/stream.log sni;     map $ssl_server_name $backend {         internal.test   127.0.0.1:9002;   # privileged backend         default          127.0.0.1:9001;   # public backend     }     server {         listen 9443 ssl;         ssl_certificate     /etc/nginx/ssl/fullchain.pem;         ssl_certificate_key /etc/nginx/ssl/privkey.pem;         ssl_protocols       TLSv1.2 TLSv1.3;         # ssl_preread removed; NGINX terminates client TLS.         proxy_pass $backend;         # Use these if the backends still expect TLS.         proxy_ssl on;         proxy_ssl_server_name on;         proxy_ssl_name $ssl_server_name;     } } After making the configuration changes, validate the configuration and reload, using the following commands: nginx -t nginx -s reload

Source : CNA (éditeur ou attributeur)

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1567)
  2. — Publication de la CVE (cve)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N (CVSS 3.1, NVD)
Faiblesse
CWE-1289 · Autre (CWE-1289)

Comment sont obtenues et calculées ces données