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.

NVD

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.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE

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: Eclipse Foundation org.eclipse.jetty.ee10:jetty-ee10-annotations: Eclipse Foundation org.eclipse.jetty.ee9:jetty-ee9-annotations: Eclipse Foundation org.eclipse.jetty.ee8:jetty-ee8-annotations: Eclipse Foundation org.eclipse.jetty:jetty-annotations: