Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2026-40981

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. 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-40981
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 07:47 UTC · Revision 1

Source evidence

CVE-2026-40981

core-osv · Original source

Published 7 May 2026, 03:55 UTC

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. 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.

osv:CVE-2026-40981
Complete source record
{
  "id": "cf0964e43c5f8dfe9372835092f01676bb0d6f9c1b21b7895a0947853a7f27cb",
  "url": "https://osv.dev/vulnerability/CVE-2026-40981",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2026-40981",
    "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. 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.",
    "evidence": "osv:CVE-2026-40981",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-40981",
      "aliases": [
        "CVE-2026-40981",
        "GHSA-2mh5-3cw6-hrrq"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/spring-cloud/spring-cloud-config",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e4bfee4a1fae95d72da686246d26a8fbf4404852"
                },
                {
                  "fixed": "5b443c202231c77ace754b0f54956c408c2f0288"
                },
                {
                  "introduced": "1f589b654aba88db9e2061509e55ee120c1712e4"
                },
                {
                  "fixed": "6259ed8ed5fc2ee81dedc03487b2487d8afeb9ab"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:vmware:spring_cloud_config:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.3.0"
                      },
                      {
                        "fixed": "4.3.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:vmware:spring_cloud_config:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.0.0"
                      },
                      {
                        "fixed": "5.0.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v5.0.2",
            "v4.3.2",
            "v5.0.1",
            "v4.3.1",
            "v5.0.0",
            "v4.3.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40981.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.857331037Z",
      "provider": "osv",
      "references": [
        "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40981.json",
        "https://spring.io/security/cve-2026-40981",
        "https://access.redhat.com/security/cve/CVE-2026-40981",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40981.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-40981",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2467621"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-639"
        ],
        "cna_assigner": "vmware",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.1.0"
                  },
                  {
                    "fixed": "3.1.14"
                  },
                  {
                    "introduced": "4.1.0"
                  },
                  {
                    "fixed": "4.1.10"
                  },
                  {
                    "introduced": "4.2.0"
                  },
                  {
                    "fixed": "4.2.7"
                  },
                  {
                    "introduced": "4.3.0"
                  },
                  {
                    "fixed": "4.3.3"
                  },
                  {
                    "introduced": "5.0.0"
                  },
                  {
                    "fixed": "5.0.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40981.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-40981",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493527,
  "published_at": "2026-05-07T03:55:43.6+00:00"
}