{"schemaVersion":3,"id":"CVE-2025-22232","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Spring Cloud Config Server may not use Vault token sent by clients using a X-CONFIG-TOKEN header when making requests to Vault.\nYour application may be affected by this if the following are true:\n  *  You have Spring Vault on the classpath of your Spring Cloud Config Server and\n  *  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\n  *  You are using the default Spring Vault SessionManager implementation LifecycleAwareSessionManager or a SessionManager implementation that persists the Vault token such as SimpleSessionManager.\n\nIn 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.\nAffected Spring Products and Versions\nSpring Cloud Config:\n  *  2.2.1.RELEASE - 4.2.1\n\n\nMitigation\nUsers of affected versions should upgrade to the corresponding fixed version.\n\nAffected 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\nNOTE: 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.\n\nNo other mitigation steps are necessary.","dates":{"published":"2025-04-10T17:26:56.755Z","modified":"2025-04-10T18:08:28.560Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00317,"percentile":0.23156,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.006000000000000016,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00311},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00317,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00317,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00317,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00317,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00317,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00317,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00317,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00317,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00317,"percentile":0.23156}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00317,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00317,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00317,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00317,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00317,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00317,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00317,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00317,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00317,"percentile":0.23156}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-287","name":"Improper Authentication","description":"When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/287.html"}],"affected":[{"vendor":"spring","product":"spring cloud config","name":"Spring Cloud Config","label":"spring cloud config","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.2.x, < 4.2.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.1.x, < 4.1.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.x, < 4.0.10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.1.x, < 3.1.10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.x, < 4.1.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.2.x, < 4.1.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.2.x, < 4.2.2 | ≥ 4.1.x, < 4.1.6 | ≥ 4.0.x, < 4.0.10 | ≥ 3.1.x, < 3.1.10 | ≥ 3.0.x, < 4.1.6 | ≥ 2.2.x, < 4.1.6","eol":null,"hubHref":"/vendor/spring/spring_cloud_config"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://spring.io/security/cve-2025-22232","label":"spring.io/security/cve-2025-22232","hostname":"spring.io","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-04-10T17:26:56.755Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-10T18:08:28.560Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":21,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T15:46:07.674Z","stale":false,"partial":false}}