Jetty @ServletSecurity vs web.xml security-constraint url-pattern Mixing Bug
CVE-2026-18661 Published on October 15, 2026
In Eclipse Jetty, across various versions of `jetty-annotations`, and `jetty-eeN-annotations`, the Jakarta Spec authoritative url-pattern rules for mixed `@ServletSecurity` annotation, and `web.xml` defined `security-constraint` on the same `url-pattern` were not being applied if the `web.xml` had more than 1 `url-pattern` for a servlet, and had a `security-constraint` applying to only some of those `url-pattern` definitions.
Vulnerability Analysis
CVE-2026-18661 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. An automatable proof of concept (POC) exploit exists. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity and availability.
Weakness Type
What is an AuthZ Vulnerability?
The software 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.
CVE-2026-18661 has been classified to as an AuthZ vulnerability or weakness.
Products Associated with CVE-2026-18661
Want to know whenever a new CVE is published for Eclipse Jetty? stack.watch will email you.
Affected Versions
Eclipse Foundation org.eclipse.jetty.ee11:jetty-ee11-annotations:- Version 12.1.0, <= 12.1.11 is affected.
- Version 12.1.0, <= 12.1.11 is affected.
- Version 12.0.0, <= 12.0.38 is affected.
- Version 12.1.0, <= 12.1.11 is affected.
- Version 12.0.0, <= 12.0.38 is affected.
- Version 12.1.0, <= 12.1.11 is affected.
- Version 12.0.0, <= 12.0.38 is affected.
- Version 11.0.0, <= 11.0.32 is affected.
- Version 10.0.0, <= 10.0.32 is affected.
- Version 9.4.0, <= 9.4.64 is affected.