{"answers":{"affected":"2 open source packages ship an affected version, including org.hibernate:hibernate-core.","exploited":"There is no known exploitation of CVE-2026-0603 in the wild and no public exploit code.","fix":"Upgrade org.hibernate:hibernate-core to 5.3.38 or later.","what":"CVE-2026-0603 is a high-severity SQL injection vulnerability in Red Hat RHEL-8 based Middleware Containers, published on 23 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-0603 and fix it if it is affected.\n\nWhat it is: CVE-2026-0603 is a high-severity SQL injection vulnerability in Red Hat RHEL-8 based Middleware Containers, published on 23 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-0603 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.hibernate:hibernate-core (Maven): affected from 5.2.8; fixed in 5.3.38\n- org.hibernate:hibernate-core (Maven): affected from 5.2.8; fixed in 5.3.38\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-0603/ (Markdown: https://insights.sbomify.com/CVE-2026-0603/index.md)","id":"CVE-2026-0603","markdown":"https://insights.sbomify.com/CVE-2026-0603/index.md","name":"CVE-2026-0603","record":{"aliases":["CLSA-2026-1769731733","CLSA-2026-1778892379","CLSA-2026-1779151631","CLSA-2026-1779238047","CLSA-2026-1783299710","CLSA-2026-1783386136","ECHO-c80f-4ef7-93ad","GHSA-2p5w-cvg5-gc5c","ROOT-APP-MAVEN-CVE-2026-0603"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"Hibernate ORM library","requires_auth":"low_privilege","summary":"A second-order SQL injection in Hibernate allows attackers to read sensitive data and delete database records when specific ID builders are used.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":8.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"A flaw was found in Hibernate. A remote attacker with low privileges could exploit a second-order SQL injection vulnerability by providing specially crafted, unsanitized non-alphanumeric characters in the ID column when the InlineIdsOrClauseBuilder is used. This could lead to sensitive information disclosure, such as reading system files, and allow for data manipulation or deletion within the application's database, resulting in an application level denial of service.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2026-04-23","github_poc":2,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-04-23T05:01:19Z","kind":"github_poc","ref":"https://github.com/EQSTLab/CVE-2026-0603","stars":1,"title":"Hibernate ORM Second-Order SQL Injection"},{"date":"2026-08-21T04:19:19Z","kind":"github_poc","ref":"https://github.com/yym8538/CVE-2026-0603","stars":1,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Org.hibernate/hibernate-core: hibernate: information disclosure and data deletion via second-order sql injection","id":"CVE-2026-0603","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"sql_injection","year":"2026"},"n_packages":2,"n_references":13,"next":{"headline":"FastDup \u003c= 2.7 - Authenticated (Contributor+) Path Traversal via 'dir_path' REST Parameter","id":"CVE-2026-0604"},"packages":[{"ecosystem":"Maven","fixed":["5.3.38"],"introduced":["5.2.8"],"last_affected":[],"package":"org.hibernate:hibernate-core","purl":null,"source":"GHSA-2p5w-cvg5-gc5c"},{"ecosystem":"Maven","fixed":["5.3.38"],"introduced":["5.2.8"],"last_affected":[],"package":"org.hibernate:hibernate-core","purl":"pkg:maven/org.hibernate/hibernate-core","source":"GHSA-2p5w-cvg5-gc5c"}],"prev":{"headline":"Authentication Bypass Using an Alternate Path or Channel in GitLab","id":"CVE-2026-0602"},"products":["RHEL-8 based Middleware Containers","Red Hat AMQ Broker 7","Red Hat Data Grid 8","Red Hat Fuse 7","Red Hat JBoss Enterprise Application Platform 7","Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7","Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7","Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 7","Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 8","Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 9","Red Hat JBoss Enterprise Application Platform 7.4.24","Red Hat JBoss Enterprise Application Platform 8","Red Hat JBoss Enterprise Application Platform Expansion Pack","Red Hat OpenShift AI (RHOAI)","Red Hat OpenShift Dev Spaces","Red Hat Process Automation 7","Red Hat Satellite 6","Red Hat Single Sign-On 7.6 for RHEL 7","Red Hat Single Sign-On 7.6 for RHEL 8","Red Hat Single Sign-On 7.6 for RHEL 9","Red Hat Single Sign-On 7.6.13","Red Hat build of OptaPlanner 8"],"published":"2026-01-23","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-06","vendors":["Red Hat"]},"summary":"A second-order SQL injection in Hibernate allows attackers to read sensitive data and delete database records when specific ID builders are used.","url":"https://insights.sbomify.com/CVE-2026-0603/"}