{"id":"CVE-2026-40981","aliases":["CVE-2026-40981","GHSA-2mh5-3cw6-hrrq"],"related":[],"kind":"vulnerability","state":"published","title":"Spring Cloud Config has an Authorization Bypass Through User-Controlled Key","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Al usar Google Secrets Manager como backend para el servidor de Spring Cloud Config, un cliente puede elaborar una solicitud al servidor de configuración, exponiendo potencialmente secretos de proyectos de GCP no deseados.\nSpring Cloud Config 3.1.x: afectado desde 3.1.0 hasta 3.1.13 (inclusive); actualizar a 3.1.14 o superior (Solo Soporte Empresarial). Spring Cloud Config 4.1.x: afectado desde 4.1.0 hasta 4.1.9 (inclusive); actualizar a 4.1.10 o superior (Solo Soporte Empresarial). Spring Cloud Config 4.2.x: afectado desde 4.2.0 hasta 4.2.6 (inclusive); actualizar a 4.2.7 o superior (Solo Soporte Empresarial). Spring Cloud Config 4.3.x: afectado desde 4.3.0 hasta 4.3.2 (inclusive); actualizar a 4.3.3 o superior. Spring Cloud Config 5.0.x: afectado desde 5.0.0 hasta 5.0.2 (inclusive); actualizar a 5.0.3 o superior.","source":"nvd"}],"published":"2026-05-07T03:55:43.600Z","modified":"2026-10-26T19:10:00.163Z","severity":{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-639","CWE-1220"],"affected":[{"ranges":[{"type":"custom","introduced":"3.1.0","fixed":"3.1.14","status":"affected"},{"type":"custom","introduced":"4.1.0","fixed":"4.1.10","status":"affected"},{"type":"custom","introduced":"4.2.0","fixed":"4.2.7","status":"affected"},{"type":"custom","introduced":"4.3.0","fixed":"4.3.3","status":"affected"},{"type":"custom","introduced":"5.0.0","fixed":"5.0.3","status":"affected"}],"vendor":"Spring","product":"Spring Cloud Config","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"log4j:2/log4j","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform Expansion Pack","package":"spring-cloud-config-server","cpe":"cpe:/a:redhat:jbosseapxp","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.1.0","status":"affected","lastAffected":"3.1.13"}],"ecosystem":"Maven","package":"org.springframework.cloud:spring-cloud-config-server","purl":"pkg:maven/org.springframework.cloud/spring-cloud-config-server","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.1.0","status":"affected","lastAffected":"4.1.9"}],"ecosystem":"Maven","package":"org.springframework.cloud:spring-cloud-config-server","purl":"pkg:maven/org.springframework.cloud/spring-cloud-config-server","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.2.0","status":"affected","lastAffected":"4.2.6"}],"ecosystem":"Maven","package":"org.springframework.cloud:spring-cloud-config-server","purl":"pkg:maven/org.springframework.cloud/spring-cloud-config-server","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.3.0","status":"affected","fixed":"4.3.3"}],"ecosystem":"Maven","package":"org.springframework.cloud:spring-cloud-config-server","purl":"pkg:maven/org.springframework.cloud/spring-cloud-config-server","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.3"}],"ecosystem":"Maven","package":"org.springframework.cloud:spring-cloud-config-server","purl":"pkg:maven/org.springframework.cloud/spring-cloud-config-server","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.1.0","fixed":"3.1.14"},{"status":"affected","introduced":"4.1.0","fixed":"4.1.10"},{"status":"affected","introduced":"4.2.0","fixed":"4.2.7"},{"status":"affected","introduced":"4.3.0","fixed":"4.3.3"},{"status":"affected","introduced":"5.0.0","fixed":"5.0.3"}],"vendor":"vmware","product":"spring_cloud_config","cpe":"cpe:2.3:a:vmware:spring_cloud_config:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://spring.io/security/cve-2026-40981","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-40981","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2467621","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40981.json","tags":["x-sadp-csaf-vex"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40981","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/spring-cloud/spring-cloud-config","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"vmware","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-05-07T12:57:24.983Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40981","url":"https://www.cve.org/CVERecord?id=CVE-2026-40981","licence":"CVE Terms of Use","modified":"2026-07-15T01:00:15.193Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2mh5-3cw6-hrrq","url":"https://github.com/advisories/GHSA-2mh5-3cw6-hrrq","licence":"CC-BY-4.0","modified":"2026-06-11T15:00:10.468Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40981","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40981","licence":"Public domain","modified":"2026-10-26T19:10:00.163Z"}],"updatedAt":"2026-11-25T22:59:20.842Z","epss":{"score":0.00435,"percentile":0.39596,"date":"2026-12-01T12:00:22.000Z"}}