{"schemaVersion":3,"id":"CVE-2026-40981","aliases":["GHSA-2mh5-3cw6-hrrq"],"status":"published","duplicateOf":null,"title":null,"description":"When using Google Secrets Manager as a backend for the Spring Cloud Config server a client can craft a request to the config server potentially exposing secrets from unintended GCP projects.\nSpring 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.","dates":{"published":"2026-05-07T03:55:43.600Z","modified":"2026-07-15T01:00:15.193Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00482,"percentile":0.40136,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0.04699999999999999,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00435},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00482,"percentile":0.40136}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00482,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00482,"percentile":0.40136}]},"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-639","name":"Authorization Bypass Through User-Controlled Key","description":"The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/639.html"},{"id":"CWE-1220","name":"Insufficient Granularity of Access Control","description":"The product implements access controls via a policy or other feature with the intention to disable or restrict accesses (reads and/or writes) to assets in a system from untrusted agents. However, implemented access controls lack required granularity, which renders the control policy too broad because it allows accesses from unauthorized agents to the security-sensitive assets.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/1220.html"}],"affected":[{"vendor":"org.springframework.cloud","product":"spring-cloud-config-server","name":"org.springframework.cloud:spring-cloud-config-server","label":"spring-cloud-config-server","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.springframework.cloud/spring-cloud-config-server","purlType":"maven","versions":[{"text":"≥ 3.1.0, ≤ 3.1.13","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.1.0, ≤ 4.1.9","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.2.0, ≤ 4.2.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.3.0, < 4.3.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 5.0.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.1.0, ≤ 3.1.13 | ≥ 4.1.0, ≤ 4.1.9 | ≥ 4.2.0, ≤ 4.2.6 | ≥ 4.3.0, < 4.3.3 | ≥ 5.0.0, < 5.0.3","eol":null,"hubHref":null},{"vendor":"spring","product":"spring cloud config","name":"Spring Cloud Config","label":"spring cloud config","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.1.0, < 3.1.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.1.0, < 4.1.10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.2.0, < 4.2.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.3.0, < 4.3.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 5.0.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.1.0, < 3.1.14 | ≥ 4.1.0, < 4.1.10 | ≥ 4.2.0, < 4.2.7 | ≥ 4.3.0, < 4.3.3 | ≥ 5.0.0, < 5.0.3","eol":null,"hubHref":"/vendor/spring/spring_cloud_config"},{"vendor":"vmware","product":"spring_cloud_config","name":"spring cloud config","label":"spring_cloud_config","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.1.0, < 3.1.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.1.0, < 4.1.10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.2.0, < 4.2.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.3.0, < 4.3.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 5.0.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.1.0, < 3.1.14 | ≥ 4.1.0, < 4.1.10 | ≥ 4.2.0, < 4.2.7 | ≥ 4.3.0, < 4.3.3 | ≥ 5.0.0, < 5.0.3","eol":null,"hubHref":"/vendor/vmware/spring_cloud_config"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://spring.io/security/cve-2026-40981","label":"spring.io/security/cve-2026-40981","hostname":"spring.io","tags":["WEB","Vendor Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-40981","label":"access.redhat.com/security/cve/CVE-2026-40981","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2467621","label":"bugzilla.redhat.com/show_bug.cgi?id=2467621","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40981.json","label":"security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40981.json","hostname":"security.access.redhat.com","tags":["X Sadp Csaf Vex"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40981","label":"nvd.nist.gov/vuln/detail/CVE-2026-40981","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/spring-cloud/spring-cloud-config","label":"github.com/spring-cloud/spring-cloud-config","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-05-07T03:55:43.600Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-15T01:00:15.193Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T13:26:55.307Z","stale":false,"partial":false}}