Skip to content

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

Merged
lrathod merged 2 commits into
mainfrom
CVE-2026-54515-jackson-databind
Sep 7, 2026
Merged

Bump jackson-databind to 2.18.9 (CVE-2026-54515)#325
lrathod merged 2 commits into
mainfrom
CVE-2026-54515-jackson-databind

Conversation

@lrathod

@lrathod lrathod commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

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

(Supersedes #324 — same change, now from an upstream branch so CI runs normally.)

Made with Cursor

lrathod and others added 2 commits September 4, 2026 15:21
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>
…ake)

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

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Test Results

  125 files  ±0    125 suites  ±0   52s ⏱️ +12s
  855 tests ±0    854 ✅ ±0  1 💤 ±0  0 ❌ ±0 
1 192 runs  ±0  1 191 ✅ ±0  1 💤 ±0  0 ❌ ±0 

Results for commit 360c7f2. ± Comparison against base commit 330cbc2.

@lrathod
lrathod merged commit 64e8bc1 into main Sep 7, 2026
11 of 12 checks passed
@lrathod
lrathod deleted the CVE-2026-54515-jackson-databind branch September 7, 2026 08:47
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.

2 participants