{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-22235","id":"CVE-2025-22235","title":"Spring Boot EndpointRequest.to() creates wrong matcher if actuator endpoint is not exposed","description":"EndpointRequest.to() creates a matcher for null/** if the actuator endpoint, for which the EndpointRequest has been created, is disabled or not exposed.\n\nYour application may be affected by this if all the following conditions are met:\n\n  *  You use Spring Security\n  *  EndpointRequest.to() has been used in a Spring Security chain configuration\n  *  The endpoint which EndpointRequest references is","descriptionLong":"EndpointRequest.to() creates a matcher for null/** if the actuator endpoint, for which the EndpointRequest has been created, is disabled or not exposed.\n\nYour application may be affected by this if all the following conditions are met:\n\n  *  You use Spring Security\n  *  EndpointRequest.to() has been used in a Spring Security chain configuration\n  *  The endpoint which EndpointRequest references is disabled or not exposed via web\n  *  Your application handles requests to /null and this path needs protection\n\n\nYou are not affected if any of the following is true:\n\n  *  You don't use Spring Security\n  *  You don't use EndpointRequest.to()\n  *  The endpoint which EndpointRequest.to() refers to is enabled and is exposed\n  *  Your application does not handle requests to /null or this path does not need protection","published":"2025-04-28T07:10:35.370Z","updated":"2026-06-17T08:45:48.460Z","reserved":"2025-01-02T04:30:06.832Z","status":"Deferred","rejected":false,"assigner":"vmware","metric":{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"vmware"},"metrics":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"vmware"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"vmware.com"}],"rating":"high","products":["Spring Boot"],"affectedProducts":[{"vendor":"Spring","product":"Spring Boot","defaultStatus":"unaffected","versions":[{"lessThan":"2.7.25","status":"affected","version":"2.7.x","versionType":"Enterprise Support Only"},{"lessThan":"3.1.16","status":"affected","version":"3.1.x","versionType":"Enterprise Support Only"},{"lessThan":"3.2.14","status":"affected","version":"3.2.x","versionType":"Enterprise Support Only"},{"lessThan":"3.3.11","status":"affected","version":"3.3.x","versionType":"OSS"},{"lessThan":"3.4.5","status":"affected","version":"3.4.x","versionType":"OSS"}],"platforms":[]}],"packages":[],"cwes":["CWE-20"],"aliases":[],"references":[{"url":"https://spring.io/security/cve-2025-22235","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20250516-0010/","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00441,"epssPercentile":0.39047,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-22235","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22235","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-22235","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-22235","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["spring"],"critical":[],"attention":null}