Repository navigation
fix(deps): raise Ivy to 2.6.0 to clear CVE-2026-26032 - #5547
Conversation
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.
|
Tick the box to add this pull request to the merge queue (same as
|
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
🟢 Coverage ∅ diff coverage · -6.64% coverage variation
Metric Results Coverage variation ✅ -6.64% coverage variation Diff coverage ✅ ∅ diff coverage 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.
Review: fix(deps): raise Ivy to 2.6.0 to clear CVE-2026-26032Verdict: LGTM. Clean, minimal, and correctly modeled on the existing precedent in this module. What's good
Minor notes (non-blocking)
Nothing to change. Ship it. |
📜 License Compliance Check✅ License check passed. See artifacts for full report. License Summary (first 50 lines) |
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
(cherry picked from commit 2455b13)
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:
CVE-2026-26032 (CWE-22, affected range
[2.0.0,2.6.0)): Ivy'sPackagerResolverdownloads 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-groovyuses 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) andcommons-lang3(CVE-2025-48924): an explicit direct dependency ingremlin/pom.xmlthat 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 ingremlin/pom.xml,groovy.versionandantlr4.versionare 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 modulesdependency:treeafter the change: all 3 occurrences of Ivy resolve to2.6.0(was2.5.3)org.apache.ivy:ivy:2.6.0:0 vulnerable / 1 cleanmvn -pl gremlin-it test— 253 tests, 0 failures, 0 errors (42 skipped)Tests were run in
gremlin-it, notgremlin: thegremlinmodule setsskipTestsfor 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 ingremlin-itinstead.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:treerather than a unit test.🤖 Generated with Claude Code