Skip to content
Access control Write-up Intermediate

Artifactory Under Attack: In-the-Wild Exploitation of CVE-2026-42016, CVE-2026-42018 & CVE-2026-82329

Three flaws in JFrog Artifactory let an unauthenticated attacker obtain an anonymous token, escalate it to admin scope, or bypass authentication outright, and attackers were seen doing this in the wild. They then created admin accounts, installed malicious Groovy plugins for code execution and persistence, and stole Access signing keys.

Shahar Dorfman Follow

Published on wiz.io

Wiz Research has identified active, in-the-wild exploitation of three critical and high-severity vulnerabilities affecting JFrog Artifactory: CVE-2026-42016, CVE-2026-42018, and CVE-2026-82329. Attackers are chaining these vulnerabilities to bypass authentication, escalate privileges, and gain administrative control…

Shahar Dorfman, on wiz.io

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a mix of three coding mistakes: an endpoint returning an internal anonymous token to unauthenticated callers, token validation that checks signature and issuer but not the token's intended scope, and an authentication bypass in the default configuration.

Impact

An attacker could gain full administrative control of the instance, steal credentials and signing keys, and keep access through plugins and forged tokens even after patching.

What the attacker needed

Network access to the instance; default configuration; no credentials needed

The fix

It should be fixed by upgrading to a fixed release, but the text stresses that upgrading alone does not remove planted plugins or stolen signing keys, so admins must also hunt for artefacts and reset the token certificate.

How it was found

  1. Send an unauthenticated request to the token endpoint with a trailing slash to receive an anonymous JWT.
  2. Exchange that JWT at the tokens endpoint to obtain an admin-scoped token.
  3. Create a persistent admin account using the escalated token.
  4. Install a malicious Groovy plugin to run commands on the server.
  5. Fetch and run a second-stage payload from a world-writable directory to establish command-and-control.
  6. Alternatively, hit the registry join endpoint unauthenticated to get an admin token directly.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Artifactory is a server that stores software packages and build artefacts for an organisation. These bugs meant someone on the network could send a few ordinary web requests and end up with full administrator rights, without any password. Once inside, attackers left hidden programs behind so they kept access even after the software was updated.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Shahar Dorfman

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.