Skip to content

fix(deps): raise Ivy to 2.6.0 to clear CVE-2026-26032 - #5547

Merged
robfrank merged 1 commit into
mainfrom
fix/ivy-cve-2026-26032
Jul 29, 2026
Merged

robfrank merged 1 commit into
mainfrom
fix/ivy-cve-2026-26032

Conversation

@robfrank

Copy link
Copy Markdown
Collaborator

Problem

A Meterian dependency audit of the full reactor flagged org.apache.ivy:ivy:2.5.3 (MEDIUM, CVSS 5.4).

It reaches the build transitively at compile scope:

org.apache.tinkerpop:gremlin-groovy:3.8.1
  └─ org.apache.ivy:ivy:2.5.3

CVE-2026-26032 (CWE-22, affected range [2.0.0,2.6.0)): Ivy's PackagerResolver downloads online artifacts and repackages them through a packager-defined build file. A crafted descriptor can write outside the intended directory.

Change

Raise Ivy to 2.6.0, the version Meterian reports as safe.

Ivy is present only because gremlin-groovy uses it to back Groovy's Grape dependency loader. ArcadeDB does not use Grape, so this is a supply-chain hygiene fix rather than a reachable exploit path in our code.

The upgrade is declared the way this module already handles the same situation for snakeyaml (CVE-2022-1471) and commons-lang3 (CVE-2025-48924): an explicit direct dependency in gremlin/pom.xml that overrides the TinkerPop-resolved version, with the rationale in a comment next to it.

Note this deliberately does not touch gremlin.version. Per the existing warning in gremlin/pom.xml, groovy.version and antlr4.version are dictated by TinkerPop and must not be raised without upgrading TinkerPop first. Ivy carries no such constraint - it is a Grape runtime dependency, not part of the compiled Gremlin grammar or Groovy toolchain.

Verification

  • mvn -T1C -DskipTests install — BUILD SUCCESS, all 26 modules
  • dependency:tree after the change: all 3 occurrences of Ivy resolve to 2.6.0 (was 2.5.3)
  • Re-ran the Meterian check on org.apache.ivy:ivy:2.6.0: 0 vulnerable / 1 clean
  • mvn -pl gremlin-it test — 253 tests, 0 failures, 0 errors (42 skipped)

Tests were run in gremlin-it, not gremlin: the gremlin module sets skipTests for both surefire and failsafe because its tests cannot run on the unshaded classpath (engine ANTLR 4.13.2 vs TinkerPop ANTLR 4.9.1), and execute against the shaded jar in gremlin-it instead.

No regression test accompanies this change: it is a dependency-resolution override with no ArcadeDB behavior change, and the resolved version is asserted by dependency:tree rather than a unit test.

🤖 Generated with Claude Code

TinkerPop 3.8.1 resolves org.apache.ivy:ivy 2.5.3 through
gremlin-groovy, which pulls Ivy in to back Groovy's Grape dependency
loader. 2.5.3 is affected by CVE-2026-26032: the PackagerResolver
downloads online artifacts and repackages them through a
packager-defined build file, and a crafted descriptor can write
outside the intended directory.

ArcadeDB does not use Grape, so declare the upgrade the same way the
module already handles snakeyaml and commons-lang3: an explicit
direct dependency that overrides the TinkerPop-resolved version.
@mergify

mergify Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@codacy-production

codacy-production Bot commented Jul 29, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity

Metric Results
Complexity 0

View in Codacy

🟢 Coverage ∅ diff coverage · -6.64% coverage variation

Metric Results
Coverage variation ✅ -6.64% coverage variation
Diff coverage ✅ ∅ diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (cda99c1) 146756 108867 74.18%
Head commit (7010740) 178748 (+31992) 120729 (+11862) 67.54% (-6.64%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#5547) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@claude

claude Bot commented Jul 29, 2026

Copy link
Copy Markdown

Review: fix(deps): raise Ivy to 2.6.0 to clear CVE-2026-26032

Verdict: LGTM. Clean, minimal, and correctly modeled on the existing precedent in this module.

What's good

  • Right mechanism. A direct compile-scope dependency overriding a transitive one is the standard Maven way to win version resolution regardless of transitive distance, and it exactly mirrors how gremlin/pom.xml already handles snakeyaml (CVE-2022-1471) and commons-lang3 (CVE-2025-48924). Consistency with the surrounding file is a plus.
  • The override reaches the runtime artifact. Because the dependency is compile scope (not provided), maven-shade bundles it into the shaded uber-jar that gremlin-it and the distribution actually consume - so the bump is effective at runtime, not just in dependency:tree. Ivy is untouched by the org.antlr relocation, so nothing else is disturbed.
  • Correctly avoids the TinkerPop-pinned properties. Placing ivy.version above the groovy.version/antlr4.version warning block, and calling out in the PR that Ivy carries no ATN/Groovy-toolchain constraint, is the right call. Ivy is a Grape runtime dep, not part of the compiled grammar.
  • Comment explains the "why". The ARCADEDB DOES NOT USE THIS LIBRARY BUT GREMLIN DOES note with the CVE link matches the house style and will save the next maintainer a git-blame.

Minor notes (non-blocking)

  • Dependabot. Unlike groovy/antlr4, Ivy has no ignore rule in .github/dependabot.yml - which is correct, since it can be freely bumped. Worth being aware that Dependabot may now propose future Ivy updates on this line; that's the desired behavior here.
  • No regression test. Agreed this is the right call - there's no ArcadeDB behavior change to assert, and dependency:tree + the gremlin-it suite (253 tests, 0 failures) is the appropriate verification for a pure resolution override. This aligns with CLAUDE.md's testing guidance, which targets behavioral/backend changes rather than dependency-management edits.
  • Forward-compat. If TinkerPop is later upgraded and starts resolving an Ivy >= 2.6.0 itself, this override becomes a floor rather than a bump - harmless, but a candidate for cleanup at that time.

Nothing to change. Ship it.

@github-actions

Copy link
Copy Markdown
Contributor

📜 License Compliance Check

✅ License check passed. See artifacts for full report.

License Summary (first 50 lines)

Lists of 425 third-party dependencies.
     (Public Domain) AOP alliance (aopalliance:aopalliance:1.0 - http://aopalliance.sourceforge.net)
     (Apache License 2.0) LZ4 Java Compression (at.yawk.lz4:lz4-java:1.11.1 - https://github.com/yawkat/lz4-java)
     (EPL-2.0) (LGPL-2.1-only) Logback Classic Module (ch.qos.logback:logback-classic:1.6.1 - http://logback.qos.ch/logback-classic)
     (EPL-2.0) (LGPL-2.1-only) Logback Core Module (ch.qos.logback:logback-core:1.6.1 - http://logback.qos.ch/logback-core)
     (Apache 2) ArcadeDB BOLT Protocol (com.arcadedb:arcadedb-bolt:26.8.1-SNAPSHOT - https://arcadedata.com/arcadedb-bolt/)
     (Apache 2) ArcadeDB Console (com.arcadedb:arcadedb-console:26.8.1-SNAPSHOT - https://arcadedata.com/arcadedb-console/)
     (Apache 2) ArcadeDB Engine (com.arcadedb:arcadedb-engine:26.8.1-SNAPSHOT - https://arcadedata.com/arcadedb-engine/)
     (Apache 2) ArcadeDB GraphQL (com.arcadedb:arcadedb-graphql:26.8.1-SNAPSHOT - https://arcadedata.com/arcadedb-graphql/)
     (Apache 2) ArcadeDB Gremlin (com.arcadedb:arcadedb-gremlin:26.8.1-SNAPSHOT - https://arcadedata.com/arcadedb-gremlin/)
     (Apache 2) ArcadeDB gRPC Stubs (com.arcadedb:arcadedb-grpc:26.8.1-SNAPSHOT - https://arcadedata.com/arcadedb-grpc/)
     (Apache 2) ArcadeDB gRPC Client (com.arcadedb:arcadedb-grpc-client:26.8.1-SNAPSHOT - https://arcadedata.com/arcadedb-grpc-client/)
     (Apache 2) ArcadeDB gRpcW (com.arcadedb:arcadedb-grpcw:26.8.1-SNAPSHOT - https://arcadedata.com/arcadedb-grpcw/)
     (Apache 2) ArcadeDB HA Raft (com.arcadedb:arcadedb-ha-raft:26.8.1-SNAPSHOT - https://arcadedata.com/arcadedb-ha-raft/)
     (Apache 2) ArcadeDB Integration (com.arcadedb:arcadedb-integration:26.8.1-SNAPSHOT - https://arcadedata.com/arcadedb-integration/)
     (Apache 2) ArcadeDB load tests (com.arcadedb:arcadedb-load-tests:26.8.1-SNAPSHOT - https://arcadedata.com/arcadedb-load-tests/)
     (Apache 2) ArcadeDB Metrics (com.arcadedb:arcadedb-metrics:26.8.1-SNAPSHOT - https://arcadedata.com/arcadedb-metrics/)
     (Apache 2) ArcadeDB MongoDB Wire Protocol (com.arcadedb:arcadedb-mongodbw:26.8.1-SNAPSHOT - https://arcadedata.com/arcadedb-mongodbw/)
     (Apache 2) ArcadeDB Network (com.arcadedb:arcadedb-network:26.8.1-SNAPSHOT - https://arcadedata.com/arcadedb-network/)
     (Apache 2) ArcadeDB PostgresW (com.arcadedb:arcadedb-postgresw:26.8.1-SNAPSHOT - https://arcadedata.com/arcadedb-postgresw/)
     (Apache 2) ArcadeDB RedisW (com.arcadedb:arcadedb-redisw:26.8.1-SNAPSHOT - https://arcadedata.com/arcadedb-redisw/)
     (Apache 2) ArcadeDB Server (com.arcadedb:arcadedb-server:26.8.1-SNAPSHOT - https://arcadedata.com/arcadedb-server/)
     (Apache 2) ArcadeDB Studio (com.arcadedb:arcadedb-studio:26.8.1-SNAPSHOT - https://arcadedata.com/arcadedb-studio/)
     (Apache 2) ArcadeDB Tracing (com.arcadedb:arcadedb-tracing:26.8.1-SNAPSHOT - https://arcadedata.com/arcadedb-tracing/)
     (The Apache Software License, Version 2.0) HPPC Collections (com.carrotsearch:hppc:0.7.1 - http://labs.carrotsearch.com/hppc.html/hppc)
     (Apache License 2.0) Metrics Core (com.codahale.metrics:metrics-core:3.0.2 - http://metrics.codahale.com/metrics-core/)
     (The Apache License, Version 2.0) com.conversantmedia:disruptor (com.conversantmedia:disruptor:1.2.21 - https://github.com/conversant/disruptor)
     (The Apache Software License, Version 2.0) Jackson-annotations (com.fasterxml.jackson.core:jackson-annotations:2.20 - https://github.com/FasterXML/jackson)
     (The Apache Software License, Version 2.0) Jackson-annotations (com.fasterxml.jackson.core:jackson-annotations:2.21 - https://github.com/FasterXML/jackson)
     (The Apache Software License, Version 2.0) Jackson-annotations (com.fasterxml.jackson.core:jackson-annotations:2.22 - https://github.com/FasterXML/jackson)
     (The Apache Software License, Version 2.0) Jackson-core (com.fasterxml.jackson.core:jackson-core:2.21.1 - https://github.com/FasterXML/jackson-core)
     (The Apache Software License, Version 2.0) Jackson-core (com.fasterxml.jackson.core:jackson-core:2.22.1 - https://github.com/FasterXML/jackson-core)
     (The Apache Software License, Version 2.0) jackson-databind (com.fasterxml.jackson.core:jackson-databind:2.21.1 - https://github.com/FasterXML/jackson)
     (The Apache Software License, Version 2.0) jackson-databind (com.fasterxml.jackson.core:jackson-databind:2.22.1 - https://github.com/FasterXML/jackson)
     (The Apache Software License, Version 2.0) Jackson-dataformat-YAML (com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.22.0 - https://github.com/FasterXML/jackson-dataformats-text)
     (The Apache Software License, Version 2.0) Jackson datatype: JSR310 (com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.22.0 - https://github.com/FasterXML/jackson-modules-java8/jackson-datatype-jsr310)
     (The Apache Software License, Version 2.0) Caffeine cache (com.github.ben-manes.caffeine:caffeine:2.3.1 - https://github.com/ben-manes/caffeine)
     (The Apache Software License, Version 2.0) docker-java-api (com.github.docker-java:docker-java-api:3.7.1 - https://github.com/docker-java/docker-java)
     (The Apache Software License, Version 2.0) docker-java-transport (com.github.docker-java:docker-java-transport:3.7.1 - https://github.com/docker-java/docker-java)
     (The Apache Software License, Version 2.0) docker-java-transport-zerodep (com.github.docker-java:docker-java-transport-zerodep:3.7.1 - https://github.com/docker-java/docker-java)
     (Apache Software License, version 2.0) (Lesser General Public License, version 3 or greater) btf (com.github.java-json-tools:btf:1.3 - https://github.com/java-json-tools/btf)
     (Apache Software License, version 2.0) (Lesser General Public License, version 3 or greater) jackson-coreutils (com.github.java-json-tools:jackson-coreutils:2.0 - https://github.com/java-json-tools/jackson-coreutils)
     (Apache Software License, version 2.0) (Lesser General Public License, version 3 or greater) jackson-coreutils-equivalence (com.github.java-json-tools:jackson-coreutils-equivalence:1.0 - https://github.com/java-json-tools/jackson-coreutils)
     (Apache Software License, version 2.0) (Lesser General Public License, version 3 or greater) json-patch (com.github.java-json-tools:json-patch:1.13 - https://github.com/java-json-tools/json-patch)
     (Apache Software License, version 2.0) (Lesser General Public License, version 3 or greater) json-schema-core (com.github.java-json-tools:json-schema-core:1.2.14 - https://github.com/java-json-tools/json-schema-core)
     (Apache Software License, version 2.0) (Lesser General Public License, version 3 or greater) json-schema-validator (com.github.java-json-tools:json-schema-validator:2.2.14 - https://github.com/java-json-tools/json-schema-validator)
     (Apache Software License, version 2.0) (Lesser General Public License, version 3 or greater) msg-simple (com.github.java-json-tools:msg-simple:1.2 - https://github.com/java-json-tools/msg-simple)
     (Apache Software License, version 2.0) (Lesser General Public License, version 3 or greater) uri-template (com.github.java-json-tools:uri-template:0.10 - https://github.com/java-json-tools/uri-template)
     (Apache License 2.0) (GNU Lesser General Public License) javaparser-core (com.github.javaparser:javaparser-core:3.26.3 - https://github.com/javaparser/javaparser-core)

@robfrank
robfrank merged commit 2455b13 into main Jul 29, 2026
23 of 27 checks passed
@codecov

codecov Bot commented Jul 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.32%. Comparing base (cda99c1) to head (7010740).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #5547      +/-   ##
============================================
- Coverage     65.33%   65.32%   -0.02%     
+ Complexity     1113     1112       -1     
============================================
  Files          1748     1748              
  Lines        146756   146756              
  Branches      31364    31364              
============================================
- Hits          95885    95869      -16     
- Misses        37933    37942       +9     
- Partials      12938    12945       +7     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

robfrank added a commit that referenced this pull request Aug 14, 2026
@robfrank
robfrank deleted the fix/ivy-cve-2026-26032 branch August 26, 2026 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant