CVEBrief

Home / Spring / Spring Cloud Config / CVE-2025-22232

CVE-2025-22232: is it exploited, and which versions of Spring Cloud Config are affected and fixed?

CVE-2025-22232 is an authentication bypass (improper authentication) vulnerability in Spring Cloud Config. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:38 UTC). Affected: Spring Cloud Config from 4.2.x before 4.2.2, Spring Cloud Config from 4.1.x before 4.1.6, Spring Cloud Config from 4.0.x before 4.0.10 and 3 more (CVE record by vmware). Fixed in 4.2.2, 4.1.6, 4.0.10 and 3.1.10 (CVE record by vmware). Severity: Medium (5.3, CVSS 3.1, from vmware).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:21 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 09:38 UTC
Affected
Spring Cloud Config from 4.2.x before 4.2.2, Spring Cloud Config from 4.1.x before 4.1.6, Spring Cloud Config from 4.0.x before 4.0.10 and 3 more
CVE record by vmware
Fixed in
4.2.2, 4.1.6, 4.0.10 and 3.1.10
CVE record by vmware
Severity
Medium 5.3
CVSS 3.1 from vmware
Exploit odds (EPSS)
0.32% in 30 days
higher than 27% of CVEs; FIRST, December 2, 2026

What is CVE-2025-22232?

Spring Cloud Config Server may not use Vault token sent by clients using a X-CONFIG-TOKEN header when making requests to Vault. Your application may be affected by this if the following are true: * You have Spring Vault on the classpath of your Spring Cloud Config Server and * You are using the X-CONFIG-TOKEN header to send a Vault token to the Spring Cloud Config Server for the Config Server to use when making requests to Vault and * You are using the default Spring Vault SessionManager implementation LifecycleAwareSessionManager or a SessionManager implementation that persists the Vault token such as SimpleSessionManager. In this case the SessionManager persists the first token it retrieves and will continue to use that token even if client requests to the Spring Cloud Config Server include a X-CONFIG-TOKEN header with a different value. Affected Spring Products and Versions Spring Cloud Config: * 2.2.1.RELEASE - 4.2.1 Mitigation Users of affected versions should upgrade to the corresponding fixed version. Affected version(s)Fix versionAvailability4.2.x4.2.2OSS4.1.x4.1.6OSS4.0.x4.0.10Commercial3.1.x3.1.10Commercial3.0.x4.1.6OSS2.2.x4.1.6OSS NOTE: Spring Cloud Config 3.0.x and 2.2.x are no longer under open source or commercial support. Users of these versions are encouraged to upgrade to a supported version. No other mitigation steps are necessary.

From the CVE record by vmware, last updated April 10, 2025, 18:08 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
SpringSpring Cloud Configfrom 4.2.x before 4.2.2
from 4.1.x before 4.1.6
from 4.0.x before 4.0.10
from 3.1.x before 3.1.10
from 3.0.x before 4.1.6
from 2.2.x before 4.1.6
4.2.2, 4.1.6, 4.0.10, 3.1.10

As the CVE record by vmware states it, last updated April 10, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

How severe is CVE-2025-22232?

ScoreVersionVectorSource
Medium 5.3CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:Nvmware

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2025-22232 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, April 10, 2025)
EPSS
0.32% probability of exploitation activity in the next 30 days, percentile 27.3 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Is there a workaround? (from the CVE record)

If you cannot upgrade, then you can either: * Remove Spring Vault from the classpath if it is not needed or * Implement your own SessionManager that does not persist the Vault token and provide a bean using that implementation in a @Configuration class. For example: public class StatelessSessionManager implements SessionManager {   private final ClientAuthentication clientAuthentication;   private final ReentrantLock lock = new ReentrantLock();   public StatelessSessionManager(ClientAuthentication clientAuthentication) {     Assert.notNull(clientAuthentication, "ClientAuthentication must not be null");     this.clientAuthentication = clientAuthentication;   }   public VaultToken getSessionToken() {     this.lock.lock();     try {       return this.clientAuthentication.login();     }     finally {       this.lock.unlock();     }   } } @Configuration public class MySessionManagerConfiguration extends SpringVaultClientConfiguration {   private final VaultEnvironmentProperties vaultProperties;   public MySessionManagerConfiguration(VaultEnvironmentProperties vaultProperties, ConfigTokenProvider configTokenProvider, List<springvaultclientauthenticationprovider> authProviders) {     super(vaultProperties, configTokenProvider, authProviders);     this.vaultProperties = vaultProperties;   }   @Bean   @Primary   public SessionManager sessionManager() {     if (vaultProperties.getAuthentication() == null && !StringUtils.hasText(vaultProperties.getToken())) {       return new StatelessSessionManager(clientAuthentication());     }     return super.sessionManager();   } } </springvaultclientauthenticationprovider>

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
January 2, 2025
Published
April 10, 2025, 17:26 UTC
CVE record updated
April 10, 2025, 18:08 UTC by vmware
NVD
Deferred, last modified June 17, 2026, 08:45 UTC
Last checked
CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:21 UTC; KEV December 3, 2026, 09:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Spring Cloud Config?

Every CVE in Spring Cloud Config

Questions about CVE-2025-22232

Is CVE-2025-22232 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:38 UTC. FIRST's EPSS gives it a 0.32% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Spring Cloud Config are affected by CVE-2025-22232?

Spring Cloud Config from 4.2.x before 4.2.2, Spring Cloud Config from 4.1.x before 4.1.6, Spring Cloud Config from 4.0.x before 4.0.10, Spring Cloud Config from 3.1.x before 3.1.10, Spring Cloud Config from 3.0.x before 4.1.6 and Spring Cloud Config from 2.2.x before 4.1.6, per the CVE record by vmware. The tables above give every range the sources list.

Which version fixes CVE-2025-22232?

4.2.2, 4.1.6, 4.0.10 and 3.1.10, per the CVE record by vmware. Check the vendor's advisory before you rely on it.

How severe is CVE-2025-22232?

Medium (5.3, CVSS 3.1, from vmware). The severity table above shows each score with its source.

Where is the official record of CVE-2025-22232?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.