{
  "id": "CVE-2025-41232",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-41232",
  "published_at": "2025-05-21T10:23:07.078Z",
  "title": "CVE-2025-41232: Spring Security authorization bypass for method security annotations on private methods",
  "vendor": "Spring",
  "product": "Spring Security",
  "cvss": {
    "score": 9.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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": "Spring Security Aspects may not correctly locate method security annotations on private methods. This can cause an authorization bypass.\n\nYour application may be affected by this if the following are true:\n\n  *  You are using @EnableMethodSecurity(mode=ASPECTJ) and spring-security-aspects, and\n  *  You have Spring Security method annotations on a private method\nIn that case, the target method may be able to be invoked without proper authorization.\n\nYou are not affected if:\n\n  *  You are not using @EnableMethodSecurity(mode=ASPECTJ) or spring-security-aspects, or\n  *  You have no Spring Security-annotated private methods",
  "cwe": "CWE-693",
  "cvss_by_source": {
    "cna": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Spring",
        "product": "Spring Security",
        "ranges": [
          "\u003e= 6.4.x, \u003c 6.4.6"
        ],
        "fixed_in": [
          "6.4.6"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Spring Security to 6.4.6 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
