Skip to content

Jenkins and MarkLogic authority-boundary validation

The August 5 Jenkins and Progress MarkLogic disclosures are useful as two operator workflows rather than a list of versions. Jenkins exposes transitions from weak controller permissions into workspace files, stored credentials, Groovy, or remoting object reconstruction. MarkLogic exposes parser and identity disagreement between a front end, an application server, and SAML, ODBC, REST, or query authorization.

Primary sources: Jenkins security advisory 2026-08-05 and Progress MarkLogic Critical Security Alert Bulletin, August 2026. GitHub records are linked below for stable identifiers. Confirm exact affected and fixed versions in those primary bulletins.

Isolated fixtures and patched sinks only

Use a disposable Jenkins controller/agent pair, synthetic workspaces and credentials, a local reverse proxy, canary MarkLogic users/documents, and patched file, credential, script, deserialization, query, and session sinks. Never read operational workspaces, capture real credentials, run Groovy or gadget chains, desynchronize shared traffic, impersonate production users, or query production Security data.

Jenkins: map permission to final authority

Relevant records include:

Permission and route matrix

Create anonymous, Overall/Read, item-configure, job-owner, agent, and administrator identities. Seed a temporary workspace with one in-root marker, one sibling marker, and a symlink from the workspace to a third canary. Replace file reads with a recorder that stores only canonical path and containment result.

For core and plugin workspace browsers, test list, browse, archive, console-link, and externally managed workspace routes. Capture:

  1. raw request path and every decoded form;
  2. principal, global permission, item permission, and resolved job;
  3. workspace root, selected path, final real path, and symlink resolution; and
  4. patched file sink decision.

A bounded positive is weak principal reaches a workspace route -> target is not bound to an authorized item/root -> final canary path reaches the denied reader. Route reachability or a path string alone is not file disclosure.

Stored-credential relay matrix

Seed only fake credentials such as JENKINS-CANARY-<uuid>. Replace each plugin connector with an owned no-content recorder that stores destination, credential ID, and a one-way hash of the fake secret.

Vary caller permission, job/folder context, credential scope, credential ID, destination URL, request method, and CSRF crumb. Test credential-ID enumeration separately from credential use. Strong evidence is caller can select or infer a fake credential outside the job/folder context -> caller controls the connector destination -> recorder receives the canary hash. A visible credential ID is not proof that the secret can be spent.

Script and remoting boundaries

  • Replace Groovy compilation/execution with an AST recorder. Submit an inert expression that returns a fixed marker and verify whether CSRF or low item permissions can reach a controller-side script sink.
  • Replace controller deserialization and remoting class resolution with recorders. Replay only ordinary serialized fixture classes plus one inert class name that should be denied. Record authentication state, transport, declared type, filter decision, class loader, and whether object reconstruction begins.
  • Derive Jenkins transport frames from disposable controller/agent traffic and never send gadget chains.

The proof stops at unauthorized input reaches compiler/object-reconstruction authority after the expected permission or class filter was skipped. Do not execute a script or instantiate an exploit gadget.

MarkLogic: separate parser, identity, and object decisions

The Progress cluster includes HTTP request smuggling GHSA-984c-qj5w-fv7j / CVE-2026-9190, ODBC authentication bypass GHSA-j99j-whfx-75gq / CVE-2026-9192, SAML signature verification failure GHSA-j86w-xf2g-5g65 / CVE-2026-7557, REST document/query privilege drift GHSA-8pvj-2hqp-qwfr / CVE-2026-8709, GHSA-xp9q-9vhj-ggp6 / CVE-2026-7327, and GHSA-vhc6-v3vv-rx25 / CVE-2026-7329, plus low-role SSRF GHSA-vc8h-qc29-hjr2 / CVE-2026-9203.

HTTP parser differential

Put one local reverse proxy in front of an isolated MarkLogic HTTP App Server. Disable keep-alive reuse by unrelated clients and route the backend only to harmless /public-canary and /auth-canary handlers. Send one connection at a time and compare:

  • one valid Content-Length request;
  • one valid chunked request;
  • duplicate and conflicting framing controls; and
  • the exact affected-versus-fixed Content-Length plus Transfer-Encoding fixture derived from the primary bulletin or patch.

Record raw bytes, proxy message boundaries, backend message boundaries, connection reuse, selected route, and authentication context. A positive is a boundary mismatch that makes the canary route execute under a different request context. Do not target another user's connection, cache, or session.

Identity proof matrices

Use two canary users, one low-role user, one synthetic administrator identity, a local SAML IdP, and a patched query dispatcher.

Surface Vary Required proof
ODBC known/unknown username, correct/incorrect canary password, low/admin identity password verification decision and resolved principal diverge before a no-op query sink
SAML valid signed assertion, modified assertion, missing/alternate signature location, wrong audience/recipient unsigned or incorrectly signed claims resolve a canary principal before session issuance is denied
REST patch/query low-role document, operation, database, query language, target object low role reaches a Security or privileged-operation sink without the required privilege

Never issue a real privileged query. Patch session issuance and query dispatch so the strongest result is a tuple containing resolved canary principal, requested operation, target database, and denied decision.

Final-peer SSRF evidence

Use an owned redirector and two owned listeners: one public validation address and one synthetic denied peer. Record raw URL, normalized host, DNS answers, redirect chain, selected socket peer, caller role, and patched response sink. Test only representations supported by the exact affected connector.

A bounded positive is low-role request passes URL policy -> transport selects the owned denied peer -> response recorder sees only a random canary hash. Do not probe metadata, RFC1918 services, or production internal hosts.

Reporting

  • Name the exact transition: Overall/Read -> foreign workspace reader, item configuration -> stored credential connector, CSRF -> controller Groovy, remoting frame -> disallowed object reconstruction, front-end frame -> backend request boundary, unsigned SAML claims -> canary principal, or low REST role -> privileged query sink.
  • Include affected and fixed builds, enabled plugin/App Server, caller role, route/transport, canonical path or raw bytes, final sink, and negative controls.
  • Keep unreviewed GitHub records as discovery seeds. Version and behavior claims should cite the Jenkins or Progress bulletin and an affected-versus-fixed lab result.

September 21 follow-up: Groovy sandbox escape via annotation member values the whitelist never parses (GHSA-3xcj-rvrm-wg64)

GHSA-3xcj-rvrm-wg64 / CVE-2026-92126 (CVSS 8.5): Jenkins Script Security ≤ 1415.v9a_f9b_3a_c253d rejects blacklisted annotations and members but does not reject @Builder annotations whose builderStrategy member names an arbitrary class, a sandboxed script author (anyone who can define a Pipeline) reaches code outside the sandbox if a suitable class is on the evaluating component's classpath.

  • Durable axis for every script-sandbox you assess: the whitelist inspects the syntax tree at the level the author typed, not at the level the runtime resolves. Annotation member values, string indirections (Class.forName-style), reflection entry points, and code-generation hooks (Lombok builderStrategy, @GroovyASTTransformationClass, service-loader files) are resolution-time class names the static checker never parses. Enumerate every annotation/attribute whose member is a class name in the evaluated language and test whether the sandbox rejects it.
  • Jenkins-specific check: from a sandboxed Pipeline, attempt an inert marker annotation carrying a benign class reference and record whether Script Security rejects at compile time; escalate only in an isolated lab controller with a purpose-built harmless gadget class, never production controllers or real credential classes.
  • Sibling pattern already on this page (remoting class-filter coverage) and on the Sept 17/19 JS and Python sandbox pages: guard coverage = parser coverage, a denylist over surface syntax misses any path where the resolver picks the executable object.

November 25 follow-up: the @Builder escape comes back through a name the checker normalizes differently, plus interface field initializers and a JCasC validation read (4 GHSAs, 18:30Z wave)

