[2.6] add authentication to metrics endpoint when authorization enabled
fix: [2.6] add authentication to metrics endpoint when authorization enabled (#47278)
[2.6] add authentication to metrics endpoint when authorization enabled92b74d-fix-2-6-add-authentication-to-metrics-cve-2026-26190fixadd authentication metrics endpoint authorization enabled
Committed by xiaocai2333
commit message
fix: [2.6] add authentication to metrics endpoint when authorization enabled (#47278)
issue: #46817
master pr: #47277
Signed-off-by: Cai Zhang <[email protected]>Editor assessment
This commit patches CVE-2026-26190. The subject communicates the security change: authentication is now required on the metrics endpoint when authorization is enabled, and the backport target is tagged. The body contains only an issue reference and a master PR link, and master pr is a two-word token without the hyphen the footer grammar expects, while issue is non-standard. The branch tag in the subject also adds release bookkeeping to an otherwise clear line. There is no explanation of the unauthenticated metrics exposure or of the authorization-gating logic. The intent is readable and the change is correctly a fix, but the footers need cleanup and the rationale is just a pointer.