Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Maven

GHSA-6g23-24mc-hx6x

CRITICAL

GHSA-6g23-24mc-hx6x is a critical-severity (CVSS 9.1) vulnerability in org.springframework.cloud:spring-cloud-config-server. O3 Security confirms whether GHSA-6g23-24mc-hx6x is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.

Spring Cloud Config vulnerable to Path Traversal

Also known asCVE-2026-40982
Published
May 7, 2026
Updated
Jun 11, 2026
Affected
5 pkgs
Patched
2 / 5
Exploits
None indexed

Blast Radius

5 pkgs affected
org.springframework.cloud:spring-cloud-config-serverorg.springframework.cloud:spring-cloud-config-serverorg.springframework.cloud:spring-cloud-config-serverorg.springframework.cloud:spring-cloud-config-serverorg.springframework.cloud:spring-cloud-config-server

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

Spring Cloud Config allows applications to serve arbitrary text and binary files through the spring-cloud-config-server module. A malicious user, or attacker, can send a request using a specially crafted URL that can lead to a directory traversal attack. Spring Cloud Config 3.1.x: affected from 3.1.0 through 3.1.13 (inclusive); upgrade to 3.1.14 or greater (Enterprise Support Only). Spring Cloud Config 4.1.x: affected from 4.1.0 through 4.1.9 (inclusive); upgrade to 4.1.10 or greater (Enterprise Support Only). Spring Cloud Config 4.2.x: affected from 4.2.0 through 4.2.6 (inclusive); upgrade to 4.2.7 or greater (Enterprise Support Only). Spring Cloud Config 4.3.x: affected from 4.3.0 through 4.3.2 (inclusive); upgrade to 4.3.3 or greater. Spring Cloud Config 5.0.x: affected from 5.0.0 through 5.0.2 (inclusive); upgrade to 5.0.3 or greater.

Affected Packages

5 total 2 fixed
EcosystemPackageVulnerable rangeFix
Mavenorg.springframework.cloud:spring-cloud-config-serverall versionsNo fix
Mavenorg.springframework.cloud:spring-cloud-config-server4.1.0No fix
Mavenorg.springframework.cloud:spring-cloud-config-server4.2.0No fix
Mavenorg.springframework.cloud:spring-cloud-config-server4.3.0&&< 4.3.34.3.3
Mavenorg.springframework.cloud:spring-cloud-config-server5.0.0&&< 5.0.35.0.3

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.springframework.cloud:spring-cloud-config-server. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    No patched version of org.springframework.cloud:spring-cloud-config-server has shipped for GHSA-6g23-24mc-hx6x yet. Where your build allows, override or pin the dependency away from the vulnerable range, and apply any maintainer-recommended mitigation.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether GHSA-6g23-24mc-hx6x is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-6g23-24mc-hx6x. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

Spring Cloud Config allows applications to serve arbitrary text and binary files through the spring-cloud-config-server module. A malicious user, or attacker, can send a request using a specially crafted URL that can lead to a directory traversal attack. Spring Cloud Config 3.1.x: affected from 3.1.0 through 3.1.13 (inclusive); upgrade to 3.1.14 or greater (Enterprise Support Only). Spring Cloud Config 4.1.x: affected from 4.1.0 through 4.1.9 (inclusive); upgrade to 4.1.10 or greater (Enterprise Support Only). Spring Cloud Config 4.2.x: affected from 4.2.0 through 4.2.6 (inclusive); upgrade to
O3 Security · Impact-Aware SCA

Is GHSA-6g23-24mc-hx6x in your dependencies?

O3 detects GHSA-6g23-24mc-hx6x across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.