{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/21208?format=json","vulnerability_id":"VCID-b5bu-1gpr-5bbc","summary":"Spring Security annotation detection mechanism has authorization bypass\nThe Spring Security annotation detection mechanism may not correctly resolve annotations on methods within type hierarchies with a parameterized super type with unbounded generics. This can be an issue when using @PreAuthorize and other method security annotations, resulting in an authorization bypass.\n\nYour application may be affected by this if you are using Spring Security's @EnableMethodSecurity feature.\n\nYou are not affected by this if you are not using @EnableMethodSecurity or if you do not use security annotations on methods in generic superclasses or generic interfaces.\n\nThis CVE is published in conjunction with  CVE-2025-41249 https://spring.io/security/cve-2025-41249 .","aliases":[{"alias":"CVE-2025-41248"},{"alias":"GHSA-8v5q-rhf3-jphm"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/63356?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@6.4.10","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.4.10"},{"url":"http://public2.vulnerablecode.io/api/packages/63357?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@6.5.4","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.5.4"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/63354?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@6.4.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-9np9-s26y-87ch"},{"vulnerability":"VCID-b5bu-1gpr-5bbc"},{"vulnerability":"VCID-bxeh-gaxy-6uch"},{"vulnerability":"VCID-n8yk-aw4d-7qda"},{"vulnerability":"VCID-tyxn-hxfu-p3a6"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.4.0"},{"url":"http://public2.vulnerablecode.io/api/packages/756167?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@6.4.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-b5bu-1gpr-5bbc"},{"vulnerability":"VCID-n8yk-aw4d-7qda"},{"vulnerability":"VCID-tyxn-hxfu-p3a6"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.4.1"},{"url":"http://public2.vulnerablecode.io/api/packages/756168?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@6.4.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-b5bu-1gpr-5bbc"},{"vulnerability":"VCID-n8yk-aw4d-7qda"},{"vulnerability":"VCID-tyxn-hxfu-p3a6"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.4.2"},{"url":"http://public2.vulnerablecode.io/api/packages/756169?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@6.4.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-b5bu-1gpr-5bbc"},{"vulnerability":"VCID-n8yk-aw4d-7qda"},{"vulnerability":"VCID-tyxn-hxfu-p3a6"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.4.3"},{"url":"http://public2.vulnerablecode.io/api/packages/61835?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@6.4.4","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4ebc-ngad-mqa6"},{"vulnerability":"VCID-b5bu-1gpr-5bbc"},{"vulnerability":"VCID-n8yk-aw4d-7qda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.4.4"},{"url":"http://public2.vulnerablecode.io/api/packages/61837?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@6.4.5","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-b5bu-1gpr-5bbc"},{"vulnerability":"VCID-n8yk-aw4d-7qda"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.4.5"},{"url":"http://public2.vulnerablecode.io/api/packages/71137?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@6.4.6","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-b5bu-1gpr-5bbc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.4.6"},{"url":"http://public2.vulnerablecode.io/api/packages/809374?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@6.4.7","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-b5bu-1gpr-5bbc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.4.7"},{"url":"http://public2.vulnerablecode.io/api/packages/809375?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@6.4.8","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-b5bu-1gpr-5bbc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.4.8"},{"url":"http://public2.vulnerablecode.io/api/packages/809376?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@6.4.9","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-b5bu-1gpr-5bbc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.4.9"},{"url":"http://public2.vulnerablecode.io/api/packages/63355?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@6.5.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-9np9-s26y-87ch"},{"vulnerability":"VCID-b5bu-1gpr-5bbc"},{"vulnerability":"VCID-bxeh-gaxy-6uch"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.5.0"},{"url":"http://public2.vulnerablecode.io/api/packages/809377?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@6.5.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-b5bu-1gpr-5bbc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.5.1"},{"url":"http://public2.vulnerablecode.io/api/packages/809378?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@6.5.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-b5bu-1gpr-5bbc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.5.2"},{"url":"http://public2.vulnerablecode.io/api/packages/809379?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@6.5.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-b5bu-1gpr-5bbc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.5.3"}],"references":[{"reference_url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-41248.json","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-41248.json"},{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2025-41248","reference_id":"","reference_type":"","scores":[{"value":"0.00057","scoring_system":"epss","scoring_elements":"0.18033","published_at":"2026-04-11T12:55:00Z"},{"value":"0.00057","scoring_system":"epss","scoring_elements":"0.18017","published_at":"2026-04-09T12:55:00Z"},{"value":"0.00057","scoring_system":"epss","scoring_elements":"0.17956","published_at":"2026-04-08T12:55:00Z"},{"value":"0.00057","scoring_system":"epss","scoring_elements":"0.17869","published_at":"2026-04-07T12:55:00Z"},{"value":"0.00057","scoring_system":"epss","scoring_elements":"0.1817","published_at":"2026-04-04T12:55:00Z"},{"value":"0.00057","scoring_system":"epss","scoring_elements":"0.18117","published_at":"2026-04-02T12:55:00Z"},{"value":"0.00062","scoring_system":"epss","scoring_elements":"0.19029","published_at":"2026-05-07T12:55:00Z"},{"value":"0.00062","scoring_system":"epss","scoring_elements":"0.19118","published_at":"2026-04-24T12:55:00Z"},{"value":"0.00062","scoring_system":"epss","scoring_elements":"0.19109","published_at":"2026-04-26T12:55:00Z"},{"value":"0.00062","scoring_system":"epss","scoring_elements":"0.19064","published_at":"2026-04-29T12:55:00Z"},{"value":"0.00062","scoring_system":"epss","scoring_elements":"0.18948","published_at":"2026-05-05T12:55:00Z"},{"value":"0.00065","scoring_system":"epss","scoring_elements":"0.20163","published_at":"2026-04-12T12:55:00Z"},{"value":"0.00065","scoring_system":"epss","scoring_elements":"0.201","published_at":"2026-04-21T12:55:00Z"},{"value":"0.00065","scoring_system":"epss","scoring_elements":"0.20103","published_at":"2026-04-18T12:55:00Z"},{"value":"0.00065","scoring_system":"epss","scoring_elements":"0.20099","published_at":"2026-04-16T12:55:00Z"},{"value":"0.00065","scoring_system":"epss","scoring_elements":"0.20105","published_at":"2026-04-13T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2025-41248"},{"reference_url":"https://github.com/spring-projects/spring-security","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/spring-projects/spring-security"},{"reference_url":"https://github.com/spring-projects/spring-security/commit/d0f93fa6d8338149943ae640c53db07de827867f","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/spring-projects/spring-security/commit/d0f93fa6d8338149943ae640c53db07de827867f"},{"reference_url":"https://github.com/spring-projects/spring-security/commit/e5694ac7b5e4394b920c6cab48b7bfbd871f84bd","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/spring-projects/spring-security/commit/e5694ac7b5e4394b920c6cab48b7bfbd871f84bd"},{"reference_url":"https://github.com/spring-projects/spring-security/issues/17898","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/spring-projects/spring-security/issues/17898"},{"reference_url":"https://github.com/spring-projects/spring-security/issues/17899","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/spring-projects/spring-security/issues/17899"},{"reference_url":"https://github.com/spring-projects/spring-security/releases/tag/6.4.10","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/spring-projects/spring-security/releases/tag/6.4.10"},{"reference_url":"https://github.com/spring-projects/spring-security/releases/tag/6.5.4","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/spring-projects/spring-security/releases/tag/6.5.4"},{"reference_url":"https://bugzilla.redhat.com/show_bug.cgi?id=2395723","reference_id":"2395723","reference_type":"","scores":[],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2395723"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2025-41248","reference_id":"CVE-2025-41248","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-41248"},{"reference_url":"https://spring.io/security/cve-2025-41248","reference_id":"CVE-2025-41248","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-09-16T19:27:50Z/"}],"url":"https://spring.io/security/cve-2025-41248"},{"reference_url":"https://github.com/advisories/GHSA-8v5q-rhf3-jphm","reference_id":"GHSA-8v5q-rhf3-jphm","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-8v5q-rhf3-jphm"},{"reference_url":"https://access.redhat.com/errata/RHSA-2025:18028","reference_id":"RHSA-2025:18028","reference_type":"","scores":[],"url":"https://access.redhat.com/errata/RHSA-2025:18028"},{"reference_url":"https://access.redhat.com/errata/RHSA-2025:22765","reference_id":"RHSA-2025:22765","reference_type":"","scores":[],"url":"https://access.redhat.com/errata/RHSA-2025:22765"}],"weaknesses":[{"cwe_id":863,"name":"Incorrect Authorization","description":"The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. This allows attackers to bypass intended access restrictions."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."},{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."},{"cwe_id":289,"name":"Authentication Bypass by Alternate Name","description":"The product performs authentication based on the name of a resource being accessed, or the name of the actor performing the access, but it does not properly check all possible names for that resource or actor."}],"exploits":[],"severity_range_score":"7.0 - 8.9","exploitability":"0.5","weighted_severity":"8.0","risk_score":4.0,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-b5bu-1gpr-5bbc"}