Source: Jenkins security advisory 2026-11-25 (GitHub records below).

  • @Builder sandbox escape, incomplete-fix variant (GHSA-8g35-mcm3-7359 / CVE-2026-136835, critical 9.9, Script Security ≤ 1436.v1082791135e4): the September 21 fix on this page rejects @Builder annotations whose builderStrategy names an arbitrary class when written fully qualified, but the checker still accepts the annotation when referred to using a partially qualified class name, so the same class-selection escape survives on name form alone, given a suitable class on the evaluating component's classpath.
  • Interface field initializers bypass Pipeline sandboxing (GHSA-h4p2-57f6-5cqj / CVE-2026-136834, high 8.8, Pipeline: Groovy ≤ 4403.v471713a_cea_19): code placed in an interface field initializer runs unsandboxed in the controller JVM, meaning the AST transform instruments the syntax the transformer recognizes and misses an initialization context that executes at class-load time.
  • JCasC validation endpoint is a secret oracle for anyone with Overall/SystemRead (GHSA-qh9x-2wxg-2fv7 / CVE-2026-136840, medium 4.9, Configuration as Code 2134.ve13a_2fc90835 through 2147.v8a_8d38668c72 except 2140.2142.v3836c98f1b_30): the configuration validation path resolves variables (controller filesystem files, environment variables, system properties, configured secret sources) inside submitted YAML and returns the resolved values in error responses. Validation paths routinely evaluate more of the config language than the enforced path ever echoes.
  • Workspace-supplied XML parsed with entities enabled (GHSA-g754-9xv7-3wx6 / CVE-2026-136836, high 7.1, Gradle Plugin ≤ 2.21.1282.v024680ce00a_b_): Maven extension configuration files from build workspaces are parsed without XXE hardening, so an attacker who controls workspace content reaches an entity-enabled parser running where the controller process runs.

Operator rules:

  1. Name-form battery on any annotation/symbol denylist. For every rejected class-naming construct, re-test all resolution forms: fully qualified, partially qualified, simple name, static-import, and alias. A checker that string-compares the annotation text the author typed, rather than the resolved class the runtime picks, is bypassable by one name shape. This leg is the direct proof: same plugin, same annotation member, second escape via name form nine weeks after the first fix.
  2. Enumerate execution contexts, not just language constructs, when auditing a script sandbox. Candidate contexts to attempt from a sandboxed Pipeline in an isolated lab controller: instance/static/interface field initializers, enum constructors, default methods, initializer blocks, closure defaults, and class-load-time transforms. Record compile-time rejection vs execution; escalate only against a purpose-built harmless gadget class you added yourself.
  3. Fuzz validation/dry-run endpoints as a distinct reader. For any "check my config without applying" endpoint (JCasC validation, kubectl apply --dry-run=server-style routes, operator admission previews), submit a canary variable reference for each secret source the platform supports (file path, env var, system property, vault/secret-store key) and inspect error response bodies for resolved values. SystemRead-class permissions reading controller files is a real step in the CI pivot chain.
  4. Workspace is attacker input on the controller's parser. When a plugin parses files from build workspaces (agent-side content), treat it as remote XML into the controller: run the standard XXE battery (external entity to owned listener, parameter entity OOB) against build-config parsers (Maven extensions, Gradle properties, build descriptors), never against production jobs.

November 25 wave, tracked without publication on this page

Pipeline DORA Metrics ten-leg missing-permission/CSRF pair (GHSA-63rg-35c7-p564 etc.), Spira Importer missing permission check + CSRF (GHSA-hr65-hrmw-8vw8), Rich Text Publisher unescaped job names, Performance Plugin javascript: report-link stored XSS (GHSA-jpgh-6f4p-cw69, report-controlled URL schemes, known class), Subversion plugin non-HTTP(S) URL restrictions (XXE-adjacent, sparse), Nested View CSRF: standard Jenkins plugin authorization/CSRF classes already documented on this page and the CI pages.