CVE-2026-18661

Authorization Bypass via Mixed @ServletSecurity and web.xml Constraints in Eclipse Jetty

Published Oct 15, 2026 CVSS 4.0 · 8.8 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

In Eclipse Jetty versions that use jetty-annotations or jetty-eeN-annotations, the framework failed to enforce Jakarta Spec authoritative url-pattern rules when a servlet had both a @ServletSecurity annotation and a web.xml security-constraint that applied to some, but not all, of the servlet’s url-patterns. This flaw allowed an attacker to request a URL that matched a servlet’s url-pattern covered by @ServletSecurity but not by the web.xml constraint, thereby bypassing the intended access control enforcement. The weakness is classified as CWE-863: Role-Based Access Control Weakness.

Affected Systems

The vulnerability affects all deployments of Eclipse Jetty that incorporate jetty-annotations or jetty-eeN-annotations across various Jetty releases. Exact affected version ranges are not specified in the available data, so any Jetty installation using these annotation modules should be considered at risk until a vendor patch is applied.

Risk and Exploitability

The CVSS score of 8.8 indicates critical severity, while an EPSS score of less than 1% shows that exploitation probability is currently very low. The vulnerability is not listed in the CISA KEV catalog, reducing the likelihood of known public exploits. Attackers would need to exploit the servlet deployment by requesting specific URL patterns that trigger the misapplied constraints, making the attack vector primarily web-based and dependent on the presence of mismatched @ServletSecurity and web.xml configurations.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Jetty patch that addresses the @ServletSecurity and web.xml constraint enforcement issue.
  • When a patch is not yet available, modify web.xml to explicitly apply security-constraint to all url-patterns used by the servlet, ensuring no pattern is omitted.
  • Avoid mixing @ServletSecurity annotations with web.xml security-constraints for the same servlet; consolidate security definitions into a single source.

Generated by OpenCVE AI on October 25, 2026 at 17:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Authorization Bypass via Mixed @ServletSecurity and web.xml Constraints in Eclipse Jetty
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Weaknesses CWE-863
References
Metrics cvssV4_0

{'score': 8.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
eclipse
Published
Updated
Oct 15, 2026, 1:46 PM
Reserved
Aug 3, 2026, 1:21 PM
Status
Awaiting Analysis
Published
Oct 15, 2026, 9:17 AM
Modified
Oct 15, 2026, 2:41 PM