Lookup for vulnerabilities affecting packages.

Vulnerability_idVCID-b5bu-1gpr-5bbc
Summary
Spring Security annotation detection mechanism has authorization bypass
The 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.

Your application may be affected by this if you are using Spring Security's @EnableMethodSecurity feature.

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

This CVE is published in conjunction with  CVE-2025-41249 https://spring.io/security/cve-2025-41249 .
Aliases
0
alias CVE-2025-41248
1
alias GHSA-8v5q-rhf3-jphm
Fixed_packages
0
url pkg:maven/org.springframework.security/spring-security-core@6.4.10
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
1
url pkg:maven/org.springframework.security/spring-security-core@6.5.4
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
0
url pkg:maven/org.springframework.security/spring-security-core@6.4.0
purl pkg:maven/org.springframework.security/spring-security-core@6.4.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-9np9-s26y-87ch
1
vulnerability VCID-b5bu-1gpr-5bbc
2
vulnerability VCID-bxeh-gaxy-6uch
3
vulnerability VCID-n8yk-aw4d-7qda
4
vulnerability VCID-tyxn-hxfu-p3a6
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.4.0
1
url pkg:maven/org.springframework.security/spring-security-core@6.4.1
purl pkg:maven/org.springframework.security/spring-security-core@6.4.1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-b5bu-1gpr-5bbc
1
vulnerability VCID-n8yk-aw4d-7qda
2
vulnerability VCID-tyxn-hxfu-p3a6
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.4.1
2
url pkg:maven/org.springframework.security/spring-security-core@6.4.2
purl pkg:maven/org.springframework.security/spring-security-core@6.4.2
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-b5bu-1gpr-5bbc
1
vulnerability VCID-n8yk-aw4d-7qda
2
vulnerability VCID-tyxn-hxfu-p3a6
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.4.2
3
url pkg:maven/org.springframework.security/spring-security-core@6.4.3
purl pkg:maven/org.springframework.security/spring-security-core@6.4.3
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-b5bu-1gpr-5bbc
1
vulnerability VCID-n8yk-aw4d-7qda
2
vulnerability VCID-tyxn-hxfu-p3a6
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.4.3
4
url pkg:maven/org.springframework.security/spring-security-core@6.4.4
purl pkg:maven/org.springframework.security/spring-security-core@6.4.4
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-4ebc-ngad-mqa6
1
vulnerability VCID-b5bu-1gpr-5bbc
2
vulnerability VCID-n8yk-aw4d-7qda
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.4.4
5
url pkg:maven/org.springframework.security/spring-security-core@6.4.5
purl pkg:maven/org.springframework.security/spring-security-core@6.4.5
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-b5bu-1gpr-5bbc
1
vulnerability VCID-n8yk-aw4d-7qda
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.4.5
6
url pkg:maven/org.springframework.security/spring-security-core@6.4.6
purl pkg:maven/org.springframework.security/spring-security-core@6.4.6
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-b5bu-1gpr-5bbc
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.4.6
7
url pkg:maven/org.springframework.security/spring-security-core@6.4.7
purl pkg:maven/org.springframework.security/spring-security-core@6.4.7
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-b5bu-1gpr-5bbc
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.4.7
8
url pkg:maven/org.springframework.security/spring-security-core@6.4.8
purl pkg:maven/org.springframework.security/spring-security-core@6.4.8
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-b5bu-1gpr-5bbc
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.4.8
9
url pkg:maven/org.springframework.security/spring-security-core@6.4.9
purl pkg:maven/org.springframework.security/spring-security-core@6.4.9
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-b5bu-1gpr-5bbc
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.4.9
10
url pkg:maven/org.springframework.security/spring-security-core@6.5.0
purl pkg:maven/org.springframework.security/spring-security-core@6.5.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-9np9-s26y-87ch
1
vulnerability VCID-b5bu-1gpr-5bbc
2
vulnerability VCID-bxeh-gaxy-6uch
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.5.0
11
url pkg:maven/org.springframework.security/spring-security-core@6.5.1
purl pkg:maven/org.springframework.security/spring-security-core@6.5.1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-b5bu-1gpr-5bbc
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.5.1
12
url pkg:maven/org.springframework.security/spring-security-core@6.5.2
purl pkg:maven/org.springframework.security/spring-security-core@6.5.2
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-b5bu-1gpr-5bbc
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.5.2
13
url pkg:maven/org.springframework.security/spring-security-core@6.5.3
purl pkg:maven/org.springframework.security/spring-security-core@6.5.3
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-b5bu-1gpr-5bbc
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.5.3
References
0
reference_url https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-41248.json
reference_id
reference_type
scores
0
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
1
reference_url https://api.first.org/data/v1/epss?cve=CVE-2025-41248
reference_id
reference_type
scores
0
value 0.00057
scoring_system epss
scoring_elements 0.18033
published_at 2026-04-11T12:55:00Z
1
value 0.00057
scoring_system epss
scoring_elements 0.18017
published_at 2026-04-09T12:55:00Z
2
value 0.00057
scoring_system epss
scoring_elements 0.17956
published_at 2026-04-08T12:55:00Z
3
value 0.00057
scoring_system epss
scoring_elements 0.17869
published_at 2026-04-07T12:55:00Z
4
value 0.00057
scoring_system epss
scoring_elements 0.1817
published_at 2026-04-04T12:55:00Z
5
value 0.00057
scoring_system epss
scoring_elements 0.18117
published_at 2026-04-02T12:55:00Z
6
value 0.00062
scoring_system epss
scoring_elements 0.19029
published_at 2026-05-07T12:55:00Z
7
value 0.00062
scoring_system epss
scoring_elements 0.19118
published_at 2026-04-24T12:55:00Z
8
value 0.00062
scoring_system epss
scoring_elements 0.19109
published_at 2026-04-26T12:55:00Z
9
value 0.00062
scoring_system epss
scoring_elements 0.19064
published_at 2026-04-29T12:55:00Z
10
value 0.00062
scoring_system epss
scoring_elements 0.18948
published_at 2026-05-05T12:55:00Z
11
value 0.00065
scoring_system epss
scoring_elements 0.20163
published_at 2026-04-12T12:55:00Z
12
value 0.00065
scoring_system epss
scoring_elements 0.201
published_at 2026-04-21T12:55:00Z
13
value 0.00065
scoring_system epss
scoring_elements 0.20103
published_at 2026-04-18T12:55:00Z
14
value 0.00065
scoring_system epss
scoring_elements 0.20099
published_at 2026-04-16T12:55:00Z
15
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
2
reference_url https://github.com/spring-projects/spring-security
reference_id
reference_type
scores
0
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
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/spring-projects/spring-security
3
reference_url https://github.com/spring-projects/spring-security/commit/d0f93fa6d8338149943ae640c53db07de827867f
reference_id
reference_type
scores
0
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
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/spring-projects/spring-security/commit/d0f93fa6d8338149943ae640c53db07de827867f
4
reference_url https://github.com/spring-projects/spring-security/commit/e5694ac7b5e4394b920c6cab48b7bfbd871f84bd
reference_id
reference_type
scores
0
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
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/spring-projects/spring-security/commit/e5694ac7b5e4394b920c6cab48b7bfbd871f84bd
5
reference_url https://github.com/spring-projects/spring-security/issues/17898
reference_id
reference_type
scores
0
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
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/spring-projects/spring-security/issues/17898
6
reference_url https://github.com/spring-projects/spring-security/issues/17899
reference_id
reference_type
scores
0
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
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/spring-projects/spring-security/issues/17899
7
reference_url https://github.com/spring-projects/spring-security/releases/tag/6.4.10
reference_id
reference_type
scores
0
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
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/spring-projects/spring-security/releases/tag/6.4.10
8
reference_url https://github.com/spring-projects/spring-security/releases/tag/6.5.4
reference_id
reference_type
scores
0
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
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/spring-projects/spring-security/releases/tag/6.5.4
9
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
10
reference_url https://nvd.nist.gov/vuln/detail/CVE-2025-41248
reference_id CVE-2025-41248
reference_type
scores
0
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
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2025-41248
11
reference_url https://spring.io/security/cve-2025-41248
reference_id CVE-2025-41248
reference_type
scores
0
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
1
value HIGH
scoring_system generic_textual
scoring_elements
2
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
12
reference_url https://github.com/advisories/GHSA-8v5q-rhf3-jphm
reference_id GHSA-8v5q-rhf3-jphm
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-8v5q-rhf3-jphm
13
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
14
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
0
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.
1
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.
2
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.
3
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_score7.0 - 8.9
Exploitability0.5
Weighted_severity8.0
Risk_score4.0
Resource_urlhttp://public2.vulnerablecode.io/vulnerabilities/VCID-b5bu-1gpr-5bbc