{
  "id": "CVE-2025-41248",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-41248",
  "published_at": "2025-09-16T10:10:59.953Z",
  "title": "CVE-2025-41248: Spring Security authorization bypass for method security annotations on parameterized types",
  "vendor": "VMware",
  "product": "Spring Security",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.\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 .",
  "cwe": "CWE-289",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "VMware",
        "product": "Spring Security",
        "ranges": [
          "\u003e= 6.4.x, \u003c 6.4.11",
          "\u003e= 6.5.x, \u003c 6.5.5"
        ],
        "fixed_in": [
          "6.4.11",
          "6.5.5"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Spring Security to 6.4.11 or 6.5.5 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
