Java vulnerabilities of the week: 26 November to 2 December 2026
Security coverage hands you a CVE identifier and a CVSS score. Those two things tell you how quickly to book a maintenance window and almost nothing about what actually broke. The mechanism is the part worth keeping, because once you have seen a bug in someone else’s code you start to notice its shape in your own. That is the reason I write these down every week. The longer version of the argument is in the CVE stigma post.
This was another heavy Apache week, with large batches landing on Sunday 30 November and Monday 1 December. Last week the recurring fault was a control in the wrong place: a scope filter that switched off, an SSH command ACL that did not cover every door. This week the controls are mostly in the right place and reading the wrong value. A role check that compares by substring instead of by exact value. An LDAP bind that returns success for a reason that is not authentication. An action resolved from a different spelling of the path than the one a proxy authorized. Different projects, one underlying question: when the check runs, is it comparing the thing you think it is comparing.
The two I take apart are Apache Camel’s camel-netty-http, where a security constraint matched roles by substring instead of by exact value, and Apache Shiro, where an empty password turned into an anonymous LDAP bind and a completed login.
The week in five
-
Apache Struts, ten CVEs, disclosed 30 November, fixed in 6.13.0 and 7.5.0. The one to read first is
CVE-2026-133637(S2-081, Moderate): with the Bean Validation plugin, a validation message that places the submitted value into its text could have that value evaluated as an expression rather than shown as text, which may lead to remote code execution, though Struts 7 is affected only when the OGNL allowlist is disabled and it is on by default. The most severe isCVE-2026-133642(S2-086, Important): Struts derived the action path from the request as received rather than from the path the servlet container had already decoded and normalised, so a request authorized under one path by a container, filter or reverse proxy can execute as a different action, bypassing URL-pattern authorization andstruts.action.excludePattern. The rest are twojava.math.BigDecimalamplification bugs usable for unauthenticated denial of service (CVE-2026-133640, an incomplete fix forCVE-2026-104712, andCVE-2026-133641), two HTTP method restrictions (@HttpPostand friends) not enforced depending on where the annotation sits and whether the mapping names the method (CVE-2026-133644,CVE-2026-133649), stored and reflected XSS (CVE-2026-133639,CVE-2026-133643), a CSRF token bypass through the Execute and Wait interceptor (CVE-2026-133638) and a Fetch Metadata origin check that did not hold (CVE-2026-133636). Affected ranges vary across 2.5.x, 6.0.0 through 6.12.0 and 7.0.0 through 7.4.0. -
Apache Camel, three CVEs, disclosed 30 November, fixed in 4.18.6, 4.22.2 and 4.23.0.
CVE-2026-105966(camel-undertow, High, CVSS 3.1 7.5): the configuredsecurityProviderandallowedRoleswere not enforced on WebSocket endpoints, so a client could open a WebSocket consumer without the authentication and role checks that apply to the HTTP endpoints and reach a route the application meant to protect.CVE-2026-105968(camel-netty-http, Medium, CVSS 3.1 5.9): security-constraint roles were compared to the authenticated roles by substring rather than by exact value, so a role whose name merely contains a required role satisfies a constraint it should not; second deep dive below.CVE-2026-103873(camel-spring-ws, Medium, CVSS 3.1 5.3): the configuredHeaderFilterStrategywas not applied to outbound SOAP responses, so Camel-internal headers set during routing (names beginningCamel,camelororg.apache.camel.) were copied into the response to the client. All affect4.0.0before4.18.6and4.19.0before4.22.2. Thecamel-spring-wsreport is mine; the other two are credited to Yuval Saggie and Mor Weinberger, powered by Echo Frontier. -
Apache Shiro,
CVE-2026-137686, Medium, CVSS 4.0 6.3, disclosed 27 November, fixed in 3.0.2.ActiveDirectoryRealmaccepted an empty username and password as an anonymous LDAP bind, so an unauthenticated user could log in with an empty principal. The advisory records it as an incomplete fix forCVE-2014-0074. It affects all Shiro versions through3.0.1, and only whenActiveDirectoryRealmis used withoutprincipalSuffixand the directory server allows anonymous binds. First deep dive below. The finder is Sungho Park. -
Apache NiFi, eight CVEs, disclosed 1 December, fixed in 2.13.0. The sharp one is
CVE-2026-107163(High, CVSS 4.0 7.6): in a cluster, NiFi identifies the replicated user through theX-ProxiedEntitiesChainheader, and it did not remove a differently cased copy supplied by the client, so later header normalisation can let the client value replace the authenticated identity and run requests as someone else (clusters only).CVE-2026-97733(Medium): a Controller Service references API authorised state changes using the revisions supplied in the request, so an empty or incomplete set passed the check while the framework resolved and updated the full transitive set.CVE-2026-111725(Medium): theJoltTransformJSONadvanced UI resolves names absent from the request attributes out of the process environment and JVM system properties, readable by an authenticated user with no granted policies.CVE-2026-116636(Medium): CSRF protection was conditioned on the Authorization Bearer cookie, so X.509 client-certificate logins skipped it. Four more (CVE-2026-97734,CVE-2026-107164,CVE-2026-107165,CVE-2026-116607) are further missing-authorization and preview-evaluation issues around parameter contexts and the Jolt preview. Affected ranges reach through2.12.0; several are credited to Adam Korczynski. -
Apache TinkerPop, two CVEs, disclosed 1 December, fixed in 3.7.7 and 3.8.2.
CVE-2026-134135(Important) is deserialization of untrusted data ingremlin-serverthrough the GraphSON and GraphBinary formats, which creates the potential for authenticated users to escalate privileges and execute arbitrary code.CVE-2026-74249(Important) is an unbounded pre-allocation in the GraphBinary deserializer ingremlin-core, a classic size field read from the wire and trusted, usable for denial of service. Both affect the lines through3.7.6and3.8.0through3.8.1. The finder is n0mi1k Security.
Four honourable mentions. Apache OpenMeetings published eighteen CVEs on 29 November, all fixed in 9.2.0, a long run of object-level authorization gaps where an authenticated user can reach another user’s rooms, files and appointments, and among them CVE-2026-112162, an LDAP authentication bypass via empty password that I come back to in the Shiro section. Apache JSPWiki disclosed twenty-two CVEs dated 25 November, consolidated onto oss-security on 30 November and fixed in 3.0.1 and the 2.12.x line: mostly cross-site scripting, plus a login-flow session fixation scored 10.0 (CVE-2026-78114), a page-level ACL bypass (CVE-2026-78098) and an unsafe-reflection denial of service (CVE-2026-78102). Apache Karaf added two config-service CVEs on 1 December (CVE-2026-140880, Moderate, and CVE-2026-141271, Important): the config service chose the file to write from the caller-supplied felix.fileinstall.filename, and the earlier fix for CVE-2026-91012 in 4.4.12 narrowed that to ${karaf.etc}, where admin-reserved files such as etc/users.properties and the JMX and command ACLs also live, so a manager user could overwrite one and gain admin; 4.4.13 and 4.5.0 restrict a write to a file named after its own PID. And Apache Commons BCEL shipped CVE-2026-138277 (fixed in 6.14.1), a stored XSS where Class2HTML writes unknown method attribute names into HTML reports without escaping, an incomplete fix for CVE-2026-105111, which matters only if you render attacker-controlled class files.
Apache Camel: match the role, not a role that contains it
Camel’s HTTP consumer components let you put a security constraint in front of a route. In camel-netty-http you give the endpoint a securityProvider that authenticates the incoming request, and a SecurityConstraintMapping that says which authenticated roles may reach which paths. The roles are strings: the principal carries granted role names, the constraint names the roles a path requires, and the component compares the two.
In the affected versions that comparison used substring matching rather than exact equality. The constraint asked, in effect, whether a required role appears as a substring of the caller’s roles, not whether the caller holds that exact role. So if a path requires admin, a caller whose granted roles include administrator, superadmin or admin-readonly passes, because each of those strings contains admin. The failure is quiet in the same way most authorization failures are quiet: the allowed caller gets in, the request succeeds, and nothing in the logs says the gate opened for a role the path never listed. CVE-2026-105968 is Medium at CVSS 5.9 because the attacker needs an authenticated role whose name happens to contain the required one, which is situational until you have a deployment where role names share a stem.
The fix in 4.18.6, 4.22.2 and 4.23.0 compares security-constraint roles by exact value. There is no configuration flag to set in the meantime, so the action is to upgrade, and while you are there its worth looking at your role names, because the bug does the most damage where role names share a stem. This issue was found by Yuval Saggie and Mor Weinberger, powered by Echo Frontier.
Why I find it interesting
This is CWE-697, an incorrect comparison, surfacing as improper authorization. A decision that is really set membership (is this exact role present in the caller’s granted roles) was implemented as a substring test, and a substring test answers a different and much weaker question. The general class is everywhere and reads as harmless at the call site. A CORS check that accepts an origin because it startsWith your domain lets yourdomain.evil.com through. A JWT audience or scope check that uses contains on a concatenated claim lets an unrelated scope satisfy a required one. The habit this leaves me with is to treat every identifier in an authorization path as something you compare for exact equality against a set, and to be suspicious of any contains, startsWith, endsWith or unanchored pattern that sits on the allow side of a gate. It is the kind of bug you can explain to a junior developer in two minutes, and they will remember it the next time they reach for contains.
Apache Shiro: an empty password is not a credential
Shiro authenticates against pluggable realms, and ActiveDirectoryRealm authenticates by performing an LDAP bind against Active Directory with the username and password the caller submitted. If the bind succeeds, the caller is authenticated. That rests on an assumption worth making explicit: that a successful bind means the directory checked the password. LDAP does not always mean that. A simple bind with a zero-length password is defined in RFC 4513 (section 5.1.2) as an unauthenticated authentication mechanism, and a bind with both name and password empty is an anonymous bind. Many directories accept both and return success, because the client is explicitly asking not to authenticate. The bind succeeding there means your connected as nobody, not that your credential was verified.
CVE-2026-137686 is what happens when that distinction is not made. In versions through 3.0.1, ActiveDirectoryRealm passed an empty username and password straight into the bind, the directory performed an anonymous bind and returned success, and Shiro read that success as a completed authentication, logging the request in with an empty principal. The preconditions: ActiveDirectoryRealm in use, principalSuffix not set, and the directory allowing anonymous binds. The principalSuffix detail explains why many deployments were never exposed: when it is set, Shiro appends it to the username to build the bind name (so user becomes user@example.com), and an empty username becomes a non-empty bind name that never takes the anonymous path. CVE-2014-0074 addressed the same empty-credential behaviour for the LDAP realm path years earlier; the ActiveDirectoryRealm path kept accepting empty credentials, and CVE-2026-137686, reported by Sungho Park, completes that fix in 3.0.2.
The same week, Apache OpenMeetings disclosed CVE-2026-112162 (fixed in 9.2.0), the same mechanism in an unrelated project: an unauthenticated attacker can log in as any LDAP-backed user by submitting that user’s login with an empty password, against a directory that accepts an unauthenticated bind, and the OpenMeetings advisory cites the same RFC 4513 section. Two codebases that share nothing but the protocol, the same degenerate bind, disclosed within days. Upgrade Shiro to 3.0.2, and if you cannot yet, set principalSuffix or disable anonymous and unauthenticated binds on the directory. The directory-side change is the one I would make first where it is available, because rejecting zero-length-password binds protects every application in front of that directory, not only this one.
Why I find it interesting
This is CWE-287, improper authentication, of the specific kind where a backend call returns success for a reason other than the credential checking out. The LDAP unauthenticated bind is the textbook example, and it rhymes with the authentication failures from the 12 to 18 November post, where credential checks defaulted to success. The broader class is any auth code that treats the call did not throw, or the call returned true, as proof of identity. A degenerate input that makes the backend succeed for a different reason then becomes a bypass: an empty string, a null, a zero-length password, a wildcard, a default account. The question to put to an authentication backend is not did it succeed but did it verify what I think it verified, and the cheapest way to hold the line is to reject empty or degenerate credentials in the application before they ever reach the backend, so the backend never gets the chance to say yes for the wrong reason.
What I take away from this week
First, the controls that broke were not missing or weak, they were reading the wrong value. Camel’s constraint compared the right field with the wrong operator. Shiro handed the right credential to the right backend and read the wrong meaning out of success. The review question that covers both is narrow: for each check, what exact value is being compared, and is it the same value, in the same form, that the layer in front authorized. Substring where you needed equality, a success code where you needed a verified fact: the gate is in the right place and still opens.
Second, a tighter version of that runs through the HTTP-layer items as a representation mismatch. Struts resolved an action from a different spelling of the path than the container, filter or proxy that authorized the request (CVE-2026-133642), and NiFi let a differently cased copy of its proxied-entity identity header survive normalisation (CVE-2026-107163): two components disagreeing about the canonical form of the same input, with the authorization decision attached to one form and the real effect to the other, and both fixes move the decision onto the form the downstream actually uses. The WebSocket cases are a sibling, where the upgrade is a second door into the same handler: camel-undertow did not run its security constraints on it, and Apache Unomi disclosed CVE-2026-126628 the same week, a GraphQL WebSocket upgrade that could complete without authentication (fixed in 3.1.0 and 4.0.0, GraphQL off by default). If you put URL-pattern authorization in front of a framework, confirm the framework resolves the same path you authorized, and that the WebSocket path runs the same checks as the HTTP one.
Third, where the fixes reach people, because almost all of these are direct upgrades rather than transitive BOM bumps: Struts 6.13.0 or 7.5.0, Camel 4.18.6/4.22.2/4.23.0, Shiro 3.0.2, NiFi 2.13.0, TinkerPop 3.7.7 or 3.8.2, OpenMeetings 9.2.0, JSPWiki 3.0.1 or the 2.12.x line, Karaf 4.4.13 or 4.5.0, Commons BCEL 6.14.1. Three travel as dependencies rather then as servers you administer, so check your lockfile for them: Shiro, embedded as the security layer inside other applications; TinkerPop, because Gremlin sits under graph databases; and Commons BCEL, which rides under bytecode tooling. Camel users on Spring Boot or Quarkus will get the component fixes through those BOMs; direct Camel users bump the component. One continuity note on Karaf: 4.4.13 and 4.5.0 are the same releases that carried last week’s command-ACL fixes, so single upgrade covers both sets.
Fourth, and briefly, the finding side keeps naming AI, and I go on reporting it as the fact it is. Struts credits Adam Korczynski of Ada Logics, working for Anthropic, on the Bean Validation expression-injection bug and the Execute and Wait token bug, and credits Claude and Ada Logics together on the Javatemplates XSS. That is a fourth week running with at least one AI-attributed find in the set. I note it and no more, because who or what found a bug does not change the mechanism, and the mechanism is what these posts are for.
References
- oss-security: CVE-2026-133637 Apache Struts Bean Validation expression evaluation - Openwall oss-security
- oss-security: CVE-2026-133642 Apache Struts action mapped from a path the container did not authorize - Openwall oss-security
- oss-security: CVE-2026-133640 Apache Struts BigDecimal rendering amplification (incomplete fix) - Openwall oss-security
- oss-security: CVE-2026-133644 Apache Struts HTTP method restriction on a default method not enforced - Openwall oss-security
- CVE-2026-133642 - CVE.org
- oss-security: CVE-2026-105968 Apache Camel camel-netty-http substring role matching - Openwall oss-security
- oss-security: CVE-2026-105966 Apache Camel camel-undertow WebSocket security not enforced - Openwall oss-security
- oss-security: CVE-2026-103873 Apache Camel camel-spring-ws discloses internal headers - Openwall oss-security
- Apache Camel security advisory CVE-2026-105968 - camel.apache.org
- Apache Camel security advisory CVE-2026-105966 - camel.apache.org
- Apache Camel security advisory CVE-2026-103873 - camel.apache.org
- oss-security: CVE-2026-137686 Apache Shiro ActiveDirectoryRealm empty-username authentication bypass - Openwall oss-security
- Apache Shiro vulnerability reports - shiro.apache.org
- CVE-2026-137686 - CVE.org
- oss-security: CVE-2026-107163 Apache NiFi proxied-entity identity during cluster replication - Openwall oss-security
- oss-security: CVE-2026-97733 Apache NiFi missing authorization for controller service referencing updates - Openwall oss-security
- oss-security: CVE-2026-111725 Apache NiFi process-environment disclosure via Jolt advanced UI - Openwall oss-security
- oss-security: CVE-2026-134135 Apache TinkerPop gremlin-server unsafe deserialization - Openwall oss-security
- oss-security: CVE-2026-74249 Apache TinkerPop GraphBinary unbounded pre-allocation - Openwall oss-security
- CVE-2026-134135 - CVE.org
- oss-security: Apache OpenMeetings 18 CVEs fixed in 9.2.0 - Openwall oss-security
- Apache OpenMeetings security advisories - openmeetings.apache.org
- oss-security: Apache JSPWiki 22 CVEs - Openwall oss-security
- oss-security: CVE-2026-141271 Apache Karaf config property-set redirect to reserved files - Openwall oss-security
- oss-security: CVE-2026-140880 Apache Karaf incorrect authorization in the config service - Openwall oss-security
- oss-security: CVE-2026-138277 Apache Commons BCEL Class2HTML unescaped attribute names - Openwall oss-security
- oss-security: CVE-2026-126628 Apache Unomi GraphQL WebSocket upgrade without authentication - Openwall oss-security
- Java vulnerabilities of the week: 19 to 25 November 2026 - oscerd.github.io
- Java vulnerabilities of the week: 12 to 18 November 2026 - oscerd.github.io
- The CVE stigma, we need a new security culture - oscerd.github.io