{"id":"CVE-2026-105766","revision":"0e5e8459e8954cbfa74cab85efdf09f4","records":[{"revision":"0e5e8459e8954cbfa74cab85efdf09f4","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-105766","aliases":[],"title":"Chainguard Academy (edu) Nginx directory redirect downgrades HTTPS requests to HTTP","description":"Use of the backend-facing $scheme variable in the trailing-slash directory redirect in nginx.conf of Chainguard Academy (edu) from commit 0b75ff98057f69b044a3e7194e428066ac5ad0d4 before commit 93dc0e50739c225f5aee2e803800a47fc0feb906 allows an on-path network attacker to read or modify documentation content served to a victim via an HTTPS request for a slashless directory path, because TLS terminates at the load balancer in front of Nginx and the resulting 301 response redirects the client to a plaintext http:// URL. Browsers that ship the HSTS preload list are not affected, because the .dev top-level domain is preloaded; clients that do not enforce HSTS, such as command-line HTTP clients and scripts that follow redirects, are affected.","state":0,"publishedAt":"2026-10-05T19:45:50.015+00:00","modifiedAt":"2026-10-06T13:44:09.303+00:00","affected":[{"ecosystem":"Vendor product","name":"Chainguard Academy (edu)","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Chainguard\",\n                    \"product\": \"Chainguard Academy (edu)\",\n                    \"repo\": \"https://github.com/chainguard-dev/edu\",\n                    \"modules\": [\n                        \"Nginx trailing-slash directory redirect\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"0b75ff98057f69b044a3e7194e428066ac5ad0d4\",\n                            \"lessThan\": \"93dc0e50739c225f5aee2e803800a47fc0feb906\",\n                            \"versionType\": \"git\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\",\n                    \"programFiles\": [\n                        \"nginx.conf\"\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":2.3,"severity":"LOW"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N","score":3.1,"severity":"LOW"}],"references":["https://github.com/chainguard-dev/edu/commit/93dc0e50739c225f5aee2e803800a47fc0feb906","https://github.com/chainguard-dev/edu/pull/3989"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-105766","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-105766","identifiers":["CVE-2026-105766"]},"retained":false,"historicalAffected":[]}],"coverage":[]}