Repository navigation
fix(deps): bump Spring to 7.0.9 - #32222
Conversation
Remediates CVE-2026-47886, CVE-2026-59282, and CVE-2026-59283.
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
Code Review ✅ Approved 1 resolved / 1 findingsBumps Spring Framework from 6.2.19 to 7.0.9 to remediate CVE-2026-47886, CVE-2026-59282, and CVE-2026-59283. Dependency resolution confirms ✅ 1 resolved✅ Quality: Major Spring 6→7 bump validated only by dependency resolution
OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
✅ Playwright Results — workflow succeededValidated commit ✅ 553 passed · ❌ 0 failed · 🟡 0 flaky · ⏭️ 0 skipped · 🧰 0 lifecycle flaky PerformanceBlocking targets: ✅ met · Optimization targets: 🟡 in progress Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting. 🕒 Full workflow signal wall (to summary) 52m 22s ⏱️ Max setup 3m 7s · max shard execution 17m 4s · max shard-job elapsed before upload 20m 45s · reporting 4s 🌐 208.95 requests/attempt · 2.83 app boots/UI scenario · 12.11% common-shard skew Optimization targets still in progress:
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
* fix(tests): profile in setUpClass so test_list_entity_profiles has data (#31882) (#32227) pytest orders unittest TestCase methods alphabetically, so test_list_entity_profiles runs first -- before test_profiler_workflow has created any profile. The module sets TestLoader.sortTestMethodsUsing = None to force definition order, but that only affects unittest's own loader: pytest collects TestCase methods itself and ignores it. Verified against an unmodified checkout -- collection still yields list_entity_profiles first with that line in place, so it has never had any effect here. The test still passed, because it asserts on a global 24h window across every table rather than on data it owns, and hard-deleted tables used to leak their profiler rows into that window. #31556 stopped that leak (issue #27041), and the latent ordering bug surfaced: shard-2 now fails with "0 not greater than 0" on every PR that actually runs the ingestion integration matrix, blocking the merge queue. PRs that do not touch ingestion skip the matrix and report green, which is why this looked branch-specific rather than repo-wide. Run the profiler in setUpClass, where fixture data belongs, so no test depends on another's ordering. Drop the ineffective loader hack, and turn the `if profiles_all.entities:` guard into an assertion -- that guard swallowed an empty unfiltered listing and hid which of the two calls was actually empty, which is the signal needed to diagnose this. Co-authored-by: Himanshu Khairajani <46777429+Khairajani@users.noreply.github.com> * fix(deps): bump Spring to 7.0.9 (#32222) Remediates CVE-2026-47886, CVE-2026-59282, and CVE-2026-59283. * chore(ui): make checkstyle green --------- Co-authored-by: IceS2 <pablo.takara@getcollate.io> Co-authored-by: Himanshu Khairajani <46777429+Khairajani@users.noreply.github.com> Co-authored-by: Ram Narayan Balaji <81347100+yan-3005@users.noreply.github.com>
…32408) * fix(deps): bump Spring to 7.0.9 (#32222) Remediates CVE-2026-47886, CVE-2026-59282, and CVE-2026-59283. * fix(security): bump Apache Jena and Fuseki to 6.2.0 (CVE-2026-61372) (#32274) * fix(security): bump Apache Jena and Fuseki to 6.2.0 (CVE-2026-61372) CVE-2026-61372 (high): Jena's SPARQL Update engine accepted LOAD source URLs pointing at local resources, so an update could read data off the machine running the engine. 6.2.0 restricts those URLs to http/ftp. The CVE covers everything up to and including 6.1.0, and there is no 5.x release carrying the fix (5.6.0 ends that line), so the only way off it is the major bump. Two halves to it: - The client libraries openmetadata-service compiles against, all on the root pom's ${jena.version}: jena-core, jena-arq, jena-rdfconnection, jena-shacl (plus openmetadata-integration-tests). - The Fuseki server images, which are where a LOAD actually reads local files. docker/rdf-store/Dockerfile and the quickstart variants downloaded Fuseki 5.6.0, and the compose files and docs tag the built image with that version. The base JRE goes 17 -> 21 because Fuseki 6.x is compiled with --release 21; on a 17 JRE it dies at startup with UnsupportedClassVersionError. Jena 6 removed the deprecated single-argument RDFParser.fromString(String). The seven call sites now pass the Lang alongside the string, which is the documented replacement and drops the redundant .lang() call. That removal is a binary incompatibility as well as a source one, so a downstream consumer cannot pin Jena 6.2.0 without this commit. Verified on the built 6.2.0 image (config.ttl + shiro.ini unchanged, TDB2 and the Lucene text index boot fine on JRE 21): LOAD <file:///tmp/x.ttl> -> 400 Not found (fixed) LOAD <file:///tmp/x.ttl> INTO GRAPH <urn:g> -> 204, triple loaded So upstream's fix is partial. Fuseki 6.2.0 installs a per-request StreamManager carrying only the http and ftp locators (Fuseki.java), but UpdateEngineWorker.visit(UpdateLoad) only threads the action context through the no-INTO branch — the INTO GRAPH branch calls RDFDataMgr.open(source) with no context and so resolves through the global StreamManager, which still has a file locator. Worth reporting upstream. What closes that residual path for us is SparqlFederationGuard, which already treats a LOAD source as a federation endpoint and denies it unless the deployment allowlists it (federation is off by default); the Fuseki update endpoint also requires the shiro `writer` role. Also verified: openmetadata-service compiles clean on 6.2.0 and its RDF / ontology / SPARQL / inference unit tests pass (924 tests, 0 failures). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix(rdf): initialize Jena before anything can touch the RDF vocabulary The integration tests went red on Jena 6.2.0 with Could not initialize class org.apache.jena.graph.NodeFactory Could not initialize class org.apache.jena.rdf.model.impl.ModelCom across GlossaryRdfImportIT, OntologyGovernanceIT, OntologyPackResourceIT, RdfGlossaryGraphIT and GlossaryOntologyExportIT. Those are secondary errors: the primary one happens once, at startup, and poisons every Jena class in the JVM for the rest of its life. Root cause is a class-initialization cycle new in Jena 6.2.0. InitJenaCore.init() calls TypeMapper.reset(), which registers the RDF 1.2 datatypes by reading RDF.dtLangString, RDF.dtDirLangString, RDF.dtRDFJSON, RDF.dtXMLLiteral and RDF.dtRDFHTML — static fields on org.apache.jena.vocabulary.RDF. But RDF's own <clinit> calls RDF.resource(), which reaches NodeFactory.<clinit>, which calls JenaSystem.init(). So if RDF is the first Jena class the JVM initializes, JenaSystem.init() runs re-entrantly on the same thread while RDF is half-built, TypeMapper reads those fields as null, and registerDatatype() throws NPE inside a static initializer. Reproduced with the module's own classpath, first Jena touch varied: vocabulary.RDF -> FAILED NullPointerException <- the trap vocabulary.RDFS -> OK ResourceFactory -> OK vocabulary.OWL -> OK ModelFactory -> OK vocabulary.SKOS -> OK RDFDataMgr -> OK vocabulary.XSD -> OK QueryFactory -> OK and against RdfResource's own startup path, which builds an RdfEntityDiffService whether or not RDF is enabled: new RdfEntityDiffService(baseUri) first -> FAILED (identical NPE) JenaSystem.init() first, then the same -> OK Jena 5.6.0 does not have the cycle: TypeMapper.reset() there does not read the RDF vocabulary class, so every ordering worked and nothing had to initialize Jena explicitly. Fix: call JenaSystem.init() at the top of OpenMetadataApplication.run(), before registerResources() constructs the RDF resources. It is idempotent, and once the subsystem is up the vocabulary classes initialize in any order. Unit tests were unaffected (924 pass either way) because their first Jena touch is a model or a parser, never the RDF vocabulary. Worth reporting upstream alongside the partial LOAD fix. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> (cherry picked from commit 49f4a79) * fix(security): backport pac4j OIDC upgrade for 1.13 * style: format OIDC handler backport --------- Co-authored-by: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com>
Summary
Validation
mvn -pl openmetadata-service -am -DskipTests dependency:tree -Dincludes=org.springframework:spring-expression,org.springframework:spring-beansspring-expressionandspring-beansresolve to 7.0.9.pom.xml.Greptile Summary
Updates the shared Spring Framework version from 6.2.19 to 7.0.9 to remediate reported vulnerabilities.
Confidence Score: 5/5
The PR appears safe to merge with no concrete blocking or non-blocking defects identified.
The affected Spring artifacts resolve through the same shared version, the project’s Java baseline is compatible, and inspected Spring API usage does not rely on behavior removed by this upgrade.
Important Files Changed
Reviews (1): Last reviewed commit: "fix(deps): bump Spring to 7.0.9" | Re-trigger Greptile