Repository navigation
Conversation
CVE-2026-93879 (SNYK-JAVA-ORGHIBERNATEVALIDATOR-20877468): EL injection via unescaped message parameters. The fix (HV-2256, 870485e384 'Escape message parameters by default') is contained in 8.0.6.Final; Snyk only lists 9.2.0.Beta1. 8.0.6.Final keeps jakarta.validation-api 3.0.2.
CVE-2026-85473 / GHSA-cg7w-5cc2-f2xm (SNYK-JAVA-COMAUTH0-20937619): out-of-range timestamp claims kill token-parsing threads; vulnerable [4.0.0,4.6.2). Bumps the root java-jwt.version and the SDK's jwt.version, and points the integration-tests literal at the shared property.
2 of 3 tasks
Code Review ✅ Approved🟡 Medium risk · Validator's new escaping and the java-jwt upgrade could change constraint-message rendering or token validation behavior, affecting clients that rely on prior semantics. Bumps VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
1 task done
Contributor
Author
|
Combined into #35291. |
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.
Describe your changes:
Two medium-severity security dependency bumps (combines #35497 into this PR):
org.hibernate.validator:hibernate-validator8.0.1.Final → 8.0.6.Final inopenmetadata-serviceandopenmetadata-k8s-operator.com.auth0:java-jwt4.4.0 → 4.6.2 in the rootpom.xml,openmetadata-sdk, andopenmetadata-integration-tests.Both were surfaced by the Collate security scan (
collate-server-dep-scan) on 2026-10-15. The OpenMetadata scanner did not flag them independently, because OSS Snyk runs at--severity-threshold=highand does not report mediums.1. hibernate-validator 8.0.1.Final → 8.0.6.Final
Advisory: CVE-2026-93879 /
SNYK-JAVA-ORGHIBERNATEVALIDATOR-20877468. Expression Language injection through unescaped message parameters (upstream HV-2256).Confirmed at 8.0.1.Final in
openmetadata-service/pom.xml:95andopenmetadata-k8s-operator/pom.xml:97.Why 8.0.6.Final and not 9.2.0.Beta1: Snyk lists only the 9.2 beta as a fix. The fix commit
870485e384("HV-2256 Escape message parameters by default") is an ancestor of the8.0.6.Finaltag: GitHub compare8.0.6.Final...870485e384returns ahead=0, behind=3. 9.x is a new major (Jakarta Validation 3.1 / EE 11) and has only beta releases. Snyk will probably keep flagging 8.0.6.Final until its advisory data lists the 8.0.x backport.What was verified
jakarta.validation-api3.0.2, the version Dropwizard 5 manages.mvn -o dependency:treeonopenmetadata-serviceand onopenmetadata-k8s-operatorresolveshibernate-validator:8.0.6.Finalwithjakarta.validation-api:3.0.2in both modules.OpenMetadataApplication:new ResourceBundleMessageInterpolator(new PlatformResourceBundleLocator(String)).javapagainst the 8.0.6.Final jar shows both constructors exist.2. java-jwt 4.4.0 → 4.6.2
Advisory: CVE-2026-85473 / GHSA-cg7w-5cc2-f2xm /
SNYK-JAVA-COMAUTH0-20937619. Timestamp claims outside the valid range kill token-parsing threads (DoS). Vulnerable range:[4.0.0,4.6.2). java-jwt parses bearer tokens on the authentication path.Manifests touched
pom.xml:java-jwt.version4.4.0 → 4.6.2.openmetadata-serviceuses this property.openmetadata-sdk/pom.xml:jwt.version4.4.0 → 4.6.2.openmetadata-integration-tests/pom.xml: the hardcoded4.4.0(test scope) now uses${java-jwt.version}, so it stays in step with the root property.What was verified
javap -publicoutput for every non-impl class in the 4.4.0 and 4.6.2 jars. Public members went from 200 to 209 and none were removed.jackson-databind2.22.3 at runtime, but OM's dependencyManagement pins 2.18.11 (confirmed withmvn -o -pl openmetadata-sdk dependency:tree). I extracted all 49 Jackson method references from the 4.6.2 bytecode and checked each against the 2.18.11 jars. All of them exist; three (MapperBuilder.build/configure,ObjectMapper.registerModule) are inherited methods.mvn -o -pl openmetadata-sdk compilepasses against 4.6.2. That compile includesJwtAuthProvider, which usesJWT,JWTCreatorandAlgorithm.What was NOT tested
openmetadata-service, and I ran no unit tests or ITs. A local offline compile failed on errors unrelated to this change: a stale localopenmetadata-specSNAPSHOT, and unshadedes.*packages that need apackagebuild first. None of the compile errors referencedcom.auth0ororg.hibernate.validator, but that does not prove the service compiles. CI will be the first full service compile.Type of change:
Checklist:
Fixes <issue-number>: <short explanation>(no linked Shipping issue yet; a maintainer needs to link one or applyskip-pr-checks)🤖 Generated with Claude Code