CVE-2025-41253CWE-917

CVE-2025-41253

High · published October 16, 2025

CVSS v3.1
7.5
EPSS
0%
Percentile
40.3
In the wild
Unconfirmed
What it is

⚡ An admin's oversight could expose sensitive environment variables! 🚨 If you're running Spring Cloud Gateway Server Webflux with unsecured actuator endpoints, you're in the danger zone. Think of it like a restaurant where the kitchen staff can see sensitive orders without any checks — if someone can sneak in and read the orders, they can make some pretty dangerous substitutions! In this scenario, an attacker could gain access to critical environment variables and system properties, leading to serious security breaches. Imagine your secret recipe for success being leaked to competitors or worse, giving attackers the keys to manipulate your system!

Put simply

Think of it like a restaurant where the kitchen staff can see sensitive orders without any checks — if someone can sneak in and read the orders, they can make some pretty dangerous substitutions! This vulnerability arises when Spring Expression Language (SpEL) is used in routes that are accessible through unsecured actuator endpoints, allowing untrusted parties to access sensitive information.

What to do

In this scenario, an attacker could gain access to critical environment variables and system properties, leading to serious security breaches. Imagine your secret recipe for success being leaked to competitors or worse, giving attackers the keys to manipulate your system! Immediately secure your actuator endpoints by setting appropriate access controls and ensuring management.endpoints.web.exposure.include is configured correctly. If possible, disable the actuator entirely to protect sensitive data. You can tackle this! Follow these steps and lock down your application like a pro. 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00478 · 40.3th percentile
Weakness
CWE-917 · Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
Published
2025-10-16T19:15Z
References (2)
EPSS history
Timeline
  • 16 OCT 14:25Z
    Spring Cloud Gateway Webflux SpEL Injection Vulnerability Allowing Exposure of Environment Variables
    cvelistv5