CVE-2026-83557

Source
https://cve.org/CVERecord?id=CVE-2026-83557
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-83557.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-83557
Aliases
  • GHSA-gx83-3vf8-gh7j
Downstream
Published
2026-09-01T14:57:01.340Z
Modified
2026-09-03T08:04:44.257085Z
Severity
  • 5.6 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
jackson-databind omits java.lang.Comparable from DefaultBaseTypeLimitingValidator's unsafe base types
Details

DefaultBaseTypeLimitingValidator is the PolymorphicTypeValidator applied automatically whenever @JsonTypeInfo is used without an explicitly configured custom validator. It denies polymorphic resolution only for a fixed set of "unsafe base types", and its isSafeSubType method returns true unconditionally for every base type outside that set. java.lang.Comparable was absent from the list despite being implemented by a very large fraction of JDK and application classes, comparable in breadth to java.io.Serializable, which is on the list for that reason. An application declaring an @JsonTypeInfo-annotated property or class with Comparable as its base type, and no custom PolymorphicTypeValidator, will accept a type identifier for essentially any class implementing Comparable. This yields an attacker-controlled object instantiation primitive; a demonstrated case constructs a java.io.File for an arbitrary attacker-chosen path, which becomes path-traversal-adjacent if the application subsequently calls path-sensitive methods on the value. No class implementing Comparable has been identified that yields code execution through deserialization alone. Global Default Typing via activateDefaultTyping is not affected, because that method structurally requires an explicit PolymorphicTypeValidator argument. This affects com.fasterxml.jackson.core:jackson-databind from 2.11.0 before 2.18.10, from 2.19.0 before 2.21.6, and from 2.22.0 before 2.22.2, and tools.jackson.core:jackson-databind from 3.0.0 before 3.1.6 and from 3.2.0 before 3.2.2. Users should upgrade to 2.18.10, 2.21.6, 2.22.2, 3.1.6, or 3.2.2.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/83xxx/CVE-2026-83557.json",
    "cna_assigner": "HeroDevs",
    "cwe_ids": [
        "CWE-502",
        "CWE-915"
    ]
}
References

Affected packages

Git / github.com/fasterxml/jackson-databind

Affected ranges

Type
GIT
Repo
https://github.com/fasterxml/jackson-databind
Events
Database specific
Show details
{
    "source": [
        "DESCRIPTION",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "2.11.0"
        },
        {
            "fixed": "2.18.10"
        },
        {
            "introduced": "2.19.0"
        },
        {
            "fixed": "2.21.6"
        },
        {
            "introduced": "2.22.0"
        },
        {
            "fixed": "2.22.2"
        },
        {
            "introduced": "3.0.0"
        },
        {
            "fixed": "3.1.6"
        },
        {
            "introduced": "3.2.0"
        },
        {
            "fixed": "3.2.2"
        }
    ]
}

Affected versions

jackson-databind-2.*
jackson-databind-2.11.0
jackson-databind-2.12.0
jackson-databind-2.12.0-rc1
jackson-databind-2.12.0-rc2
jackson-databind-2.12.1
jackson-databind-2.13.0
jackson-databind-2.13.0-rc1
jackson-databind-2.13.0-rc2
jackson-databind-2.14.0
jackson-databind-2.14.0-rc1
jackson-databind-2.14.0-rc2
jackson-databind-2.14.0-rc3
jackson-databind-2.15.0
jackson-databind-2.15.0-rc1
jackson-databind-2.15.0-rc2
jackson-databind-2.15.0-rc3
jackson-databind-2.16.0
jackson-databind-2.16.0-rc1
jackson-databind-2.17.0-rc1
jackson-databind-2.18.0
jackson-databind-2.18.0-rc1
jackson-databind-2.18.1
jackson-databind-2.18.2
jackson-databind-2.18.3
jackson-databind-2.18.4
jackson-databind-2.18.5
jackson-databind-2.18.6
jackson-databind-2.18.7
jackson-databind-2.18.8
jackson-databind-2.18.9
jackson-databind-2.19.0
jackson-databind-2.20.0
jackson-databind-2.20.0-rc1
jackson-databind-2.21.0
jackson-databind-2.21.1
jackson-databind-2.21.2
jackson-databind-2.21.3
jackson-databind-2.21.4
jackson-databind-2.21.5
jackson-databind-2.22.0
jackson-databind-2.22.1
jackson-databind-3.*
jackson-databind-3.0.0
jackson-databind-3.0.1
jackson-databind-3.1.0
jackson-databind-3.1.0-rc1
jackson-databind-3.1.1
jackson-databind-3.1.2
jackson-databind-3.1.3
jackson-databind-3.1.4
jackson-databind-3.1.5
jackson-databind-3.2.0
jackson-databind-3.2.1

Database specific

vanir_signatures
[
    {
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "48747810855981392888589206774945981978",
                "311326569960614028146896863233698647505",
                "325320870810198125802510081907268815726",
                "269779913132290511089057158463635843628",
                "292467887767398014998221997942678919251",
                "100147765800602833626123994246187479489",
                "295208224453174134138985523611711739640",
                "269133914106907294611951243312146287614",
                "155567889668623522524723283474815778667",
                "177593279084695614177999686786982437443",
                "142420570220445764261393719629683421725",
                "275989039254507286670514324791021962575"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-83557-7e92f3d8",
        "target": {
            "file": "src/test/java/com/fasterxml/jackson/databind/jsontype/vld/AnnotatedPolymorphicValidationTest.java"
        },
        "source": "https://github.com/fasterxml/jackson-databind/commit/eb3b7fc0f9c0d27f471550ac3316b17d1987388f",
        "signature_version": "v1"
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "220660320868388464454613944350947920994",
                "246439797439277494402151632525659413632",
                "112978252080281942315888118178201942610",
                "156090531111115014952375206012240159076",
                "12316670566510514723122205638582378353",
                "284768259444230837990489116876483527143",
                "151058133450464063674956949874149939294"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-83557-d5973680",
        "target": {
            "file": "src/main/java/com/fasterxml/jackson/databind/jsontype/DefaultBaseTypeLimitingValidator.java"
        },
        "source": "https://github.com/fasterxml/jackson-databind/commit/eb3b7fc0f9c0d27f471550ac3316b17d1987388f",
        "signature_version": "v1"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-83557.json"
vanir_signatures_modified
"2026-09-03T08:04:44Z"