· via dev.to (home feed)
Attackers chained two patched JFrog Artifactory flaws into admin takeover with backdoors
Attackers chained an anonymous token leak with a token-scope flaw to seize admin control of self-hosted JFrog Artifactory, install plugin backdoors and export credentials; both CVEs are now on CISA's exploited list.

Attackers combined two already-patched vulnerabilities in self-hosted JFrog Artifactory instances to seize administrator control and plant backdoors, according to a security analysis published on dev.to. The observed activity ran from mid-August to early September 2026, more than a month after fixes became available. On September 11, 2026, CISA added both flaws, CVE-2026-42018 and CVE-2026-42016, to its Known Exploited Vulnerabilities catalog, with a September 25 remediation deadline for federal agencies.
How the chain works
Artifactory acts as the artifact repository behind many build pipelines, handling Maven, npm, PyPI, Docker and Helm packages. Whoever gains administrator control can replace cached packages and misuse publishing credentials, pushing the impact out to every build that pulls from the server.
The first flaw, CVE-2026-42018, is an improper authentication bug (CWE-287) whose official name is "Anonymous User Token Generation Exposure." Even when an administrator has disabled anonymous access, an unauthenticated request to the token endpoint can still receive a signed JWT belonging to Artifactory's internal anonymous user. The dev.to write-up flags a detection-friendly quirk: the bare endpoint path returns a 401, while a path variant with a trailing slash returns 200, a retry pattern legitimate clients do not normally produce.
The second flaw, CVE-2026-42016, is an authorization error (CWE-863) affecting self-hosted releases before 7.133.11. Token validation checked the signature and issuer but failed to restrict the token's scope, allowing a low-privilege token to escalate. On its own it is inert, because it needs an existing token as input.
Chained together, the first bug supplies the identity and the second promotes it, with no password required at any step. The write-up notes that blocking either half is enough to break the chain.
Fix versions do not line up
The two CVEs carry different version ranges, which invites mistakes. CVE-2026-42016 is fixed in 7.133.11. CVE-2026-42018 spans five branches: releases below 7.111.20, 7.117.0 through 7.117.27, 7.125.0 through 7.125.19, 7.133.0 through 7.133.28, and 7.146.0 through 7.146.8, each resolved by the final version in its range.
The advisory for CVE-2026-42016 lists only 7.133.11 as its fix point, leaving an open question for the 7.146 branch: upgrading to 7.146.8 resolves CVE-2026-42018, but the public material does not state whether that release also contains the CVE-2026-42016 fix. The write-up advises organizations on that branch to confirm with the vendor rather than assume coverage.
JFrog rates both issues High. CISA's KEV entries record the CWE classifications and the remediation requirement but publish no CVSS scores. CISA's attention is on self-managed deployments; the vendor hardened the cloud version.
What the attackers did
The observed intrusions followed a consistent shape. The attackers first created an administrator account, sometimes attaching an attacker-controlled SSH public key for persistence. They then installed a backdoor by deploying a malicious plugin, using the plugin mechanism to execute code and drop a second-stage payload. Finally, they exported configuration data, freshly minted tokens and cluster keys, and enumerated repository assets.
That final step is what turns a server compromise into a supply chain incident: if cached packages can be replaced, downstream builds may consume tampered artifacts, and the damage reaches well beyond the Artifactory server itself.
What operators should check
The write-up recommends confirming the running version against the vendor's fix table for the correct branch, listing users to spot recently created unfamiliar administrator accounts, and inspecting the plugin directory, since malicious plugins served as the primary landing mechanism. Access logs deserve review for token endpoint calls, administrator actions, unusual source addresses and off-hours activity, with particular attention to requests that first fail with a 401 and then succeed on a path variant.
Two operational details stand out: container-deployed instances must be inspected inside the container, and log paths vary by installation method. If an unfamiliar administrator account or suspicious plugin file turns up, the guidance is to disable it and preserve the evidence rather than delete it.
Remediation follows a suggested order: restrict management and token endpoints to internal networks behind allowlists or a proxy; upgrade using the vendor's own version table; revoke suspect tokens and rotate CI credentials, cluster keys and administrator passwords; then audit administrator change records, artifact replacements and unusual bulk downloads, comparing high-value artifact digests against trusted build sources. Patching closes the hole, the write-up cautions, but does not prove that packages distributed before the patch were clean.
Why it matters
A compromised artifact repository is not just one breached server; it is a distribution point for every build that depends on it, and tampered artifacts can keep spreading long after the original flaw is patched. The timeline carries its own lesson: fixes had existed for over a month before the observed exploitation, so patch latency rather than a zero-day made these intrusions possible. The mismatched fix version ranges add a final trap for teams that patch one flaw and assume the other is covered. For US federal agencies the KEV listing makes remediation mandatory by September 25, and for anyone else running self-hosted Artifactory it is a clear signal to check versions now.
- #jfrog-artifactory
- #vulnerabilities
- #supply-chain-security
- #cisa-kev
- #patch-management