Skip to content

fix(security): bump libthrift to 0.25.0 for CVE-2026-82458 (#34703) [2.0 backport] - #35243

Merged
sonika-shah merged 1 commit into
2.0from
fix/libthrift-0.25.0-2.0
Oct 12, 2026
Merged

sonika-shah merged 1 commit into
2.0from
fix/libthrift-0.25.0-2.0

Conversation

@sonika-shah

@sonika-shah sonika-shah commented Oct 12, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes #34702

Backport of #34703 to 2.0: libthrift 0.24.0 → 0.25.0. The 2.0 nightly scan still flags 0.24.0 (CVE-2026-82458, plus CVE-2026-66858, -85494, -94634, -94636 and -94654, all fixed in 0.25.0).

  • Clean cherry-pick (-x d73a3a242c): one dependencyManagement version and its comment in pom.xml.
  • mvn clean install -pl openmetadata-service -am -DskipTests on 2.0 is green, and dependency:tree resolves jena-arq 6.2.0 → libthrift 0.25.0.
  • fix(security): bump libthrift to 0.25.0 for CVE-2026-82458 #34703 already checked binary compatibility: 0.25.0 removes no class that 0.24.0 had and still ships TException, which Jena's ModelFactory references.

Collate 2.0 already pins 0.25.0 (openmetadata-collate#7142). 1.13 still needs the same backport.

The pin exists to override Jena's vulnerable transitive (6.1.0 still pulls
0.22.0); only the version moves. 0.24.0 covered CVE-2026-43869,
CVE-2026-45112 and CVE-2026-48586; CVE-2026-82458 needs 0.25.0.

Binary compatibility checked against the published jars rather than assumed:
0.25.0 removes no class present in 0.24.0 and still carries
org.apache.thrift.TException, which is the symbol Jena's ModelFactory
statically references and the reason this pin overrides rather than excludes.

Unrelated to the Python thrift floor in ingestion/setup.py, which stays at
0.24.0 -- databricks-sql-connector caps thrift below 0.25.0 there. No such
ceiling exists on the Java side.

(cherry picked from commit d73a3a2)
@github-actions

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

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 skip-pr-checks label.

@gitar-bot

gitar-bot Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved

🟡 Medium risk · Bumping libthrift to 0.25.0 changes a runtime dependency used by Jena, and an incompatibility could disrupt RDF processing.

Backports the libthrift bump from 0.24.0 to 0.25.0 in the pom.xml dependencyManagement section to address CVE-2026-82458 and related CVEs flagged by the 2.0 nightly scan. No issues found.

Review coverage

📋 Rules No rules evaluated

🧪 Functional validation Not enabled · Set up

🤖 Auto-approval Not enabled · Set up

Options

Display: compact → Counting what did not apply, without listing it.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@sonika-shah
sonika-shah merged commit ecc7690 into 2.0 Oct 12, 2026
62 of 64 checks passed
@sonika-shah
sonika-shah deleted the fix/libthrift-0.25.0-2.0 branch October 12, 2026 17:21

This branch was previously deployed

1 inactive deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend safe to test Add this label to run secure Github workflows on PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants