Bump jackson-databind to 2.18.9 (CVE-2026-54515) - #324
Open
lrathod wants to merge 2 commits into
Open
Conversation
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>
lrathod
requested review from
avinashkolluru,
kotharironak,
puneet-traceable,
skjindal93,
suddendust and
suresh-prakash
as code owners
September 4, 2026 09:51
Codecov Report✅ All modified and coverable lines are covered by tests. 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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…ake) Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Bumps
com.fasterxml.jackson.core:jackson-databindfrom 2.18.8 → 2.18.9 ingradle/libs.versions.toml.jackson-coreandjackson-annotationsalign 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@JsonIgnorePropertiesexclusions (producing a filteredBeanPropertyMap), 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 runtimeClasspath→jackson-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 passMade with Cursor