Path Traversal in org.springframework.cloud:spring-cloud-config-server (CVE-2026-40982)
Summary
Path traversal in org.springframework.cloud:spring-cloud-config-server (CVE-2026-40982). Confidential information can be exposed externally. Mitigation: upgrade to 5.0.3 or later.
Original description
The description as published by the source.
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.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-40982 has been found in org.springframework.cloud:spring-cloud-config-server.
Confidential information can be exposed externally. CVSS score: 9.1/10.
What to do: upgrade org.springframework.cloud:spring-cloud-config-server to 5.0.3 or later.
If unsure, ask your IT team or search "org.springframework.cloud:spring-cloud-config-server CVE-2026-40982" on the vendor's site.
CVE-2026-40982 (org.springframework.cloud:spring-cloud-config-server) — CWE-22 / CVSS v3 9.1
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 5.0.3 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Path traversal (CWE-22) exists in org.springframework.cloud:spring-cloud-config-server.
Check the vendor advisory for the affected versions of org.springframework.cloud:spring-cloud-config-server.
Severity: Critical (CVSS 9.1/10). Confidential information can be exposed externally.
Update to 5.0.3.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで org.springframework.cloud:spring-cloud-config-server を使っているサービスとバージョンを洗い出す。
-
2Apply patch patch
Upgrade org.springframework.cloud:spring-cloud-config-server to 5.0.3ステージング環境で 5.0.3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
References
- advisory nvd.nist.gov
- package github.com
- patch security@vmware.com
- web github.com
- web access.redhat.com
- web bugzilla.redhat.com
- web security.access.redhat.com