Subscribe free
Morning Merge Security · Tuesday, November 24, 20264 min read

Gradle could fall back to the wrong repository

Also: Xen Orchestra's critical login bypass, 90-day AWS sign-ins, SSH keys off disk

If you build with Gradle, upgrade to 9.3.0 or 8.14.4. If you run Xen Orchestra, check who can reach it first.

The main thing

Isometric line drawing of three warehouse loading docks under a green magnifying lens: the first door is half shut and a cart with a crate waits at the third dock

Gradle stops falling through to the next repository. Gradle searches repositories in the order you declare them. When one returns a connection error, Gradle is supposed to disable it and fail resolution, so a dependency never quietly comes from somewhere else.

The advisory for CVE-2026-22865, published November 23, 2026, says some exceptions weren't treated as fatal.

The weird part is that the hole is polite retrying. An error like NoHttpResponseException looks transient, so Gradle retried. If it kept failing past the retry limit, Gradle moved on to the next repository and could resolve the artifact there.

That gives an attacker a two-step play: disrupt your first repository, then serve a malicious artifact from one later in the list. The advisory says the attacker needs control of a repository after the disrupted one. GitHub scores it 8.6 under CVSS v4, with high attack complexity.

So your exposure is your repository list. A build with one repository has nowhere to fall. A build that lists a company mirror, then a public repository, then a smaller third-party one is the case this advisory describes.

Affected: org.gradle:gradle-core before 8.14.4, and from 9.0.0 up to 9.3.0. Gradle says 9.3.0 and 8.14.4 stop searching other repositories on these errors.

A second advisory, CVE-2026-22816, published eight minutes earlier, opens with the same description. Our copy is cut short, so read it before assuming one upgrade closes both.

What to do: move the Gradle wrapper to 9.3.0, or 8.14.4 on the 8.x line, everywhere it runs, CI images included, and check which repositories your builds can fall through to.

If you can't yet, Gradle says builds using strict repository content filtering or dependency verification are safe, and calls dependency verification the best fallback.

Then delete repository declarations nobody uses.

Patch queue

Isometric line drawing of a hand holding a blank keycard to a reader under a green magnifying lens, beside an open server-room door

Xen Orchestra: an empty object logs you in. CVE-2026-133469 in the xo-server npm package is rated critical, and it needs no login. The advisory says REST cookie parsing turns authenticationToken=j:%7B%7D into {}, and authentication hands that to the token provider without checking it's a string.

The token collection treats {} as a lookup with no filter and returns its first token. If that token hasn't expired, the request is authenticated as its owner. The /rest/v0/users/me/authentication_tokens route then returns reusable login token IDs, so one request turns into lasting access to the tool that runs your VMs.

The advisory text in our data doesn't name a patched release. What to do: get the fixed xo-server version from the advisory, keep Xen Orchestra off networks you don't trust until you've upgraded, and rotate login tokens afterwards if it was reachable.

Also on the list:

Credentials that stay put

Isometric line drawing of a desk where a green magnifying lens shows a green key lying on an open laptop, with a closed wall safe nearby

AWS sign-in sessions can now last 90 days. Administrators can set how long an OAuth sign-in session stays active, per IAM user or role, up to 90 days. It covers aws login in the AWS CLI, the AWS MCP Server and other OAuth-enabled apps, but not Console sessions. Existing limits don't change unless you raise them.

AWS pitches this as a safer alternative to static access keys, because it uses short-lived, renewable credentials. That holds if it actually replaces keys. A 90-day session on an agent's machine is still 90 days of access for whoever compromises that machine.

What to do: raise the duration only for the roles your long-running agents use, and review it like any other privilege grant. AWS's announcement points to a condition key guide for controlling the setting.

Get your SSH keys off disk. Same question, on your laptop. The author kept private keys in Bitwarden for safekeeping but still used the copies on disk, where malicious code scanning the disk could take them.

The fix was Bitwarden's SSH agent: import the keys, turn the agent on, add IdentityAgent ~/.bitwarden-ssh-agent.sock under Host * in ~/.ssh/config, and export SSH_AUTH_SOCK to the same socket so tools like ssh-keygen find it. Confirm with ssh-add -L, then delete the keys on disk.

The author passed on the macOS Secure Enclave for something easier to live with, and set the agent to ask again whenever the vault locks, every four hours. The setup you'll keep using beats the stronger one you'll switch off.

Upgrade Gradle first, then look at which of your credentials would outlive a stolen laptop.

← All Morning Merge Security issues

Get this in your inbox every morning.

Free. Five minutes. Unsubscribe in one click.

Subscribe free →