CVE-2023-26125
Red Hat Enterprise Linux CoreOS (RHCOS) vulnerability analysis and mitigation

Overview

CVE-2023-26125 affects versions of github.com/gin-gonic/gin before 1.9.0. The vulnerability is related to Improper Input Validation that allows an attacker to use a specially crafted request via the X-Forwarded-Prefix header, potentially leading to cache poisoning. The vulnerability was disclosed on February 17, 2023, and was patched in version 1.9.0 (Gin Release, Snyk Advisory).

Technical details

The vulnerability stems from insufficient validation of the X-Forwarded-Prefix header in the request handling logic. The issue allows attackers to manipulate the header with specially crafted values containing malicious characters or path traversal sequences. The vulnerability has been assigned a CVSS v3.1 base score of 7.3 (HIGH) by NVD and 5.6 (MEDIUM) by Snyk, with the attack vector being network-accessible with no authentication required (NVD).

Impact

While this vulnerability doesn't pose a significant threat on its own, it can serve as an input vector for other more impactful vulnerabilities. The potential impact includes cache poisoning attacks, though successful exploitation depends on the server configuration and whether the header is used in the application logic (Snyk Advisory).

Mitigation and workarounds

The recommended mitigation is to upgrade github.com/gin-gonic/gin to version 1.9.0 or higher. The fix includes implementing proper escape logic for the X-Forwarded-Prefix header and additional input validation (Gin PR, Gin Release).

Additional resources


SourceThis report was generated using AI

Related Red Hat Enterprise Linux CoreOS (RHCOS) vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-11561HIGH8.8
  • Rocky LinuxRocky Linux
  • libsss_nss_idmap
NoYesOct 09, 2025
CVE-2025-52565HIGH8.4
  • cAdvisorcAdvisor
  • kernel-64k-debug
NoYesNov 06, 2025
CVE-2025-4953HIGH7.4
  • PodmanPodman
  • container-tools:rhel8::python3-podman
NoYesSep 16, 2025
CVE-2025-52881HIGH7.3
  • cAdvisorcAdvisor
  • podman-plugins
NoYesNov 06, 2025
CVE-2025-31133HIGH7.3
  • cAdvisorcAdvisor
  • kernel-zfcpdump-modules-partner
NoYesNov 06, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management