Skip to content

Bump jackson-databind to 2.18.9 (CVE-2026-54515) - #324

Open
lrathod wants to merge 2 commits into
hypertrace:mainfrom
lrathod:CVE-2026-54515-jackson-databind
Open

Bump jackson-databind to 2.18.9 (CVE-2026-54515)#324
lrathod wants to merge 2 commits into
hypertrace:mainfrom
lrathod:CVE-2026-54515-jackson-databind

Conversation

@lrathod

@lrathod lrathod commented Sep 4, 2026

Copy link
Copy Markdown

What

Bumps com.fasterxml.jackson.core:jackson-databind from 2.18.8 → 2.18.9 in gradle/libs.versions.toml. jackson-core and jackson-annotations align to 2.18.9 via the jackson BOM.

Why — CVE-2026-54515 / GHSA-5jmj-h7xm-6q6v (Medium, CVSS 5.3, CWE-915)

In jackson-databind ≥2.8.0 <2.18.9, BeanDeserializerBase.createContextual() applies per-property @JsonIgnoreProperties exclusions (producing a filtered BeanPropertyMap), but the subsequent per-property case-insensitivity block (triggered by @JsonFormat(ACCEPT_CASE_INSENSITIVE_PROPERTIES)) rebuilds the map from the original unfiltered _beanProperties — silently restoring the ignored properties and making them writable from attacker-controlled JSON (mass-assignment).

Fixed in 2.18.9 (also 2.21.5 / 3.1.4 for newer lines). References:

Verification

  • ./gradlew :document-store:dependencies --configuration runtimeClasspathjackson-databind:2.18.9, jackson-core:2.18.9, jackson-annotations:2.18.9 (no transitive pin left on 2.18.8)
  • ./gradlew :document-store:test → all tests pass

Made with Cursor

Fixes GHSA-5jmj-h7xm-6q6v: per-property @JsonIgnoreProperties exclusions
were silently discarded when combined with per-property
@jsonformat(ACCEPT_CASE_INSENSITIVE_PROPERTIES), making ignored
properties writable again (mass-assignment risk, CWE-915).

jackson-core and jackson-annotations align to 2.18.9 via the BOM.

Co-authored-by: Cursor <cursoragent@cursor.com>
@codecov

codecov Bot commented Sep 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.06%. Comparing base (330cbc2) to head (360c7f2).

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #324   +/-   ##
=========================================
  Coverage     81.06%   81.06%           
  Complexity     1617     1617           
=========================================
  Files           243      243           
  Lines          7656     7656           
  Branches        755      755           
=========================================
  Hits           6206     6206           
  Misses          960      960           
  Partials        490      490           
Flag Coverage Δ
integration 81.06% <ø> (ø)
unit 57.15% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

…ake)

Co-authored-by: Cursor <cursoragent@cursor.com>
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