{"id":"CVE-2026-74763","kind":"vulnerability","aliases":["CVE-2026-74763"],"related":[],"title":"Apache Shiro: authorization annotations skipped on some class and interface hierarchies","description":"Authorization annotations, such as @RequiresRoles and @RequiresPermissions, are not always enforced in some class or interface hierarchies.\nAnnotations declared on an interface were not enforced when using the shiro-guice, shiro-aspectj, shiro-cdi or shiro-jakarta-ee modules.\nIn addition, annotations declared on a class or a superclass were not always enforced when using shiro-guice or shiro-aspectj, allowing an unauthorized caller to invoke methods that should be protected.\nThis issue affects all Apache Shiro versions through 3.0.1, with impact depending on module and where annotations are declared.\n\nMitigation: Upgrade to version 3.0.2 or later, which fixes the issue. The annotation closest to the invoked method now takes precedence.\nAlternatively, declare authorization annotations directly on each protected implementing method.","summary":"Apache Shiro annotations such as @RequiresRoles and @RequiresPermissions are not always enforced when declared on interfaces, or on classes and superclasses in shiro-guice and shiro-aspectj. An unauthorized caller can invoke methods that should be protected.","severity":"medium","cvss":6.3,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["apache-shiro","java","package","shiro-aspectj","shiro-cdi","shiro-guice","shiro-jakarta-ee"],"not_affected_if":["no-shiro-annotations","shiro-core-only"],"how_to_check":"- Look for Apache Shiro in dependencies, for example `shiro-guice`, `shiro-aspectj`, `shiro-cdi` or `shiro-jakarta-ee`.\n- Check whether authorization annotations are declared on interfaces or superclasses rather than on each implementing method.","fix":"- Apache Shiro: upgrade to `3.0.2` or later.\n- Alternative stated by the source: declare authorization annotations directly on each protected implementing method.","status":"open","published_at":"2026-11-16T14:17:08+00:00","first_seen_at":"2026-11-16T14:37:00+00:00","triaged_at":"2026-11-16T14:37:20+00:00","updated_at":"2026-11-16T14:37:20+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-11-16T14:37:20Z","model":"claude-haiku-5-5","output":{"fix":"- Apache Shiro: upgrade to `3.0.2` or later.\n- Alternative stated by the source: declare authorization annotations directly on each protected implementing method.","reach":"unknown","title":"Apache Shiro: authorization annotations skipped on some class and interface hierarchies","impact":"medium","summary":"Apache Shiro annotations such as @RequiresRoles and @RequiresPermissions are not always enforced when declared on interfaces, or on classes and superclasses in shiro-guice and shiro-aspectj. An unauthorized caller can invoke methods that should be protected.","audience":"developers","category":"package","nicknames":[],"who_cares":["apache-shiro","java","shiro-guice","shiro-aspectj","shiro-cdi","shiro-jakarta-ee"],"confidence":0.7,"fix_status":"available","needs_auth":"unknown","worst_case":"unauthorized callers invoke protected methods","analyst_note":"","how_to_check":"- Look for Apache Shiro in dependencies, for example `shiro-guice`, `shiro-aspectj`, `shiro-cdi` or `shiro-jakarta-ee`.\n- Check whether authorization annotations are declared on interfaces or superclasses rather than on each implementing method.","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["no-shiro-annotations","shiro-core-only"],"who_is_affected":"Applications that use Apache Shiro with the shiro-guice, shiro-aspectj, shiro-cdi or shiro-jakarta-ee modules and protect methods with @RequiresRoles or @RequiresPermissions. Annotations on interfaces are affected in all four modules, and annotations on classes or superclasses are affected in shiro-guice and shiro-aspectj. Applications that do not use these modules or annotations can skip it.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"unknown"},"cost_usd":0.000814,"input_tokens":4742,"output_tokens":679,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-2026':13A,16A '-74763':14A,17A '3.0.1':160C '3.0.2':175C 'addit':119C 'affect':154C 'allow':141C 'altern':192C 'alway':46B,84C,130C 'annot':4A,38B,76C,92C,120C,168C,183C,195C 'apach':1A,19B,36B,156C 'apache-shiro':18B 'aspectj':25B,64B,108C,140C 'author':3A,75C,194C 'caller':67B,144C 'cdi':28B,111C 'class':8A,54B,88C,124C 'closest':184C 'cve':12A,15A 'declar':49B,93C,121C,170C,193C 'depend':163C 'direct':196C 'ee':35B,116C 'enforc':47B,85C,99C,131C 'fix':179C 'guic':31B,60B,105C,136C 'hierarchi':11A,91C 'impact':162C 'implement':200C 'interfac':10A,51B,90C,96C 'invok':69B,146C,187C 'issu':153C,181C 'jakarta':34B,115C 'java':21B 'later':177C 'method':70B,147C,188C,201C 'mitig':171C 'modul':117C,165C 'packag':22B 'preced':191C 'protect':74B,151C,199C 'requirespermiss':43B,81C 'requiresrol':41B,79C 'shiro':2A,20B,24B,27B,30B,33B,37B,59B,63B,104C,107C,110C,114C,135C,139C,157C 'shiro-aspectj':23B,62B,106C,138C 'shiro-cdi':26B,109C 'shiro-guic':29B,58B,103C,134C 'shiro-jakarta-e':32B,113C 'skip':5A 'superclass':56B,127C 'take':190C 'unauthor':66B,143C 'upgrad':172C 'use':101C,133C 'version':158C,174C","nicknames":[],"mitigations":[],"who_affected":"Applications that use Apache Shiro with the shiro-guice, shiro-aspectj, shiro-cdi or shiro-jakarta-ee modules and protect methods with @RequiresRoles or @RequiresPermissions. Annotations on interfaces are affected in all four modules, and annotations on classes or superclasses are affected in shiro-guice and shiro-aspectj. Applications that do not use these modules or annotations can skip it.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["apacheshiro","java","medium","package","shiroaspectj","shirocdi","shiroguice","shirojakartaee"],"campaign_type":null,"search_a":"'-2026':13A,16A '-74763':14A,17A 'annot':4A 'apach':1A 'author':3A 'class':8A 'cve':12A,15A 'hierarchi':11A 'interfac':10A 'shiro':2A 'skip':5A","search_b":"'alway':46B 'annot':38B 'apach':19B,36B 'apache-shiro':18B 'aspectj':25B,64B 'caller':67B 'cdi':28B 'class':54B 'declar':49B 'ee':35B 'enforc':47B 'guic':31B,60B 'interfac':51B 'invok':69B 'jakarta':34B 'java':21B 'method':70B 'packag':22B 'protect':74B 'requirespermiss':43B 'requiresrol':41B 'shiro':20B,24B,27B,30B,33B,37B,59B,63B 'shiro-aspectj':23B,62B 'shiro-cdi':26B 'shiro-guic':29B,58B 'shiro-jakarta-e':32B 'superclass':56B 'unauthor':66B","search_c":"'3.0.1':160C '3.0.2':175C 'addit':119C 'affect':154C 'allow':141C 'altern':192C 'alway':84C,130C 'annot':76C,92C,120C,168C,183C,195C 'apach':156C 'aspectj':108C,140C 'author':75C,194C 'caller':144C 'cdi':111C 'class':88C,124C 'closest':184C 'declar':93C,121C,170C,193C 'depend':163C 'direct':196C 'ee':116C 'enforc':85C,99C,131C 'fix':179C 'guic':105C,136C 'hierarchi':91C 'impact':162C 'implement':200C 'interfac':90C,96C 'invok':146C,187C 'issu':153C,181C 'jakarta':115C 'later':177C 'method':147C,188C,201C 'mitig':171C 'modul':117C,165C 'preced':191C 'protect':151C,199C 'requirespermiss':81C 'requiresrol':79C 'shiro':104C,107C,110C,114C,135C,139C,157C 'shiro-aspectj':106C,138C 'shiro-cdi':109C 'shiro-guic':103C,134C 'shiro-jakarta-e':113C 'superclass':127C 'take':190C 'unauthor':143C 'upgrad':172C 'use':101C,133C 'version':158C,174C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T14:17:08+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:N/R:X/V:D/RE:L/U:Amber","cvss_by":"security@apache.org","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-74763","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74763","severity":null,"published_at":"2026-11-16T14:17:08+00:00","modified_at":"2026-11-16T14:17:08+00:00","first_seen_at":"2026-11-16T14:37:00+00:00","fetched_at":"2026-11-16T14:37:00+00:00","note":null}],"documents":[],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}